Do GModules require *.la files?

Toshio Kuratomi toshio at tiki-lounge.com
Tue Oct 25 14:35:32 UTC 2005


On Tue, 2005-10-25 at 02:37 -0400, Warren Togami wrote:
> <alex> warren: gmodule does not require .la files.
> <alex> warren: at least in general
> <alex> warren: maybe he does something bizzare with it
> <alex> warren: maybe he uses it to get the correct shobject filename 
> extension
> <alex> warren: but thats not needed, gmodule adds the system one 
> automatically if you don't specify one
> <alex> warren: You should ask him exactly why it is needed
> <warren> alex, he doesn't know, he was quoting from a readme from libqof
> <mclasen> warren: should be very easy to test if libqof succeeds in 
> loading its modules when you rm the .la files
> <alex> warren:
> <alex>  /* All available QOF backends need to be described here
> <alex> and the last entry must be three NULL's.
> <alex> Remember: Use the libdir from the current build environment
> <alex> and use the .la NOT the .so - .so is not portable! */
> <alex> struct backend_providers backend_list[] = {
> <alex>         { QOF_LIB_DIR, "libqof-backend-qsf.la", 
> "qsf_provider_init" },
> <alex> warren: He should just pass "libqof-backend-qsf" instead
> <alex> warren: g_module adds the right extension anyway
> 
> Short on time and exhausted so I didn't grok and paraphrase this.  I 
> hope this is useful.

Thank you very much Warren, alex, and mclassen!  I'll patch the sources
to do what alex suggests.  Don't know if I'll be able to convince
upstream to accept the change but I'll sure try :-)

-Toshio
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/fedora-extras-list/attachments/20051025/0a99aa50/attachment.sig>


More information about the fedora-extras-list mailing list