Export to GitHub

europa-pso - issue #23

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


Posted on Sep 9, 2009 by Swift Ox

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 :) )

Status: Accepted

Labels:
Type-Enhancement Priority-Medium Milestone-EUROPA-X Component-Other