On May 31, 2006, at 10:28 PM, Chris Shoemaker wrote:

On Wed, May 31, 2006 at 10:17:24PM -0400, David Reiser wrote:
[snip]
And from Peter O'Gorman:
"Gnucash has a whole bunch of libraries that are also loadable modules and is one of the reasons that dlcompat got written all those years ago.
Gnucash-1.8 and 1.9 may differ in this regard though, I do not know.

1.8 always uses libltdl or guile to load modules, and guile always uses it's own libltdl, libltdl has a hard-coded-at-compile-time idea of what the loadable module extension is, and depending on the libtool version, that will either be .so or .dylib on darwin. This should not matter if the .la files are kept around though, as the .la file has the dlopenable
name in it.

gnucash-1.9 probably still uses libltdl to open modules, doesn't it?"

This module is loaded using gmodule.  I don't know if gmodule uses
libltdl.


But that is a bit strange, because I do have the .la file around.

And what does it contain for dlname= ?

# The name that we can dlopen(3).
dlname='libgnc-backend-file.dylib'



-chris


--
David Reiser
[EMAIL PROTECTED]

_______________________________________________
gnucash-devel mailing list
[email protected]
https://lists.gnucash.org/mailman/listinfo/gnucash-devel

Reply via email to