Greg Troxel <[EMAIL PROTECTED]> writes:

> A larger issue which might be good to contemplate is how .so files to
> be dlopened get located.  Right now this seems to be a LD_LIBRARY_PATH
> thing, and I have an aversion to searching in larger numbers of places
> for things, since it loses when multiple versions are installed in
> different prefixes.  As I've said on the guile list, when a program
> installed with --prefix=/usr/foo wants to link a library it installed,
> it can open /usr/foo/libexec/plugins/bar.so explicitly, rather than
> putting /usr/foo/libexec/plugins in LD_LIBRARY_PATH and opening
> bar.so.  The downside to this is running before installation, and I
> don't have a good answer for how to do both.

Right now we're using rpath, which is similar to LD_LIBRARY_PATH, but
localized to the binaries themselves.

Admittedly the whole gnc-module load mechanism is flawed.  You can
thank the creators for that mess, but they are no longer active on the
GnuCash project, and we're stuck with their mess.

-derek

-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       [EMAIL PROTECTED]                        PGP key available
_______________________________________________
gnucash-devel mailing list
[EMAIL PROTECTED]
http://www.gnucash.org/cgi-bin/mailman/listinfo/gnucash-devel

Reply via email to