rpgoldman / europa-pso

Automatically exported from code.google.com/p/europa-pso
0 stars 0 forks source link

Cross-platform ability to load shared libraries in C++ #23

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago

We want the equivalent of LibraryLoader.java for C++. The two pieces
missing in p_dlopen are:

    * Given just the name, determine the library name (from X determine
libX_g.so but in a cross-platform way)
    * Given just the name, use LD_LIBRARY_PATH to find the above library. 

When this is implemented, it should probably be used in lieu of the two
'addModule' calls currently in X-Main.cc (produced by makeproject).

(I'm assigning this to myself only to avoid annoying someone else with it,
not because I have any clue how to do it :) )

Original issue reported on code.google.com by tristanb...@gmail.com on 9 Sep 2009 at 11:56