Bug 333 - Make it possible to specify the name of native libraries
Summary: Make it possible to specify the name of native libraries
Status: VERIFIED WORKSFORME
Alias: None
Product: Jogl
Classification: JogAmp
Component: core (show other bugs)
Version: 1
Hardware: All all
: P3 normal
Assignee: Sven Gothel
URL:
Depends on:
Blocks:
 
Reported: 2007-11-17 08:29 CET by Sven Gothel
Modified: 2015-09-27 03:14 CEST (History)
0 users

See Also:
Type: FEATURE
SCM Refs:
Workaround: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sven Gothel 2010-03-24 07:51:03 CET


---- Reported by fabriziogiudici 2007-11-17 08:29:31 ----

There are some problems if people try to integrate JOGL with NetBeans RCP and want to run on more 
than one Unix (e.g. Linux + Solaris) or Windows (e.g. 32 + 64bits) system. This is due to the fact that 
NetBeans expects that all the native libraries for a given component are packed in the same directory - 
hence the problem since all Unix systems share the name libjogl.so.

It's clearly not a JOGL problem but a NetBeans problem, but it won't be solved in a short time. 
Evaluating a few workarounds to this, it seems to me that the thing that would make the programmer's 
life easier would be a set of properties (e.g. jogl.nativelibrary.name.{jogl,jogl_awt,jogl_cg} or whatever) 
that could be used to override the default names of the searched libraries. Not specifing them would 
have the system behave as today; their presence would allow the programmer to rename the native 
libraries (e.g. libjogl-linux-64.so), guess which the current operating system is and compose the 
proper library name.

Leaving the o.s. detection and consequential the choice of the library name to the programmer should 
make this RFE a low risk for JOGL developers.



--- Bug imported by sgothel@jausoft.com 2010-03-24 07:51 EDT  ---

This bug was previously known as _bug_ 333 at https://jogl.dev.java.net/bugs/show_bug.cgi?id=333
Comment 1 Sven Gothel 2010-11-19 01:22:26 CET
you can specify a lib path