Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » I'm trying to use the ibmaio package and I can't seem to tell eclipse about the .so file.
I'm trying to use the ibmaio package and I can't seem to tell eclipse about the .so file. [message #215898] Mon, 23 June 2008 07:20 Go to previous message
Eclipse User
Originally posted by: jim.fayettedigital.com

At least I think that's the problem.

Here's the error message:

Exception in thread "main" java.lang.UnsatisfiedLinkError: no ibmaio in
java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1682)
at java.lang.Runtime.loadLibrary0(Runtime.java:822)

So how do I set the java.library.path? I have
/usr/local/lib/libibmaio.so. I did a ldconfig -v /usr/local/lib (even
though it is in the ld.co.conf.d list)

Partial output is:

sudo ldconfig -v /usr/local/lib
/sbin/ldconfig.real: Path `/usr/local/lib' given more than once
/sbin/ldconfig.real: Can't stat /lib64: No such file or directory
/sbin/ldconfig.real: Can't stat /usr/lib64: No such file or directory
/usr/local/lib:
libibmaio.so -> libibmaio.so
libxapian.so.15 -> libxapian.so.15.4.0

So I know that the system knows about the library, but how do I get
Eclipse to use it? I went to the project/properties/Java Build Path,
libraries tab and didn't see any entries that appeared to let me name a
system library.

I also have the same issue with another project trying to use the
libxapian.so file mentioned above.

Thanks,
Jim.
 
Read Message
Read Message
Read Message
Previous Topic:IWAB0380E Error
Next Topic:SAX parser in WST?
Goto Forum:
  


Current Time: Wed May 22 20:27:27 EDT 2013

Powered by FUDForum. Page generated in 0.01626 seconds