curl / Mailing Lists / curl-library / Single Mail


Re: --disable-symbol-hiding not working anymore?

From: Dan Fandrich <>
Date: Thu, 2 Aug 2018 08:27:14 +0200

On Wed, Aug 01, 2018 at 07:56:47AM +0200, Ran Mozes wrote:
> Thanks for confirming the issue.
> Any ideas how to patch the make process in order to work around the issue?

It looks to me like libtool is doing this on its own now for some reason. This
is an ugly workaround, but it should work. Instead of the normal package
config & build steps, try this:

    sed -i -e 's/supports_anon_versioning=yes/supports_anon_versioning=no/' m4/libtool.m4
    ./configure --disable-symbol-hiding --disable-versioned-symbols

This forces libtool to not do the symbol versioning stuff that it's doing that
causes symbol hiding as a side effect. An alternative solution to the above is
likely to downgrade to a libtool version that didn't do this.

>>> Dan
Received on 2018-08-02