Audacity crashes

Audacity installed with zypper, no errors.

But when invoked…

:~> 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 1010,wx containers,compatible with 2.8).
Aborted (core dumped)

Any suggestions would be helpful.

https://forums.opensuse.org/showthread.php/526245-Audacity-Fatal-Error-Mismatch-between-the-program-and-library-build-versions-detected?highlight=audacity

Unfortunately it is the Packman version as indicated below by YaST.

Installed Version
2.1.3-16.10
Thu 03 Aug 2017 11:34:09 AM CEST
Thu 03 Aug 2017 06:30:17 PM CEST
Productivity/Multimedia/Sound/Editors and Convertors
GPL-2.0+
11.0 MiB
0 B
Multimedia / openSUSE_Leap_42.3
http://packman.links2linux.de
packman@links2linux.de
x86_64
http://audacityteam.org/
audacity-2.1.3-16.10

Audacity had been working OK when it was V2.1.3-16.9 (from packman)

I’ll add a comment to the bug report https://bugzilla.opensuse.org/show_bug.cgi?id=1051717

Many thanks for doing the hard work. I have never been particularly successful at bug reports.

If you need to have Audacity working now, then as per this comment:

https://bugzilla.opensuse.org/show_bug.cgi?id=1051717#c12

add the repository:

http://download.opensuse.org/update/leap/42.3-test/

and install Audacity 2.1.3-3.2 from there, together with the (7) autoinstalled *-suse-nostl1 3.0.2-11.1

I’m able to confirm that audacity starts up OK.

Or install it from Packman, that one works fine.

Did (past tense) work fine… :wink:

https://bugzilla.opensuse.org/show_bug.cgi?id=1051717#c10

Edit:
… hmm, or is it now working again? Looks to still be the same version/build, but that’s from memory.

I never had a problem with the Packman package here since I installed 42.3 2 weeks ago (although I haven’t run it every day either).

But indeed, I just updated the package and it crashes now (it did start successfully few minutes ago before I installed the latest update).
>:(

Well, I noticed that all libwx*-nostl3 packages (that were from the Packman repo) are orphaned now.
So apparently they dropped them from Packman and started to build against the standard ones.
Therefore it is also affected now, and should also be fixed by the update…

Yeah, libwx is quite picky about the versions (and things like the used compiler options)…

Yeah… For the moment I’m leaving the versions I have from the test repo. It works. I’ll revert back to packman later.

In the bug report I linked to you’ll see Dave Plater is doing a champion job on sorting it all out.

We users owe a lot to the developers, even if it doesn’t always seem that way. A big round of applause to you all!

Although, I don’t think there’s any difference nowadays as openSUSE’s audacity is built with ffmpeg support too now.
Well, Packman will probably upgrade to newer versions when available, while the one in Leap 42.3 will stay at 2.1.3.

In the bug report I linked to you’ll see Dave Plater is doing a champion job on sorting it all out.

I was aware of this bug report and am following it since the beginning.

Actually there were already similar problems a year ago when Tumbleweed was switching to GCC6 as default compiler, and they already sorted it out back then.
But a patch is missing in wxWidgets in 42.3 that skips/relaxes the GCC version check.

The problem here is actually that wxWidgets is compiled with the standard compiler (GCC 4.8.5), while audacity is built with GCC6 (apparently it needs a newer compiler).
wxWidgets checks that and aborts if the used GCC versions differ, the patch makes it treat certain GCC versions as being the same.

That’s also the reason why other applications using wxWidgets are not affected and work fine (they are compiled with GCC 4.8.5).

The update adds back that patch.

I’d like to note that since the update was released (last Thursday I think), both versions (the standard one and the one from Packman) do indeed work fine again here. :slight_smile:

Many thanks to everyone.