Operating System - HP-UX
1752354 Members
6567 Online
108787 Solutions
New Discussion

Re: Unable to find library 'libace.so'.

 
dictum9
Super Advisor

Unable to find library 'libace.so'.

 

11.31

I added the path to the library to the $PATH variable, to no avail, still getting the same error:

 

weblogic:/appl/staging #
> java -d64 -jar wls1035_upgrade_generic.jar -log=/appl/weblogic/wlsinstall_1035.log - Djava.io.tmpdir=/appl/staging
/usr/lib/hpux64/dld.so: Unable to find library 'libace.so'.
Killed

 

# This is where the library is located:

-rwxr-xr-x   1 edifecs    app        9847752 Mar 26 16:00 /appl/edifecs/XEngine/bin/libace.so
-rwxr-xr-x   1 edifecs    app        9847752 Jun  8 10:47 /appl/edifecs.preDROP6/XEngine/bin/libace.so

 

 

4 REPLIES 4
Patrick Wallek
Honored Contributor

Re: Unable to find library 'libace.so'.

Check SHLIB_PATH and/or LD_LIBRARY_PATH

Dennis Handly
Acclaimed Contributor

Re: Unable to find library 'libace.so'.

>I added the path to the library to the $PATH variable,

 

$PATH is only for looking up commands and sourcing files, not shlibs.  As Patrick said, you should be using LD_LIBRARY_PATH.

Viktor Balogh
Honored Contributor

Re: Unable to find library 'libace.so'.

> Check SHLIB_PATH and/or LD_LIBRARY_PATH

 

it depends on the "bitness" of the application:

 

For 32 bit apps, set the environment variable SHLIB_PATH

For 64 bit apps, set the environment variable LD_LIBRARY_PATH

****
Unix operates with beer.
Dennis Handly
Acclaimed Contributor

Re: Unable to find library 'libace.so'.

>it depends on the "bitness" of the application:

 

Not really.  If you aren't using Aries on Integrity, LD_LIBRARY_PATH will work.