Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

symbol not found:get_install_root

Status
Not open for further replies.

mahua

Technical User
Oct 9, 2003
6
US
I am getting this error message whenever I am trying to add any package in Sol 8.

It is giving the error:

ld.so.1:/usr/sadm/install/bin/pkginstall:relocation error:
 
ldd -r /usr/sadm/install/bin/pkginstall
libadm.so.1 => /usr/lib/libadm.so.1
libnsl.so.1 => /usr/lib/libnsl.so.1
libsocket.so.1 => /usr/lib/libsocket.so.1
libc.so.1 => /usr/lib/libc.so.1
libelf.so.1 => /usr/lib/libelf.so.1
libdl.so.1 => /usr/lib/libdl.so.1
libmp.so.2 => /usr/lib/libmp.so.2
/usr/platform/SUNW,Ultra-Enterprise/lib/libc_psr.so.1
symbol not found: get_install_root (/usr/sadm/install/bin/p
pkginstall)

Is there a solution without re-installing the system ?
 
Strange...

How about ls -l /usr/sadm/install/bin/pkginstall $(ldd -r /usr/sadm/install/bin/pkginstall | nawk '{print $NF}')[b/].

What revision of patch 110934 do you have installed?

Annihilannic.
 
the server is running 108528-16 kernel patch

THe other command is not running...some syntax errrors
 
Sorry, I messed up my bolding...

[tt]ls -l /usr/sadm/install/bin/pkginstall `ldd
-r /usr/sadm/install/bin/pkginstall | nawk '{print $NF}'`[/tt]

(that should all be on one line, by the way...)

Annihilannic.
 
# ls -l /usr/sadm/install/bin/pkginstall `ldd -r /usr/sadm/install/bin/pkginstal
l | nawk '{print $NF}'`
(/usr/sadm/install/bin/pkginstall): No such file or directory
-rwxr-xr-x 1 root bin 137564 May 24 2001 /usr/lib/libadm.so.1
-rwxr-xr-x 1 root bin 1132064 Oct 10 03:49 /usr/lib/libc.so.1
-rwxr-xr-x 1 root bin 4628 Aug 31 2001 /usr/lib/libdl.so.1
-rwxr-xr-x 1 root bin 157032 Aug 31 2001 /usr/lib/libelf.so.1
-rwxr-xr-x 1 root bin 24968 Jan 5 2000 /usr/lib/libmp.so.2
-rwxr-xr-x 1 root bin 894212 Nov 30 2001 /usr/lib/libnsl.so.1
-rwxr-xr-x 1 root bin 70864 Nov 2 2001 /usr/lib/libsocket.so.1
lrwxrwxrwx 1 root root 29 Sep 23 2002 /usr/platform/SUNW,Ultra-E
nterprise/lib/libc_psr.so.1 -> ../../sun4u/lib/libc_psr.so.1
-r-xr-xr-x 1 root sys 190300 Oct 30 2002 /usr/sadm/install/bin/pkgi
nstall
#
 
Well, they all look about the right sizes... I notice libc.so.1 was modified very recently though? Any idea why? Have you applied any patches?

Do you have a copy on backup somewhere that you can compare it with?

Annihilannic.
 
Not installed any patches...for this problem I tried to copy libc.so.1 from another solaris 2.8 machine...however I did not do that..I restored the original libc.so.1 from the copy.

Shall I try to copy libc.so.1 from another m/c & replace this one.I found that the size varies.



 
You could try it, but it could be risky as nearly everything uses libc. I guess you don't have a backup then?

If you are replacing it you might need to boot from CD-ROM to do it properly.

Maybe you should just try installing the latest set of 8_Recommended patches (which will almost certainly update libc). This may also fail if patchadd is failing with the same error...

Annihilannic.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top