On Thu, Dec 07, 2000 at 09:02:11AM -0600, Tod Milam wrote:
> Gary -
Hi Todd.
> I have a library which loads modules. Both the library and modules are
> created using libtool. The problem is that when my application links to
> the library as a shared library, it crashes trying to load a module. If
> I link to the library statically it works fine. Is this a known
> problem?
Works for me on Solaris and Linux with cvs M4. The runtime loader
loads the module system for m4 from libm4.so, whereupon m4 dynamically
loads a module that adds the load() macro to the m4 interpreter.
Modules can be loaded through one (m4->libm4.so) or two
(load.so->m4->libm4.so) levels of indirection where libm4.so includes
the code from libltdl.
> ps: should I send these non-goat-book questions to the libtool mailing
> list instead of you? I don't want to bug you too much. :-)
You should probably at least Cc: the list incase someone on the list
can provide a faster or better answer than I can -- or if I am perhaps
offline for a few days.
Cheers,
Gary.
--
___ _ ___ __ _ mailto: [EMAIL PROTECTED]
/ __|__ _ _ ___ _| | / / | / /_ _ _ _ __ _| |_ __ _ ___ [EMAIL PROTECTED]
| (_ / _` | '_|// / |/ /| |/ / _` | || / _` | ' \/ _` | _ \
\___\__,_|_|\_, /|___(_)___/\__,_|\_,_\__, |_||_\__,_|//_/
home page: /___/ /___/ gpg public key:
http://www.oranda.demon.co.uk http://www.oranda.demon.co.uk/key.asc
_______________________________________________
Libtool mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/libtool