audacity
Fatal Error: Mismatch between the program and library build versions detected.
The library used 3.0 (wchar_t,compiler with C++ ABI 1002,wx containers,compatible with 2.8),
and your program used 3.0 (wchar_t,compiler with C++ ABI 1009,wx containers,compatible with 2.8).
Oh dear yet again this rears it’s head with WxWidgets, this happens every once in a while and you’d think by now people will learn but no. This affects Audacity 2.2.0 in Packman and Multimedia Apps. Perhaps one day Audacity will go QT, we can only hope.
Hi Wolfi, I’ve tried both nostl1 from OSS repos and X11:wxWidgets, neither work. If you install Audacity 2.2.0 from media apps it automatically pulls in libwx 3.0.2-7.18 anyway
S | Name | Type | Version | Arch | Repository
--+------------------------------+---------+------------+--------+-----------------------
i | libwx_baseu-suse-nostl1 | package | 3.0.2-7.18 | x86_64 | openSUSE-Leap-42.2-Oss
i | libwx_baseu-suse1 | package | 3.0.2-7.18 | x86_64 | openSUSE-Leap-42.2-Oss
i | libwx_baseu_net-suse-nostl1 | package | 3.0.2-7.18 | x86_64 | openSUSE-Leap-42.2-Oss
i | libwx_baseu_net-suse1 | package | 3.0.2-7.18 | x86_64 | openSUSE-Leap-42.2-Oss
i | libwx_baseu_xml-suse-nostl1 | package | 3.0.2-7.18 | x86_64 | openSUSE-Leap-42.2-Oss
i | libwx_baseu_xml-suse1 | package | 3.0.2-7.18 | x86_64 | openSUSE-Leap-42.2-Oss
i | libwx_gtk2u_adv-suse-nostl1 | package | 3.0.2-7.18 | x86_64 | openSUSE-Leap-42.2-Oss
i | libwx_gtk2u_adv-suse1 | package | 3.0.2-7.18 | x86_64 | openSUSE-Leap-42.2-Oss
i | libwx_gtk2u_aui-suse1 | package | 3.0.2-7.18 | x86_64 | openSUSE-Leap-42.2-Oss
i | libwx_gtk2u_core-suse-nostl1 | package | 3.0.2-7.18 | x86_64 | openSUSE-Leap-42.2-Oss
i | libwx_gtk2u_core-suse1 | package | 3.0.2-7.18 | x86_64 | openSUSE-Leap-42.2-Oss
i | libwx_gtk2u_gl-suse1 | package | 3.0.2-7.18 | x86_64 | openSUSE-Leap-42.2-Oss
i | libwx_gtk2u_html-suse-nostl1 | package | 3.0.2-7.18 | x86_64 | openSUSE-Leap-42.2-Oss
i | libwx_gtk2u_html-suse1 | package | 3.0.2-7.18 | x86_64 | openSUSE-Leap-42.2-Oss
i | libwx_gtk2u_qa-suse-nostl1 | package | 3.0.2-7.18 | x86_64 | openSUSE-Leap-42.2-Oss
i | libwx_gtk2u_qa-suse1 | package | 3.0.2-7.18 | x86_64 | openSUSE-Leap-42.2-Oss
i | libwx_gtk2u_xrc-suse1 | package | 3.0.2-7.18 | x86_64 | openSUSE-Leap-42.2-Oss
Well, the ones from X11:wxWidgets are probably not going to work, as wxWidgets is quite sensitive to the installed versions and what the application is built against.
What you have installed looks fine, Packman doesn’t provide their own wxWidgets anymore, the packages are built against the ones in the distribution (which is possible in the latest versions, there were problems with that in the past, that’s why Packman only provided their own wxWidgets in the first place).
I have a suspicion though.
Audacity is (needs to be) built with GCC5, because the build of the latest version fails with the old 4.8 that is default in Leap.
But the distribution’s wxWidgets is of course built with 4.8.
A comment in the spec file even states this:
#Audacity only builds with gcc >= 4.9
# WARNING: Anything built against wxWidgets with gcc >= 5 needs widgets built with relax-abi.diff
IIRC, the same problem was in 42.3, and has been fixed by a wxWidgets update (that relaxed that compiler check in wxWidgets with the mentioned relax-abi.diff).
But obviously that update hasn’t been released for 42.2…
Well, that would be something for the maintainer to “solve” then, but he is normally quite responsive.
Although, as already has been mentioned here in some previous post, 42.2 will be EOL a month anyway.
It was suggested to target April for the release, but it likely will be later.
With all the heavy changes going on, the previously targeted release
date early in the year unfortunately turned out to be too ambitious.
A release in May looks more realistic at the moment. We have to see
how things progress next year though.
The last few releases were 1 year (12 months) apart, only 42.3 was a bit “early” here as it was decided to release it some weeks earlier than SLE 12 SP3 because of the summer holidays.
And people are expected to “upgrade” within 6 months after the next version is released, i.e. a Leap release is only supported for 6 months after a new one has been released.
See Lifetime - openSUSE Wiki
Although, 42.3 may be supported longer, to give people more time to switch to the next major release (15.x).
The problem lies in the fact that 42.3’s audacity-2.1.3 was the first to need gcc 4.9 minimum to build as a result I changed to using gcc5 for the build. Then we had the wxWidgets incompatibility problem, fortunately audacity had it’s own wxWidgets-3_0-nostl already so I could safely have it build with gcc5. Leap:42.2’s audacity build with gcc48 so it will most probably fail if wxWidgets are built with gcc5, that’s the reason why this fix wasn’t propagated to 42.2.
If you really want audacity-2.2.0 you can install it and wxWidgets built with the same gcc from: https://download.opensuse.org/repositories/home:/plater:/audacity/Leap_42.2_Update
I’ve enabled lame, twolame and mad for full mp3 support as well