Re: [sdljava-users] Library linking on GNU/Linux
Status: Beta
Brought to you by:
ivan_ganza
From: Ivan Z. G. <iva...@ya...> - 2005-03-08 23:32:55
|
Hi Robert, Hope your doing well. sdljava links dynamically against shared libraries. The link fully supports dropping in any shared library (or dll on windows). The problem however is that between those two versions of SDL_gfx (.12 to .13) there were some changes to the actual function prototypes so the symbols in the .12 don't match whats in the .13. Not much we can do about that... -Ivan/ Robert Schuster wrote: > Ok, > my fault ... this time. The libdirectfb dependency came from SDL > itself which I had to recompile. > > However the problem remains for sdljava's SDL_gfx binding which is (in > the binary distribution) linked against libSDL_gfx.so.13 which is not > available on my system (I have libSDL_gfx.so.12). Isnt it possible to > link against libSDL_gfx.so instead? > > cu > Robert > > > Robert Schuster wrote: > >> Hi, >> after an upgrade from libdirectfb-0.9.so.20 to 0.9.so.21 my SDLJava >> powered Java apps fail with this exception: >> >> java.lang.UnsatisfiedLinkError: >> /home/rob/workspace/freefodder/FFMKI/lib/native/linux-i386/libsdljava.so: >> libdirectfb-0.9.so.20: cannot open shared object file: No such file >> or directory >> >> Recompiling the sdljava's libraries solved the problem tentatively >> but I had a /usr/lib/libdirectfb.so (a symlink) on my system before >> and after the upgrade of directfb and it would be nice if >> libsdljava.so would be linked against this file instead. >> >> Without a change to this distributing a sdljava-based game via JNLP >> is pointless because I cannot control which minor version of sdl and >> directfb libraries are installed on the client machines (at least >> when I ship it with sdljava's JNI libraries) >> >> Any linker experts here? >> >> cu >> Robert >> >> >> ------------------------------------------------------- >> SF email is sponsored by - The IT Product Guide >> Read honest & candid reviews on hundreds of IT Products from real users. >> Discover which products truly live up to the hype. Start reading now. >> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click >> _______________________________________________ >> sdljava-users mailing list >> sdl...@li... >> https://lists.sourceforge.net/lists/listinfo/sdljava-users >> >> > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > sdljava-users mailing list > sdl...@li... > https://lists.sourceforge.net/lists/listinfo/sdljava-users |