Summary: | sci-mathematics/wxmaxima-18.11.4 - Fatal Error: Mismatch between the program and library build versions detected. The library used 3.0 (wchar_t,compiler with C++ ABI 1010,wx containers,compatible with 2.8), and your program used 3.0 (wchar_t,compiler with | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Carlo <carlojpisani> |
Component: | Stabilization | Assignee: | Gentoo Science Mathematics related packages <sci-mathematics> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Carlo
2019-01-25 12:31:27 UTC
I am not sure, but I have the feeling that the installed wxGTK needs to be of the same C++ ABI. My logs say it was compiled by GCC-v6.4.0 [4] powerpc-unknown-linux-gnu-4.1.2 (needed for legacy reasons) [5] powerpc-unknown-linux-gnu-4.3.6 (needed for legacy reasons) [6] powerpc-unknown-linux-gnu-4.4.7 (needed for legacy reasons) [7] powerpc-unknown-linux-gnu-4.5.4 (needed for legacy reasons) [8] powerpc-unknown-linux-gnu-6.4.0 <----- compiled with this [9] powerpc-unknown-linux-gnu-7.3.0 <----- now I am with this now I am on GCC-v7.3.0, so ... I think I will try rebuilding wxGTK with GCC-v7 since I have the feeling that it uses different a C++ ABI, so it may be that things compiled by different versions of the compiler cannot work together. is it correct? # ldd $(which wxmaxima)| grep -i wx libwx_gtk2u_aui-3.0.so.0 => /usr/lib/libwx_gtk2u_aui-3.0.so.0 (0x6f9e1000) libwx_gtk2u_richtext-3.0.so.0 => /usr/lib/libwx_gtk2u_richtext-3.0.so.0 (0x6f81d000) libwx_gtk2u_html-3.0.so.0 => /usr/lib/libwx_gtk2u_html-3.0.so.0 (0x6f72b000) libwx_gtk2u_adv-3.0.so.0 => /usr/lib/libwx_gtk2u_adv-3.0.so.0 (0x6f547000) libwx_gtk2u_core-3.0.so.0 => /usr/lib/libwx_gtk2u_core-3.0.so.0 (0x6ef0c000) libwx_baseu_xml-3.0.so.0 => /usr/lib/libwx_baseu_xml-3.0.so.0 (0x6eedb000) libwx_baseu_net-3.0.so.0 => /usr/lib/libwx_baseu_net-3.0.so.0 (0x6ee6a000) libwx_baseu-3.0.so.0 => /usr/lib/libwx_baseu-3.0.so.0 (0x6eb8e000) solved! x11-libs/wxGTK was (re)compiled with the wrong slot so "emerge -1 x11-libs/wxGTK:3.0" is the right fixup, and now it works! I have the habit to log everything I pass to emerge and the toolchain environment 2018-07-21--19-49-57 - [ -1 x11-libs/wxGTK ] - success - @2.29.1/6.4.0 2019-01-25--07-37-10 - [ --unmerge x11-libs/wxGTK ] - success - n.a. 2019-01-25--07-39-15 - [ -1 x11-libs/wxGTK ] - success - @2.29.1/7.3.0 2019-01-25--12-29-30 - [ -1 x11-libs/wxGTK:3.0 ] - success - @2.29.1/7.3.0 doing grep on the log about wxGTK tells what I did; Noteworthy: interesting, significant, or unusual, things like WxMaxima began to work *ONLY* after I forced "3.0". *** This bug has been marked as a duplicate of bug 639276 *** |