I'm trying to install x11-toolkits/wxgtk26 and x11-toolkits/wxgtk26-unicode and getting linking errors :
gmake: Entering directory
c++ -o wxrc wxrc_wxrc.o -L/usr/local/lib -liconv -L/usr/X11R6/lib
-L../../lib -lwx_baseu_xml-2.6 -lexpat -lwx_baseu-2.6 -lwxregexu-2.6
-L/usr/local/lib -liconv -L/usr/X11R6/lib
-Wl,--version-script,../../version-script -lz -pthread -lm
../../lib/libwx_baseu-2.6.so: undefined reference to `backtrace_symbols'
../../lib/libwx_baseu-2.6.so: undefined reference to `backtrace'
gmake: *** [wxrc] Error 1
gmake: Leaving directory
Here is the output of the configure step of the port :
checking for --enable-backtrace... yes
checking for backtrace() in <execinfo.h>... yes
The port installs anyway, but the wxrc binary specified in pkg-plist isn't built, which leads to a "pkg-plist" incomplete error when deinstalling the port.
I'm getting exactly the same "undefined reference" errors while trying to link an app (aMule2) to wxgtk26 ; everything worked perfectly with the previous "-devel" version of wxgtk2 : wxgtk2-2.5.3.
No fix at the moment.
How-To-Repeat: Install x11-toolkits/wxgtk26 or x11-toolkits/wxgtk26-unicode (on amd64 ?).
This is due to libexecinfo-1.1_1 which provides /usr/local/include/execinfo.h.
If this happens to you and you have libexecinfo-1.1_1, just uninstall it and
everything should work fine. Maybe this CONFLICT could managed in the port itself ?
Change category and assign.
Should be fixed in wxgtk2-2.6.0_1.