Have you built the libgljava yourself? Regardless I think it should load
the version of the shared library found by the dynamic linker -- but you
might want to try building it yourself.
In the java code we simply say System.loadLibrary("gljava") and libgljava is
build with -lGLEW
Let me know if that helps,
-Ivan/
On 10/14/07, Andrew Wiley <ar...@gm...> wrote:
>
> I have been trying to get sdljava working today (I have been planning to
> use it in a project), and I hit a major snag.
> It is most easily illustrated by showing what happens when I try to run
> the space-invaders test script (or any script that uses GL):
> [arew264@Lagbox bin]$ ./space-invaders.sh
> ******** Reading classes from sdljava.jar
> Native code library failed to load.
> java.lang.UnsatisfiedLinkError: /home/arew264/workspace/sdljava-0.9.1/lib/libgljava.so:
> libGLEW.so.2: cannot open shared object file: No such file or directory
>
> Everything else seems to work without a problem, but for some reason it is
> trying to load that library. As the latest version of libGLEW is 1.4.0 ,
> I'm not sure why it would try to load version 2. It should be trying to load
> libGLEW.so.1.3.1 according to your website.
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems? Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> _______________________________________________
> sdljava-users mailing list
> sdl...@li...
> https://lists.sourceforge.net/lists/listinfo/sdljava-users
>
>
|