[erlang-bugs] Build failure with --as-needed

Christian Faulhammer opfer@REDACTED
Fri Jan 11 14:35:33 CET 2008


Mikael Pettersson <mikpe@REDACTED>:

> Christian Faulhammer writes:
>  > 12B-0 linked with LDFLAGS="--as-needed" (Linux machine, 64-bit)
>  > fails to identify OpenSSL correctly:
>  > "checking for OpenSSL >= 0.9.7 in standard locations... found; but
>  > not usable configure: WARNING: No (usable) OpenSSL found, skipping
>  > ssl, ssh and crypto applications"
> So why do you link with --as-needed?

 A user reported it.  
 
> It would seem that --as-needed only is an optimisation, and
> only in case the link command mentions redundant libraries, no?

 More information can be found here:
<URL:http://www.gentoo.org/proj/en/qa/asneeded.xml>

V-Li

-- 
Christian Faulhammer, Gentoo Lisp project
<URL:http://www.gentoo.org/proj/en/lisp/>, #gentoo-lisp on FreeNode

<URL:http://www.faulhammer.org/>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://erlang.org/pipermail/erlang-bugs/attachments/20080111/dccfdfc8/attachment.bin>


More information about the erlang-bugs mailing list