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

Unable to find library 'libobk.sl'

Russ Park
Frequent Advisor

Unable to find library 'libobk.sl'

The following is from my DBA. I made a change to the system yesterday, but I don't believe it should have affected this. Here's what he writes:

Attempting to run the utility used to start the database:

/oracle/product/8.1.7/dbs% svrmgrl

Oracle Server Manager Release 3.1.7.0.0 - Production

Copyright (c) 1997, 1999, Oracle Corporation. All Rights Reserved.

/usr/lib/pa20_64/dld.sl: Unable to find library 'libobk.sl'.
/usr/lib/pa20_64/dld.sl: Unable to find library 'libobk.sl'.
ORA-12547: TNS:lost contact
SVRMGR>

5 REPLIES
Paul Sperry
Honored Contributor

Re: Unable to find library 'libobk.sl'

Jon Mattatall
Esteemed Contributor

Re: Unable to find library 'libobk.sl'

First, what was it that you did yesterday?

Second, does libobk.sl exist? Where?
As the Oracle user, what is the value of SHLIB_PATH?

Go to $ORACLE_HOME/bin and do an ldd /chatr on the oracle binary...

###:/u01/home/oracle/product/8.1.6/bin:0# ldd oracle
/usr/lib/libc.2 => /usr/lib/libc.2
/usr/lib/libdld.2 => /usr/lib/libdld.2
/usr/lib/libc.2 => /usr/lib/libc.2
/usr/lib/libm.2 => /usr/lib/libm.2
/usr/lib/libdld.2 => /usr/lib/libdld.2
/usr/lib/libnss_dns.1 => /usr/lib/libnss_dns.1
/usr/lib/libdld.2 => /usr/lib/libdld.2
/usr/lib/libc.2 => /usr/lib/libc.2
/usr/lib/libpthread.1 => /usr/lib/libpthread.1
/usr/lib/librt.2 => /usr/lib/librt.2
/u01/home/oracle/product/8.1.6/lib//libobk.sl => /u01/home/oracle/product/8.1.6/lib//libobk.sl
/usr/lib/libc.2 => /usr/lib/libc.2
/u01/home/oracle/product/8.1.6/lib//libjox8.sl => /u01/home/oracle/product/8.1.6/lib//libjox8.sl
###:/u01/home/oracle/product/8.1.6/bin:0# chatr oracle
oracle:
shared executable
shared library dynamic path search:
SHLIB_PATH enabled first
embedded path disabled second Not Defined
shared library list:
dynamic /u01/home/oracle/product/8.1.6/lib//libjox8.sl
dynamic /u01/home/oracle/product/8.1.6/lib//libobk.sl
dynamic /usr/lib/librt.2
dynamic /usr/lib/libpthread.1
dynamic /usr/lib/libnss_dns.1
dynamic /usr/lib/libdld.2
dynamic /usr/lib/libm.2
dynamic /usr/lib/libc.2
........

$SHLIB_PATH is typically $ORACLE_HOME/lib...
A little knowledge is dangerous - none is absolutely terrifying!!!
Russ Park
Frequent Advisor

Re: Unable to find library 'libobk.sl'

That link pointed us to the likely problem, which was noted at the end of the thread - I'd asked the dba to 'Uninstall' legato and he had done that to two systems. He had not noticed that the same problem is now on both systems WHICH points to the answer given as the likely fix. ONE PROBLEM, we need additional detail. The answer says,

the answer was like
" If you un-install Legato Networker from oracle, create a new link for library file like:
ln -s /xxxx/xxxx libobk.sl "

We do not know where to put the link.
Russ Park
Frequent Advisor

Re: Unable to find library 'libobk.sl'

Didn't notice the 2nd reply before I posted mine, so my last update applies to Paul S' answer.

In response to Jon, I had the same question, went to find the file in question, it was not on the box. My DBA had already decieded to just re-install oracle. It wouldn't complete the install due to another broken link, and he had to look this problem up in another oracle forum which pointed him to the problem. A link had been deleted and needed to be put back in place, then the install completed.

Once the install was complete, our initial problem disappeared. SO, I have one of two boxes fixed, but now Legato is running again.

So the new question is, under oracle 8.1.7, what is the best method of removing that component and still leaving oracle in tact? I'd like to avoid having my DBA reverse his work on my other box, so would it work to just move that one file back into the .../lib64 directory or where ever it belongs or is there another way?

Thanks,
Russ
Brian Crabtree
Honored Contributor

Re: Unable to find library 'libobk.sl'

The best way to fix this is to symlink libobk.sl back to libdsbtsh8.sl in the lib and lib64 directories.

Brian