libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: shared library loading modules?


From: Gary V. Vaughan
Subject: Re: shared library loading modules?
Date: Thu, 7 Dec 2000 22:46:12 +0000
User-agent: Mutt/1.2.5i

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: address@hidden
 / __|__ _ _ ___ _| | / / | / /_ _ _  _ __ _| |_  __ _ ___       address@hidden 
| (_ / _` | '_|// / |/ /| |/ / _` | || / _` | ' \/ _` | _ \
 \___\__,_|_|\_, /|___(_)___/\__,_|\_,_\__, |_||_\__,_|//_/
home page:  /___/                      /___/                  gpg public key:
http://www.oranda.demon.co.uk           http://www.oranda.demon.co.uk/key.asc



reply via email to

[Prev in Thread] Current Thread [Next in Thread]