Operating System - HP-UX
1753263 Members
4954 Online
108792 Solutions
New Discussion

Re: interpreter "/usr/lib/hpux32/uld.so" not found

 
SOLVED
Go to solution
newbie2
Occasional Advisor

interpreter "/usr/lib/hpux32/uld.so" not found

I'm new to HP unix
I have renamed /usr/lib/hpux32 to hpux32.bck

this action has caused all the commands (e.g. ls, mv, cp etc) couldnt be used.

I have tried to rename hpux32.bck back to the original name but fail with the following error:

interpreter "/usr/lib/hpux32/uld.so" not found
exec(2): could not load a.out

i even couldn't ftp or rcp.
I also couldnt telnet a new session.

Question:
any idea i can rename the hpux32.bck to hpux32?

Thanks in advance.

16 REPLIES 16
Steven E. Protter
Exalted Contributor

Re: interpreter "/usr/lib/hpux32/uld.so" not found

Shalom,

Change the SHLIB_PATH to reflect the name change to hpux32.bck

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
newbie2
Occasional Advisor

Re: interpreter "/usr/lib/hpux32/uld.so" not found

I have tried to export SHLIB_PATH=/usr/lib/hpux32.bck but it was not working also.
Robert-Jan Goossens_1
Honored Contributor

Re: interpreter "/usr/lib/hpux32/uld.so" not found

Hi,

Try

# /sbin/mv /usr/lib/hpux32.bck /usr/lib/hpux32

Regards,
Robert-Jan
newbie2
Occasional Advisor

Re: interpreter "/usr/lib/hpux32/uld.so" not found

I have tried /sbin/mv but it was not working.

I have one more question. How to telnet a new session? as the current telnet session has been inactive. I have encoutered error when trying telnet new session.
OldSchool
Honored Contributor

Re: interpreter "/usr/lib/hpux32/uld.so" not found

you might be able to fix this in maintenance mode...requires reboot do switch it. you'll need console access.

then activate vg00 and mount the filesystems. then us /sbin/mv to fix it.

what ever posessed you to move it in the first place?
newbie2
Occasional Advisor

Re: interpreter "/usr/lib/hpux32/uld.so" not found

how to switch to maintenace mode?
Dennis Handly
Acclaimed Contributor

Re: interpreter "/usr/lib/hpux32/uld.so" not found

As OldSchool asked, what were you trying to do with /usr/lib/hpux32?

>I have tried /sbin/mv but it was not working.

Please explain why? It should be impossible for it to fail.

>How to telnet a new session?

You can't do anything with that system until you get /usr/lib/hpux32 back.

>how to switch to maintenance mode?

You need to get into single user mode and mount /usr/lib, then do /sbin/mv.

If you are still logged on as root, you should do it now.

>SEP: Change the SHLIB_PATH to reflect the name change to hpux32.bck

It does no good to set SHLIB_PATH if you can't run uld.so and dld.so to even see that variable.
newbie2
Occasional Advisor

Re: interpreter "/usr/lib/hpux32/uld.so" not found

As OldSchool asked, what were you trying to do with /usr/lib/hpux32?

Newbie2 : there are quite a number of OS library files were missing. I â m trying to copy the library files from other server with the same OS version. Before copy I backup the library folder by renaming the folder to hpux32.bck.


>I have tried /sbin/mv but it was not working.

Please explain why? It should be impossible for it to fail.
Newbie : it was complaining interpreter "/usr/lib/hpux32/uld.so" not found.

>How to telnet a new session?

You can't do anything with that system until you get /usr/lib/hpux32 back.

>how to switch to maintenance mode?

You need to get into single user mode and mount /usr/lib, then do /sbin/mv.
Newbie : how to get into single user mode? Appreciate you can provide the steps. Thx.
Will there be any risk to get into single user mode?

If you are still logged on as root, you should do it now.

>SEP: Change the SHLIB_PATH to reflect the name change to hpux32.bck
Newbie : I have export SHLIB_PATH=/usr/lib/hpux32.bck but it was not working.

It does no good to set SHLIB_PATH if you can't run uld.so and dld.so to even see that variable.
Dennis Handly
Acclaimed Contributor

Re: interpreter "/usr/lib/hpux32/uld.so" not found

>it was complaining interpreter "/usr/lib/hpux32/uld.so" not found.

It is impossible to get this error if you use /sbin/mv instead of /usr/bin/mv.

See the differences:
-r-xr-xr-x 638124 Mar 26 2004 /sbin/mv
-r-xr-xr-x 162716 Mar 26 2004 /usr/bin/mv

>how to get into single user mode?

You have to reboot. Are you still logged on as root?

>I have export SHLIB_PATH but it was not working.

Of course and I explained why it wouldn't work.