Cannot find or open library file: -l java

classic Classic list List threaded Threaded
3 messages Options
big
Reply | Threaded
Open this post in threaded view
|

Cannot find or open library file: -l java

big
Hi,
On 11.2.0.4 on AIX

When , on ORACLE_HOME, I run

./relink all

I have the following errors:

ld: 0706-006 Cannot find or open library file: -l java
ld: 0706-006 Cannot find or open library file: -l jvm

I have already done:
export LIBPATH=/usr/lpp/xlC/lib:$LIBPATH
export JAVA_HOME=/u01/product/oracle/distrib/ora11204/0116/db_1/appsutil/jre
export PATH=/u01/product/oracle/distrib/ora11204/0116/db_1/appsutil/jre/bin/java:$PATH
export LIBPATH=/u01/product/oracle/distrib/ora11204/0116/db_1/appsutil/jre/lib:$LIBPATH
And the files are present in these folders.
But problem persists.
Thanks for help.
Reply | Threaded
Open this post in threaded view
|

Re: Cannot find or open library file: -l java

ErmanArslansOracleBlog
Administrator
Check JRE_LIB_DIR in The  "$ORACLE_HOME/sysman/lib/env_sysman.mk" and ensure it is set correctly.
If it is not set to a correct location, then update the file manually and retry.
big
Reply | Threaded
Open this post in threaded view
|

Re: Cannot find or open library file: -l java

big
Thank you.

I modified that file and it worked.

Regards.