Re: Why LD_LIBRARY_PATH not effects in HP-UX 10.20?
Posted in 1998
Hi, I think you should try SHLIB_PATH environment variable. Dirk Ruiming Chen schrieb: > I compiled my *.java program in HP-UX 10.20 without any error > message. But when I run the program with > > java MyClass > > I got he java.lang.UnsatisfiedLinkError when I run my Java program > containing Native Method invocations > > Well, according to FAQ, that means it can't find a shared library *.sl > file. > > In Solaris, if the shared library *.so files are not in /usr/lib and > /usr/lib/X11, > then all I need to do is set the LD_LIBRARY_PATH environment variable. > But this seems has no effect in HP-UX! > My experiences in C/C++, during the compiling time, it requires to use > -Lpath -lshared_lib options in cc or gcc. But javac does not have these > kind of options! > > Then, what is the solution? > > BTW, I am used HP version of JDK 1.1.3 and the shared library is > libIfmxLibmiNatives.sl from Informix Dynamic Server 7.3 JDBC driver. > > Thank you in advance if you have solution for me! > > -- > RC Square Team. > > ------------------------------------------------------------------------ > > Raymond/Ruiming Chui /Chen <rctwo@erols.com> > CS > RC Square > > Raymond/Ruiming Chui /Chen > CS <rctwo@erols.com> > RC Square HTML-Mail > U.S.A. Gesch'ft: 301-498-8959 > Fax: 301-498-8959 > Privat: URL http://www.erols.com/rctwo/ > Netscape Conference-Adresse > DLS-Server von Netscape Conference > Raymond Chui & Ruiming Chen Company > Weitere Informationen: > NachnameChui /Chen > Vorname Raymond/Ruiming > Version 2.1