Setting LD_LIBRARY_PATH environment variable WORKS, but setting the path in glassfish (java-config.native-library-path-prefix) doesn't.
from user interface: Application server->JVM settings->Path settings->Native Library Path Prefix
from command line: asadmin set server.java-config.native-library-path-prefix=/right/path/to/my/librairies
from glassfish help:
Native Library Path Prefix: Prepend entries to the native library path.
[Message sent by forum member 'pat_m' (pat_m)]
http://forums.java.net/jive/thread.jspa?messageID=325482