Operating System - HP-UX
1834089 Members
2685 Online
110063 Solutions
New Discussion

/usr/lib/dld.sl: Invalid shared library file /usr/lib/libcl.2

 
salvatore spinella
Occasional Advisor

/usr/lib/dld.sl: Invalid shared library file /usr/lib/libcl.2

In HP-UX 11.00 PARISC 32 bit (with installed oracle 8.1.7.0) from user root at commnad 'ldd' and from user oracle at command 'sqlplus', i have the error:
"/usr/lib/dld.sl: Invalid shared library file /usr/lib/libcl.2
/usr/lib/dld.sl: No such device or adresse".

Why?
10 REPLIES 10
Navin Bhat_2
Trusted Contributor

Re: /usr/lib/dld.sl: Invalid shared library file /usr/lib/libcl.2

What is your s700_800 11.00 ld(1) and linker tools cumulative patch ?
Navin Bhat_2
Trusted Contributor

Re: /usr/lib/dld.sl: Invalid shared library file /usr/lib/libcl.2

I would suggest you re-compile/re-link your sqlplus binary too.
Steven E. Protter
Exalted Contributor

Re: /usr/lib/dld.sl: Invalid shared library file /usr/lib/libcl.2

These problems are often caused by missing or incorrect environment.

check the variable SHLIB_PATH

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
Navin Bhat_2
Trusted Contributor

Re: /usr/lib/dld.sl: Invalid shared library file /usr/lib/libcl.2

Can you also post the output of

ll /usr/lib/libcl.2

chatr /usr/lib/dld.sl
Andreas Barth_1
Occasional Advisor

Re: /usr/lib/dld.sl: Invalid shared library file /usr/lib/libcl.2

Hi, i got nearly the same errore message some days ago.

Try this:

You need the directory /oracle/client/81x_32 (please don`t replace the "x", it is really the right syntax)

Then link your oracle_home to /oracle/client/81x_64/lib:

ln -s $ORACLE_HOME/lib64 /oracle/client/81x_64/lib.

Hope this helps.

kind regards

Andy
Damiano Angelo
Occasional Advisor

Re: /usr/lib/dld.sl: Invalid shared library file /usr/lib/libcl.2

Hi,
from the swlist command i have
PHSS_19866 1.0 ld(1) and linker tools cumulative patch
PHSS_22514 1.0 ld(1) and linker tools cumulative patch

the output of "ll /usr/lib/libcl.2" is
-r-xr-xr-x 1 bin bin 1236992 Mar 28 2001 /usr/lib/libcl.2

and from "chatr /usr/lib/dld.sl"
/usr/lib/dld.sl: Invalid shared library file: /usr/lib/libcl.2
/usr/lib/dld.sl: No such device or address
Abort(coredump)

note: the dir /oracle/client/81x_32 doesn't exist under /oracle dir. Maybe means that the client sw isn't installed.

appreciate any help, thanks.
salvatore spinella
Occasional Advisor

Re: /usr/lib/dld.sl: Invalid shared library file /usr/lib/libcl.2

Sorry, I posted previous msg with my colleague's login. Sorry.
ranganath ramachandra
Esteemed Contributor

Re: /usr/lib/dld.sl: Invalid shared library file /usr/lib/libcl.2

i think you need to install the aCC runtime patches to get libcl.2, i guess the latest is PHSS_28880.
 
--
ranga
hp-ux 11i v3[i work for hpe]

Accept or Kudo

salvatore spinella
Occasional Advisor

Re: /usr/lib/dld.sl: Invalid shared library file /usr/lib/libcl.2

The patch PHSS_28880 is for HPux 11.11. So
we are trying to install patch PHCO_28425 that is for HPux 11.00 but we receive the same error during install process.
The following text is the output of swinstall:


NOTE: The command "/usr/ccs/bin/ar" was terminated by signal "6".
The following is the output from the command:
/usr/lib/dld.sl: Invalid shared library file: /usr/lib/libcl.2
/usr/lib/dld.sl: No such device or address
NOTE: End of command output. Non-zero exit status may or may not be
a failure. Look for additional messages.
ERROR: Internal error. call to ar() This error occurred in function
"IDAM_CollectiveLibraryUpdate", source file "id.c", line
11688. Please give this information to your Hewlett-Packard
support contact.
ERROR: Failed installing fileset "PHKL_28766.CORE2-KRN,r=1.0". Check
the above output for details.
NOTE: The Install Phase has suspended. Check the above output for
reasons.
* Aborting the Install Phase.

any suggestion ?
Thanks
ranganath ramachandra
Esteemed Contributor

Re: /usr/lib/dld.sl: Invalid shared library file /usr/lib/libcl.2

the error message you posted indicates that you are installing something else - a kernel patch (PHKL_28766) , not the aCC runtime patch. i dont think the aCC runtime patch needs ar to install. can you please try installing only the aCC runtime patch separately ?
 
--
ranga
hp-ux 11i v3[i work for hpe]

Accept or Kudo