Em um AIX 5.3 instalei o curl de 7.27.0-1 a .rpm e, se tentar usá-lo emitindo um comando curl -V
, estou recebendo este erro:
Could not load program curl: Symbol resolution failed for /opt/freeware/lib/libssh2.a(libssh2.so.1) because:
Symbol strcmp (number 40) is not exported from dependent module /opt/freeware/lib/libcrypto.a(libcrypto.so.1.0.1).
Symbol memmove (number 55) is not exported from dependent module /opt/freeware/lib/libcrypto.a(libcrypto.so.1.0.1).
Symbol strncpy (number 64) is not exported from dependent module /opt/freeware/lib/libcrypto.a(libcrypto.so.1.0.1).
Symbol bcopy (number 109) is not exported from dependent module /opt/freeware/lib/libcrypto.a(libcrypto.so.1.0.1).
System error: Error 0 Examine .loader section symbols with the 'dump -Tv' command.
Qual poderia ser a causa desse erro, já que a libcrypto parece estar instalada corretamente?
Conforme solicitado por @Jeff Schaller, a saída do comando ldd / opt / freeware / bin / curl é:
/opt/freeware/bin/curl needs:
/usr/lib/libs.a(shr.o)
/usr/lib/libpthread.a(shr_comm.o)
/usr/lib/libpthread.a(shr_xpg5.o)
/opt/freeware/lib/libcurl.a(libcurl.so.4)
/opt/freeware/lib/libz.a(libz.so.1)
/unix
/usr/lib/libcrypt.a(shr.o)
/usr/lib/libc.a(shr.o)
/usr/lib/libpthreads.a(shr_comm.o)
/opt/freeware/lib/libidn.a(libidn.so.11)
/opt/freeware/lib/libcrypto.a(libcrypto.so.0.9.8)
/opt/freeware/lib/libssl.a(libssl.so.0.9.8)
/opt/freeware/lib/libldap.a(libldap-2.4.so.2)
/opt/freeware/lib/liblber.a(liblber-2.4.so.2)
/opt/freeware/lib/libssh2.a(libssh2.so.1)
/usr/lib/libc.a(shr_64.o)
/opt/freeware/lib/libiconv.a(libiconv.so.2)
/opt/freeware/lib/libintl.a(libintl.so.1)
/usr/lib/libpthreads.a(shr_xpg5_64.o)
/opt/freeware/lib/libcrypto.a(libcrypto.so.1.0.1)
/usr/lib/libcrypt.a(shr_64.o)
/opt/freeware/lib/libiconv.a(shr4.o)