Unable to ssh out

As the title says, I'm unable to ssh out of boxA to other nodes on the network. I am running 5.2 ML6. The version of ssh client is:

openssh.base.client 4.1.0.5301 COMMITTED Open Secure Shell Commands

The program installed okay with no errors.

When I try to ssh to another node on the network, I get the following error:

 > ssh somehost
exec(): 0509-036 Cannot load program ssh because of the following errors:
        0509-130 Symbol resolution failed for ssh because:
        0509-136   Symbol __fd_select (number 73) is not exported from
                   dependent module /usr/lib/libc.a(shr.o).
        0509-192 Examine .loader section symbols with the
                 'dump -Tv' command.

I have reinstalled openssh but get the same problem. Anybody have any ideas as to what's going on with this?

Thanks,

outta

The installation goes fine without any of these errors ?. In that case , you may be executing another command or an alias set up as ssh.

Check alias
which ssh # And make sure that the it is /usr/bin/ssh

lslpp -f openssh.base.client will tell you exactly where the ssh executable is.

Regards,

Kaps

It is /usr/bin/ssh that it's using.

outta

Fair warning: I am not an AIX expert, but I am seing a pattern here. We have had similiar complaints before: unresolved symbol on AIX 5.2 and I have seen this kind of complaint on other sites. Everyone who has the complaint is running 5.2 and very often someone explicitly mentions that they are trying a 5.3 executable on a 5.2 box. So my number one guess is that you are trying to run a 5.3 version of openssh.

Here is a post where someone is trying to pursue a different line of reasoning: time.h, _MSGQSUPPORT, and select

Yes, you are running a diffrent version than what I use on my AIX machine [ 5.2 ML 8 ]

Please note that it is 4.1.0.5200 ! whereas you have 5300

lslpp -l openssh.base.client
Fileset Level State Description
----------------------------------------------------------------------------
Path: /usr/lib/objrepos
openssh.base.client 4.1.0.5200 COMMITTED Open Secure Shell Commands

Path: /etc/objrepos
openssh.base.client 4.1.0.5200 COMMITTED Open Secure Shell Commands

maybe this can help...

http://sourceforge.net/project/showfiles.php?group\_id=127997&package_id=140133

Perhaps you should first uninstall the committed version of openssh (with installp -u)

grtz

This error message tells that your binary was compiled and linked on another operating system level. Shared library /usr/lib/libc.a(shr.o) has been chaged by having new funtions. That's exporteed function is not exported on your host.
You should get a newer compilation or compile it for yourself.

I've got that error when try to execute a binary on AIX433 being compiled on AIX53. The linker makes my code remember what functions are exported by compile time on 5.3 and makes a compare when execute to the current exports on 4.33 even I do not use those functions.

My error is:
Could not load program /remote/dmsrv2/rpm/makki/atlantis-ivt:
Symbol resolution failed for atlantis-ivt because:
Symbol ___memset (number 57) is not exported from dependent
module /usr/lib/libc.a(shr.o).
Symbol ___memmove (number 58) is not exported from dependent
module /usr/lib/libc.a(shr.o).
Symbol ___fill (number 59) is not exported from dependent
module /usr/lib/libc.a(shr.o).
Symbol __fd_select (number 124) is not exported from dependent
module /usr/lib/libc.a(shr.o).
Examine .loader section symbols with the 'dump -Tv' command.

It has right, running 'dump -Tv /usr/lib/libc.a' shows those functions are exported on AIX 5.2 but are missing on AIX433.