View previous topic :: View next topic |
Author |
Message |
papandreoos Apprentice
Joined: 17 Dec 2014 Posts: 163
|
Posted: Sun Sep 16, 2018 11:04 am Post subject: [SOLVED] "Mismatch between the program and library buil |
|
|
the problem is with amule (2.3.2-r2) and audacity (2.2.2).
they both compiled and installed just fine.
the problem is that they do not open when i try to open them.
if i open them from terminal i get (for both of them) this error message:
Code: | Fatal Error: Mismatch between the program and library build versions detected.
The library used 3.0 (wchar_t,compiler with C++ ABI 1011,wx containers,compatible with 2.8),
and your program used 3.0 (wchar_t,compiler with C++ ABI 1013,wx containers,compatible with 2.8).
Aborted (core dumped)
|
Last edited by papandreoos on Sun Sep 16, 2018 6:01 pm; edited 1 time in total |
|
Back to top |
|
|
Anon-E-moose Watchman
Joined: 23 May 2008 Posts: 6098 Location: Dallas area
|
Posted: Sun Sep 16, 2018 11:24 am Post subject: |
|
|
rebuild wxGTK _________________ PRIME x570-pro, 3700x, 6.1 zen kernel
gcc 13, profile 17.0 (custom bare multilib), openrc, wayland |
|
Back to top |
|
|
Josef.95 Advocate
Joined: 03 Sep 2007 Posts: 4555 Location: Germany
|
Posted: Sun Sep 16, 2018 5:11 pm Post subject: Mismatch between the program and library build version |
|
|
Yes, rebuild the right wxGTK Slot should help: Code: | emerge -av1 x11-libs/wxGTK:3.0 |
|
|
Back to top |
|
|
papandreoos Apprentice
Joined: 17 Dec 2014 Posts: 163
|
Posted: Sun Sep 16, 2018 6:01 pm Post subject: |
|
|
great thank you very much.
they both working now after rebuild wxGTK. |
|
Back to top |
|
|
Progman3K l33t
Joined: 03 Jan 2004 Posts: 773
|
Posted: Tue Dec 25, 2018 8:08 pm Post subject: Doesn't solve for me, maybe it's the mixed repos? |
|
|
Hi!
Code: | emerge -vDa audacity wxGTK |
Quote: |
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild R ] x11-libs/wxGTK-3.1.1-r302:3.1-gtk3/3.1.1::stefantalpalaru USE="X gstreamer libnotify opengl sdl tiff (-aqua) -debug -doc -webkit" ABI_X86="32 (64) (-x32)" 0 KiB
[ebuild R ] media-sound/audacity-2.2.2::gentoo USE="alsa flac id3tag ladspa lame lv2 mad midi nls portmixer soundtouch twolame vamp vorbis vst -doc -ffmpeg -jack -libav -sbsms" CPU_FLAGS_X86="sse" 0 KiB
Total: 2 packages (2 reinstalls), Size of downloads: 0 KiB
Would you like to merge these packages? [Yes/No] Yes |
[...] modules succesfully build and install
Quote: | 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.,
and your program used 3.0 (wchar_t,compiler with C++ ABI 1011,wx containers,compatible with 2..
Aborted (core dumped) |
What did I miss?
Thanks |
|
Back to top |
|
|
grumblebear Apprentice
Joined: 26 Feb 2008 Posts: 202
|
Posted: Tue Dec 25, 2018 11:46 pm Post subject: |
|
|
In your emerge command you rebuilt wxGTK (v. 3.1.1) from an overlay. I think you want the 3.0 version from the official portage tree instead. |
|
Back to top |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21633
|
Posted: Wed Dec 26, 2018 3:26 am Post subject: |
|
|
According to your error message, the program is newer than the library. Rebuild the library with a compiler that uses C++ ABI 1011. |
|
Back to top |
|
|
Progman3K l33t
Joined: 03 Jan 2004 Posts: 773
|
Posted: Wed Dec 26, 2018 5:16 pm Post subject: |
|
|
Tried this:
Code: | emerge -vDa =x11-libs/wxGTK-3.0.4-r301 |
Same problem.
Hu, I thought you might be on to something, but look
Quote: | [1] x86_64-pc-linux-gnu-6.4.0
[2] x86_64-pc-linux-gnu-7.3.0 * |
Should I select 6.4 instead?
Thank you very much for your help, gentlepeople! |
|
Back to top |
|
|
grumblebear Apprentice
Joined: 26 Feb 2008 Posts: 202
|
Posted: Wed Dec 26, 2018 5:44 pm Post subject: |
|
|
Progman3K wrote: | Tried this:
Code: | emerge -vDa =x11-libs/wxGTK-3.0.4-r301 |
Same problem.
|
I fear your again selected the wrong version. The 3.0 slot seems to be required. That is wxGTK-3.0.4 or 3.0.4-r1. If not needed elsewhere, I would advise you to remove the others from your installation. |
|
Back to top |
|
|
Progman3K l33t
Joined: 03 Jan 2004 Posts: 773
|
Posted: Wed Dec 26, 2018 8:10 pm Post subject: |
|
|
grumblebear wrote: | Progman3K wrote: | Tried this:
Code: | emerge -vDa =x11-libs/wxGTK-3.0.4-r301 |
Same problem.
|
I fear your again selected the wrong version. The 3.0 slot seems to be required. That is wxGTK-3.0.4 or 3.0.4-r1. If not needed elsewhere, I would advise you to remove the others from your installation. |
Code: | emerge -vDa =x11-libs/wxGTK-3.0.4-r1 |
That did the trick!
As for other versions of wxGTK, they don't show up in the output of emerge --depclean -a
Quote: | [ Results for search key : wxGTK ]
* x11-libs/wxGTK
Latest version available: 3.1.1-r302
Latest version installed: 3.1.1-r302 | If I uninstall 3.1.1-r302, won't it break something else? |
|
Back to top |
|
|
grumblebear Apprentice
Joined: 26 Feb 2008 Posts: 202
|
Posted: Wed Dec 26, 2018 9:12 pm Post subject: |
|
|
If you ran emerge as shown (that is without option -1) those wxGTK version are now all added to your world file. Remove them from there and try again emerge --depclean.
You can always use qdepends or equery d to determine what pulls in a particular version. |
|
Back to top |
|
|
Dragonlord Guru
Joined: 22 Aug 2004 Posts: 446 Location: Switzerland
|
Posted: Mon Dec 31, 2018 2:22 am Post subject: |
|
|
Unfortunately nothing of all this is helping. Audacity is still broken with the exact error message shown. Any other tricks? Maybe something in wxGTK itself is broken trickling through? _________________ DragonDreams: Leader and Head Programmer |
|
Back to top |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21633
|
Posted: Mon Dec 31, 2018 4:37 am Post subject: |
|
|
There are two different error messages shown in this thread, although they are at least similar. In both cases shown, the program had been built with a newer C++ ABI than the library. For those cases, the resolution is to rebuild the library with the same C++ ABI as the program is trying to use. |
|
Back to top |
|
|
Dragonlord Guru
Joined: 22 Aug 2004 Posts: 446 Location: Switzerland
|
Posted: Mon Dec 31, 2018 12:20 pm Post subject: |
|
|
Hu wrote: | There are two different error messages shown in this thread, although they are at least similar. In both cases shown, the program had been built with a newer C++ ABI than the library. For those cases, the resolution is to rebuild the library with the same C++ ABI as the program is trying to use. |
It's this one:
Code: | 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 C++ ABI 1011,wx containers,compatible with 2.8).
Aborted (core dumped) |
I did rebuild wxGTK (wxGTK-3.0.4-r300) and audacity (audacity-2.2.2) multiple times. These are the newest packages after a fresh sync today. _________________ DragonDreams: Leader and Head Programmer |
|
Back to top |
|
|
grumblebear Apprentice
Joined: 26 Feb 2008 Posts: 202
|
Posted: Mon Dec 31, 2018 2:09 pm Post subject: |
|
|
Dragonlord wrote: | I did rebuild wxGTK (wxGTK-3.0.4-r300) and audacity (audacity-2.2.2) multiple times. These are the newest packages after a fresh sync today. |
Have you really read the posts above? You need wxGTK-3.0.4 from the 3.0 slot, not 3.0.4-r300 from the 3.0-gtk3 slot. |
|
Back to top |
|
|
Anon-E-moose Watchman
Joined: 23 May 2008 Posts: 6098 Location: Dallas area
|
Posted: Mon Dec 31, 2018 2:31 pm Post subject: |
|
|
all wxGTK-*-r3xx are gtk3 versions
Code: | equery l -po wxGTK
* Searching for wxGTK ...
[-P-] [ ] x11-libs/wxGTK-3.0.3:3.0
[-P-] [ ] x11-libs/wxGTK-3.0.3-r300:3.0-gtk3
[IP-] [ ] x11-libs/wxGTK-3.0.4:3.0
[-P-] [ ~] x11-libs/wxGTK-3.0.4-r1:3.0
[-P-] [ ] x11-libs/wxGTK-3.0.4-r300:3.0-gtk3
[-P-] [ ~] x11-libs/wxGTK-3.0.4-r301:3.0-gtk3 |
_________________ PRIME x570-pro, 3700x, 6.1 zen kernel
gcc 13, profile 17.0 (custom bare multilib), openrc, wayland |
|
Back to top |
|
|
Dragonlord Guru
Joined: 22 Aug 2004 Posts: 446 Location: Switzerland
|
Posted: Tue Jan 01, 2019 3:43 pm Post subject: |
|
|
grumblebear wrote: | Dragonlord wrote: | I did rebuild wxGTK (wxGTK-3.0.4-r300) and audacity (audacity-2.2.2) multiple times. These are the newest packages after a fresh sync today. |
Have you really read the posts above? You need wxGTK-3.0.4 from the 3.0 slot, not 3.0.4-r300 from the 3.0-gtk3 slot. |
3.0.4-r1 is masked. You don't want to claim I need to emerge a masked package?
EDIT:
Okay... now I'm confused. I've got "wxGTK-3.0.4-r300" installed. It's is more recent than r1. Why is "3.0.4" not "3.0.4"? I'm confused. _________________ DragonDreams: Leader and Head Programmer |
|
Back to top |
|
|
Anon-E-moose Watchman
Joined: 23 May 2008 Posts: 6098 Location: Dallas area
|
Posted: Tue Jan 01, 2019 4:55 pm Post subject: |
|
|
Once more
x11-libs/wxGTK-3.0.4:3.0 -------- gtk2 version
x11-libs/wxGTK-3.0.4-r300:3.0-gtk3 --------- gtk3 version _________________ PRIME x570-pro, 3700x, 6.1 zen kernel
gcc 13, profile 17.0 (custom bare multilib), openrc, wayland |
|
Back to top |
|
|
Dragonlord Guru
Joined: 22 Aug 2004 Posts: 446 Location: Switzerland
|
Posted: Tue Jan 01, 2019 6:50 pm Post subject: |
|
|
I see. That did actually help. Quite confusing this naming there. I always attributed slots to layman and mixing repositories... _________________ DragonDreams: Leader and Head Programmer |
|
Back to top |
|
|
Anon-E-moose Watchman
Joined: 23 May 2008 Posts: 6098 Location: Dallas area
|
Posted: Tue Jan 01, 2019 11:00 pm Post subject: |
|
|
Yes, the naming sucks. I would have chosen something different ... but no one asked me _________________ PRIME x570-pro, 3700x, 6.1 zen kernel
gcc 13, profile 17.0 (custom bare multilib), openrc, wayland |
|
Back to top |
|
|
Dragonlord Guru
Joined: 22 Aug 2004 Posts: 446 Location: Switzerland
|
Posted: Wed Jan 02, 2019 1:12 pm Post subject: |
|
|
Anon-E-moose wrote: | (...) but no one asked me |
It's always like this in life _________________ DragonDreams: Leader and Head Programmer |
|
Back to top |
|
|
allaboutmike n00b
Joined: 25 May 2004 Posts: 26
|
Posted: Tue Oct 22, 2019 4:50 am Post subject: |
|
|
grumblebear wrote: | Dragonlord wrote: | I did rebuild wxGTK (wxGTK-3.0.4-r300) and audacity (audacity-2.2.2) multiple times. These are the newest packages after a fresh sync today. |
Have you really read the posts above? You need wxGTK-3.0.4 from the 3.0 slot, not 3.0.4-r300 from the 3.0-gtk3 slot. |
AH HA!
Thankyou grumblebear.
I read this thread thinking I had already rebuilt everything, but the slot naming was apparently too subtle for me.
Thanks for clarifying this. |
|
Back to top |
|
|
|