
Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [tlug] Undefined symbols in shared libraries
>>>>> "ASZ" == A Sajjad Zaidi <sajjad@example.com> writes:
>> It's because you are specifying the libpath with -l, but the
>> linker doesn't know about it when the code is called through
>> java. Edit ld.so.conf and rerun ldconfig. Or try setting
>> LD_LIBRARY_PATH
ASZ> Tried both of these, as well as specifying all the paths to
ASZ> Tomcat at startup with
ASZ> '-Djava.library.path=/xxxx:/xxxx/xxxx', but with the same
ASZ> error.
My old java book as well as a google search
(http://www.hummingbird.com/support/nc/jump/ju2000004.html) suggest
that setting LD_LIBRARY_PATH should do it as Java VM uses it to find
the native shared libs to load. Weird.
Viktor
Home |
Main Index |
Thread Index