Hey guys,
I'm trying to load a specific version (2.4.2) of the freetype library.
It seems like the open-jdk-7 already ships with its own version of freetype (2.4.8) which is loaded in the current process.
So if I invoke
Native.loadLibrary(libName, FT2Library.class)
where libName is an absolute path pointing to my freetype version, freetype still spits out "2.4.8". The exact same code works fine with open-jdk-6, so I'm quite sure that jna uses the "in-process" symbols rather than dynamically linking to my .so file.
Is there a way to specifically load and link to an external .so file, if there's another version of that .so already loaded?
Thanks so much!
- Erik