General
cancel
Showing results for 
Search instead for 
Did you mean: 

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
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.
newbie2
Occasional Advisor

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

>how to get into single user mode?

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

newbie2: the existing login session was inactive. now i'm unable to login thru any id as it was complainig with the following error msg : Server refused to allocate pty.
i'm even couldnt login from console.

question : can i get into single user mode by hard reboot? i have root user id with me.
appreciate you can provide guidance to get into single user mode.thx.
Dennis Handly
Acclaimed Contributor
Solution

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

newbie2
Occasional Advisor

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

What does this mean? You didn't fix the problem right away with /sbin/mv?

i did try but unable.

question :

1.will there be any risk to boot to single user mode?
2. without /usr/lib/hpux32, the server still can be reboot?


Dennis Handly
Acclaimed Contributor

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

>I did try but unable.

You might explain more.

>1. will there be any risk to boot to single user mode?

There is always a risk but as soon as you moved /usr/lib/hpux32, you trashed your system. And the first step should have been /sbin/mv to move it back.

>2. without /usr/lib/hpux32, the server still can be reboot?

It should be able to put in single user mode.
newbie2
Occasional Advisor

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

The issue has solved.

Steps were performed :

-reboot to the single user mode
-mount /usr
-mv /usr/lib/hpux32.bck /usr/lib/hpux32

Thanks all for the guidance.
newbie2
Occasional Advisor

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

Issue has been solved. TQ :)
Dennis Handly
Acclaimed Contributor

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

>Issue has been solved.

Please read the following about reopening threads and assigning points:
http://forums.itrc.hp.com/service/forums/helptips.do?#41
http://forums.itrc.hp.com/service/forums/helptips.do?#33