bug-libtool
[Top][All Lists]
Advanced

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

Re: Segfault in libltdl (resolved)


From: Kai Sterker
Subject: Re: Segfault in libltdl (resolved)
Date: Sat, 23 May 2009 19:08:49 +0200

On Sat, May 23, 2009 at 1:45 PM, Kai Sterker <address@hidden> wrote:

> The bigger question is, is the use of LTDL_SET_PRELOADED_SYMBOLS
> required now? Or should it still work without (since it used to do so
> before)?

It does work without, but something has definitely changed between
libtool 1.5 and 2.x.

First of all, I solved it by linking to the installed version of
libltdl (also from 2.2.6). I figured after reading more about libltdl
that linking with the convenience library is not safe for our setup.

I can only imagine that so far it was always linking against an
installed libltdl. But maybe with libtool 2.2 it does not properly
recognize the installed version? Or if the installed version is too
old, it might fallback to use the included convenience library just
the same. It might even have ended up linking against multiple
libltdls, which can cause crashes as the manual says.

But maybe libltdl from libtool 1.5 behaved better in such a case? Or
it was just pure luck that we didn't run into this issue earlier.

Kai




reply via email to

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