getting a fatal relocation error while using a sudo command.

I am getting the following error while trying to execute a sudo command:

ld.so.1: sudo: fatal: relocation error: file /usr/local/bin/sudo: symbol closefrom: referenced symbol not found

the sudo version I use is: 1.6.8p9

the SUNWcsu package that contains the ld.so.1 library is version: 11.8.0,REV=2000.01.08.18.12

any ideas?

[355 byte] By [lupus.pilosusa] at [2007-11-27 6:26:12]
# 1
Did it ever work?Have you installed any patches lately?
robert.cohena at 2007-7-12 17:46:48 > top of Java-index,General,Maintenance...
# 2

I have installed a few patches prior to the first occurance of the problem, but none of them have anything tu do with neither sudo, nor the library.

As to whether it worked, I have no idea since I never used/needed it before.

I have found a bug ID for it, but no patch, or fix or work-around.

http://sunsolve.sun.com/search/document.do?assetkey=1-1-1182089-1&searchcla use=1182089

lupus.pilosusa at 2007-7-12 17:46:48 > top of Java-index,General,Maintenance...
# 3

I抦 getting something that may be related. On June 5 I ran 揢pdate Manager?and it put in:

120037-19

120223-17

119116-27

120536-15

119471-09

Now when I type in any ID from dtlogin the screen goes black for a moment, then comes back to the login screen, never giving the password prompt.

So I try a command-line login and get:

ld.so.1: login: fatal: relocation error: file /usr/lib/passwdutil.so.1: symbol __nsl_fgetspent_r: referenced symbol not found

I had to boot into Safe Mode to take these patches out. Unfortunately it didn抰 help any.

stevelitzkowa at 2007-7-12 17:46:48 > top of Java-index,General,Maintenance...
# 4

"Several occurances of using the SC3.0.1 compilation system have

resulted in ld.so.1 having other, non-relative, relocations."

This is what the smart link I posted earlier says.

I'm thinking installing a newer version of the packages that contain this library. But I don't know if that doesn't screw up something else, if I take packages from a newer release.

/etc/lib/ld.so.1 SUNWcsr

/usr/lib/ld.so.1 SUNWcsu

/usr/lib/sparcv9/ld.so.1 SUNWcsxu

lupus.pilosusa at 2007-7-12 17:46:48 > top of Java-index,General,Maintenance...
# 5
Mixing packages from different versions of solaris is extremely unlikely to work and just asking for trouble.Run a recent recommended patch set through and see if that fixes the problem..Another thing to try is recompiling the offending application.
robert.cohena at 2007-7-12 17:46:48 > top of Java-index,General,Maintenance...
# 6
just to add on - 1.6.8p9 is very old and has issuesdownload the latest (I know it's relative since the source for it was released in 2005) 1.6.8p12 from courtesan.com - build it with a nice known configuration file - and then install and run..
jeffrey.sa at 2007-7-12 17:46:48 > top of Java-index,General,Maintenance...