-
Bug
-
Resolution: Not A Defect
-
Blocker
-
None
-
Jenkins 1.477
When i make a task that is to be run on AIX 5.3 (or 6.1) by means on ssh slave, it gets /usr/lib added to the LIBPATH envvar.
This hinders the normal site's configuration as different versions of libs are installed in different places.
Eg. ldd output for ordinary login:
/usr/bin/wget needs:
/usr/lib/threads/libc.a(shr.o)
/usr/lib/libpthreads.a(shr_comm.o)
/usr/lib/libpthreads.a(shr_xpg5.o)
/opt/freeware/lib/libintl.a(libintl.so.1)
/opt/freeware/lib/libiconv.a(libiconv.so.2)
/opt/freeware/lib/libidn.a(libidn.so.11)
/opt/freeware/lib/libssl.so
/opt/freeware/lib/libcrypto.so
/unix
/usr/lib/libcrypt.a(shr.o)
/opt/freeware/lib/libiconv.a(shr4.o)
/opt/freeware/lib/libcrypto.a(libcrypto.so.1.0.1)
/usr/lib/threads/libc.a(shr_64.o)
/usr/lib/libpthreads.a(shr_xpg5_64.o)
/usr/lib/libcrypt.a(shr_64.o)
And the output of the task:
+ env
+ grep LIBPATH
LIBPATH=/usr/java6_64/jre/lib/ppc64/j9vm:/usr/java6_64/jre/lib/ppc64:/usr/java6_64/jre/../lib/ppc64:/usr/lib
+ ldd /usr/bin/wget
/usr/bin/wget needs:
/usr/lib/libc.a(shr.o)
/usr/lib/libpthreads.a(shr_comm.o)
/usr/lib/libpthreads.a(shr_xpg5.o)
/opt/freeware/lib/libintl.a(libintl.so.1)
/usr/lib/libiconv.a(libiconv.so.2)
/usr/lib/libidn.a(libidn.so.11)
/opt/freeware/lib/libssl.so
/opt/freeware/lib/libcrypto.so
/unix
/usr/lib/libcrypt.a(shr.o)
/usr/lib/libiconv.a(shr4.o)
/usr/lib/libintl.a(libintl.so.1)
/usr/lib/libcrypto.a(libcrypto.so.1.0.1)
ar: 0707-109 Member name libcrypto.so.1.0.1 does not exist.
dump: /tmp/tmpdir852142/extract/libcrypto.so.1.0.1: 0654-106 Cannot open the specified file.
+ wget http://www.ya.ru
exec(): 0509-036 Cannot load program wget because of the following errors:
0509-022 Cannot load module /opt/freeware/lib/libssl.so.
0509-150 Dependent module /usr/lib/libcrypto.a(libcrypto.so.1.0.1) could not be loaded.
0509-152 Member libcrypto.so.1.0.1 is not found in archive
0509-022 Cannot load module wget.
0509-150 Dependent module /opt/freeware/lib/libssl.so could not be loaded.
0509-022 Cannot load module .
- is related to
-
JENKINS-15655 Bad $PATH variable on AIX
-
- Resolved
-