[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Which libtool for autoconf 2.54?
From: |
John Gruenenfelder |
Subject: |
Re: Which libtool for autoconf 2.54? |
Date: |
Thu, 10 Oct 2002 17:13:32 -0700 |
User-agent: |
Mutt/1.4i |
On Thu, Oct 10, 2002 at 04:18:08PM -0500, Bob Friesenhahn wrote:
>
>This is the libtool macro order that I am successfully using:
Okay, I'm using your macro ordering now, though I commented out
AC_DISABLE_SHARED/AC_ENABLE_STATIC and used AC_ENABLE_SHARED instead, since I
have three libraries in my program which other programs use as well.
>The entries
>
>AC_LIBLTDL_CONVENIENCE(libltdl)
>AC_LIB_LTDL
>
>add everything that your configure script needs to configure libltdl
>as part of your project rather than subordinate to your project.
I didn't know that. Thanks! This makes me much happier too.
>As far as the errors returned from libltdl, I have no idea. Getting
>rid of the "`AC_LIBTOOL_DLOPEN' not used" warning would be the first
>step to take. It sounds like libltdl is mis-configured.
>
>Bob
After making these changes, I can compile my program when using libtool CVS.
I still get the libltdl errors, though.
If I use libtool 1.4.2-7.1 instead, my configure process does not proceed
entirely correctly, and when I run 'make', I get many libtool sh warnings. It
then proceeds all through the compilation, but fails on the final link. I'm
not entirely sure what the error is though... it seems like a variable isn't
being defined, and when it is used, the result it not a valid command line.
And I still get the AC_LIBTOOL_DLOPEN warning.
Still, I am perfectly happy to use libtool CVS, since it has a number of
Darwin patches that I will soon be needing. So, now I just need to figure out
what is causing these libltdl errors. Does anybody have a short code example
of how they are loading a module and taking a symbol from it? Then I could
compare it with my code (though mine use to work too...).
--
--John Gruenenfelder Research Assistant, Steward Observatory, U of Arizona
address@hidden
"This is the most fun I've had without being drenched in the blood
of my enemies!"
--Sam of Sam & Max