Shared Objects

My application depends on the following shared objects:

libthread.so.1

libnsl.so.1

libodbcinst.so

These shared objects are latest in the development environment.

But they are old in the production server.

Where can I get the latest shared objects ( mentioned above ) .......which patches need to be installed ?

Thank you so much,

Ramesh.

[393 byte] By [RameshACSTSa] at [2007-11-27 2:12:38]
# 1

First of all, I'd recommend to use smpatch utility to update your system. It is available "out of the box" on Solaris 10 and can be installed on Solaris 8 and 9 separately.

If you don't use smpatch, here are some tips for manual patching process:

I can only tell you about first two - libthread and libnsl. They both belong to the same package, SUNWcsl:

$ pkgchk -l -p /usr/lib/libthread.so

...

Referenced by the following packages:

SUNWcsl

$ pkgchk -l -p /usr/lib/libnsl.so.1

...

Referenced by the following packages:

SUNWcsl

Current status: installed

Now, to find out which patches are required, use 'showrev -p' command:

$ showrev -p | grep SUNWcsl

Next thing you do is search sunsolve.sun.com for latest versions of patches mentioned by showrev, download them and install with 'patchadd' command. This is rather painful process, so again, I recommend to use 'smpatch'.

MaximKartasheva at 2007-7-12 2:07:13 > top of Java-index,Development Tools,Solaris and Linux Development Tools...
# 2

Hi

http://developers.sun.com/sunstudio/downloads/patches/ss11_patches.html

Shows the patches by OS. I guess you don't really need the assembler/make patches.

Otherwise, go to sunsolve.sun.com, click on 'Patches and Updates' on the right, then enter the name of the file in the PatchFinder. I'm not sure if this is available without a support contract.

Paul

Paul_Floyda at 2007-7-12 2:07:13 > top of Java-index,Development Tools,Solaris and Linux Development Tools...
# 3

Hi

> Now, to find out which patches are required, use

> 'showrev -p' command:

> $ showrev -p | grep SUNWcsl

I don't think that this will work with FCS OS versions. showrev -p shows patches that are already installed, if there are none it won't find any!

If the OP runs this command on their development machine (which seems to be already patched) then it shoudl work OK.

Paul

Paul_Floyda at 2007-7-12 2:07:13 > top of Java-index,Development Tools,Solaris and Linux Development Tools...