Runtime failures with LDFLAGS=--as-needed and wxWidgets interface

Christian Faulhammer <>
Wed Nov 24 02:14:56 CET 2010


Hi,

attached patch fixes the following issue when linking with --as-needed
and then trying to run the wxWidgets stuff:

1> wx:new().

=ERROR REPORT==== 24-Nov-2010::00:33:32 ===
WX Failed loading
"wxe_driver"@"/usr/lib64/erlang/lib/wx-0.98.7/priv/x86_64-pc-linux-gnu" 
** exception error: {load_driver,"undefined symbol: gluNewTess"}

V-Li

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

<URL:http://gentoo.faulhammer.org/>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: erlang-14.2-respect_LDFLAGS-wx.patch
Type: text/x-patch
Size: 505 bytes
Desc: not available
URL: <http://erlang.org/pipermail/erlang-bugs/attachments/20101124/ccd86511/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://erlang.org/pipermail/erlang-bugs/attachments/20101124/ccd86511/attachment-0001.bin>


More information about the erlang-bugs mailing list