That is the native library, which should have been created also. You need
to put that somewhere that your loader can find it, which means either in
a directory listed in your /etc/ld.so.conf file, or in a directory listed
in your LD_LIBRARY_PATH environment variable. The variable is a
colon-seperated list of directories.
So you could just copy it to /lib or /usr/lib. Or, if you plan on
modifying the JNI code an rebuilding often, then you could update your
~/.bashrc (or ~/.bash_profile) file with this:
JAVAX_USB_LIB=<directory where libJavaxUsb.so is>
if test -z "$LD_LIBRARY_PATH" ; then
export LD_LIBRARY_PATH="$JAVAX_USB_LIB"
else
export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${JAVAX_USB_LIB}"
fi
If you don't plan on rebuilding the JNI code, copying it into /lib or
/usr/lib is easiest.
On Thu, 20 Feb 2003, Martin Schuster wrote:
>I'm really new at Linux and USB. I compiled your
>source and it worked, but when i try to run the
>samples i always get an error that the Library:
>"libJavaxUsb.so" is not available, so where can i get
>this?
>
>Thanks
>Martin Schuster
>
>
>
>__________________________________________________
>Do you Yahoo!?
>Yahoo! Tax Center - forms, calculators, tips, more
>http://taxes.yahoo.com/
>
>
>-------------------------------------------------------
>This SF.net email is sponsored by: SlickEdit Inc. Develop an edge.
>The most comprehensive and flexible code editor you can use.
>Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial.
>www.slickedit.com/sourceforge
>_______________________________________________
>javax-usb-devel mailing list
>[EMAIL PROTECTED]
>https://lists.sourceforge.net/lists/listinfo/javax-usb-devel
>
--
Dan Streetman
[EMAIL PROTECTED]
---------------------
186,272 miles per second:
It isn't just a good idea, it's the law!
-------------------------------------------------------
This SF.net email is sponsored by: SlickEdit Inc. Develop an edge.
The most comprehensive and flexible code editor you can use.
Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial.
www.slickedit.com/sourceforge
_______________________________________________
javax-usb-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/javax-usb-devel