rschubnell at paninfo.com
2005-Feb-25 10:56 UTC
ssh client Symbol getpeereid (number 34) is not exported from dependent module /usr/lib/libc.a(shr.o).
Hello I've Compiled openssh 3.9.p1 on AIX 5.2: <source Dir>/contrib/findssl.sh Searching for OpenSSL header files. 0x009060dfL /opt/freeware/include/openssl/opensslv.h Searching for OpenSSL shared library files. Searching for OpenSSL static library files. 0x009060dfL /opt/freeware/lib/libcrypto.a 0x009060dfL /opt/freeware/64/lib/libcrypto.a 0x009060dfL /usr/local/lib/libcrypto.a 0x009060dfL /usr/linux/lib/libcrypto.a blibpath=/usr/lib:/lib:/usr/local/lib:/opt/freeware/lib export blibpath ./configure --with-ssl-dir=/opt/freeware --sysconfdir=/etc/ssh \ --with-zlib=/usr/local --with-ipaddr-display On the same Machine my ssh client works. If i transfer the bynaries to another Machine ( same openssl Version ) then i have the following Error: # ssh exec(): 0509-036 Cannot load program ssh because of the following errors: 0509-130 Symbol resolution failed for ssh because: 0509-136 Symbol getpeereid (number 34) is not exported from dependent module /usr/lib/libc.a(shr.o). 0509-192 Examine .loader section symbols with the 'dump -Tv' command. Can anybody help me ? Kind Regards Reto ------------------------------------------------------------------------------------------------------------------ Reto Schubnell System Engineer AIX / Linux PANINFO AG Br?ttisellen Tel. +41 (0)44 805 14 49 Nat. +41 (0)79 403 06 30 http://www.paninfo.com ------------------------------------------------------------------------------------------------------------------
Darren Tucker
2005-Feb-25 12:33 UTC
ssh client Symbol getpeereid (number 34) is not exported from dependent module /usr/lib/libc.a(shr.o).
rschubnell at paninfo.com wrote:> I've Compiled openssh 3.9.p1 on AIX 5.2:[...]> On the same Machine my ssh client works. > If i transfer the bynaries to another Machine ( same openssl Version ) then > i have the following Error: > > # ssh > exec(): 0509-036 Cannot load program ssh because of the following errors: > 0509-130 Symbol resolution failed for ssh because: > 0509-136 Symbol getpeereid (number 34) is not exported fromYou have probably compiled OpenSSH on a newer version of AIX (either major release or maintenance level) than the machine you're trying to run it on. In general, AIX is forward but not backward compatible so you should compile on the oldest version (including ML) you plan to support. (I believe this applies to all binaries not just OpenSSH.) To get around this particular problem, you can edit config.h and comment out the line "#define HAVE_GETPEEREID 1" (after running configure but before running make) and rebuilding. It's possible you might see similar problems with other functions, though. -- Darren Tucker (dtucker at zip.com.au) GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69 Good judgement comes with experience. Unfortunately, the experience usually comes from bad judgement.
Seemingly Similar Threads
- Openssh AIX 5.2 Symbol getpeereid (number 34) is not exported
- Problems to compile openssh 3.9.pm1 on AIX 5.2 with openssl-devel-0.9.6m-1 / OpenSSL Header Error
- Configure Problems with OpenSSH AIX 5.2 and openssl-devel-0.9.6m-1
- Antwort: Re: ssh client Symbol getpeereid (number 34) is not exported from dependent module /usr/lib/libc.a(shr.o).
- OpenSSL Installation Problem after Migration AIX 4.3.3 to AIX 5.2