Audacity can't find "libwx_gtk2u_xrc-3.1.so.1" on Oracle Linux

Help for Audacity on GNU/Linux.
Forum rules
ImageThis forum is for Audacity on GNU/Linux.
Please state:
  • which version of Linux you are using,
  • the exact three-section version number of Audacity from Help menu > About Audacity,
  • whether you installed your distribution's release, PPA version, or compiled Audacity from source code.

Audacity 1.2.x and 1.3.x are obsolete and no longer supported. If you still have those versions, please upgrade (see https://www.audacityteam.org/download/).
The old forums for those versions are now closed, but you can still read the archives of the 1.2.x and 1.3.x forums.
steve
Site Admin
Posts: 81609
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: Audacity can't find "libwx_gtk2u_xrc-3.1.so.1" on Oracle Linux

Post by steve » Sat Nov 02, 2019 2:15 pm

FlatAssembler wrote:
Sat Nov 02, 2019 7:02 am
now Audacity launches
Excellent :)

FlatAssembler wrote:
Sat Nov 02, 2019 7:02 am
it gives me this error.
When does that appear?
Which version of Audacity did you build?
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

FlatAssembler
Posts: 17
Joined: Fri Nov 01, 2019 5:32 pm
Operating System: Linux Debian

Re: Audacity can't find "libwx_gtk2u_xrc-3.1.so.1" on Oracle Linux

Post by FlatAssembler » Sat Nov 02, 2019 8:14 pm

steve wrote:
Sat Nov 02, 2019 2:15 pm
When does that appear?
It appears when I click the "Record" button.
Screenshot from 2019-11-02 21-09-31.png
Screenshot from 2019-11-02 21-09-31.png (727 Bytes) Viewed 401 times
steve wrote:
Sat Nov 02, 2019 2:15 pm
Which version of Audacity did you build?
I built Audacity 2.3.2. Here is what I see when I click Help>About:
Screenshot from 2019-11-02 21-11-38.png
Screenshot from 2019-11-02 21-11-38.png (67.31 KiB) Viewed 401 times
One more problem. Audacity claims it can't find the "libavformat.so.55" file, even when I point it right to it.

Though, none of those are serious problems. I can record the audio using some other app, and I can use ffmpeg through command line, I don't need to use it through Audacity.

steve
Site Admin
Posts: 81609
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: Audacity can't find "libwx_gtk2u_xrc-3.1.so.1" on Oracle Linux

Post by steve » Sat Nov 02, 2019 9:14 pm

FlatAssembler wrote:
Sat Nov 02, 2019 8:14 pm
One more problem. Audacity claims it can't find the "libavformat.so.55" file, even when I point it right to it.
Audacity is very fussy about the version of FFmpeg, because, by default, Audacity links to it dynamically.
What works for me is to build against system headers (on Debian based systems this requires installing the "libavutil-dev" package), and then build Audacity with dynamic loading disabled.

Code: Select all

../configure --with-lib-preference="local system" --with-ffmpeg="system" --disable-dynamic-loading
It may be best to ignore this for now while we concentrate on getting Audacity working for you.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

steve
Site Admin
Posts: 81609
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: Audacity can't find "libwx_gtk2u_xrc-3.1.so.1" on Oracle Linux

Post by steve » Sat Nov 02, 2019 9:18 pm

Please post the "Audio device info".
  1. "Help menu > Diagnostics > Audio device Info"
  2. Wait for the info to appear
  3. Click the "Save" button and save the info somewhere convenient
  4. Attach the saved file to your reply
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

FlatAssembler
Posts: 17
Joined: Fri Nov 01, 2019 5:32 pm
Operating System: Linux Debian

Re: Audacity can't find "libwx_gtk2u_xrc-3.1.so.1" on Oracle Linux

Post by FlatAssembler » Sun Nov 03, 2019 7:22 am

steve wrote:
Sat Nov 02, 2019 9:18 pm
Please post the "Audio device info".
  1. "Help menu > Diagnostics > Audio device Info"
  2. Wait for the info to appear
  3. Click the "Save" button and save the info somewhere convenient
  4. Attach the saved file to your reply
Here is the "deviceinfo.txt" file.
Attachments
deviceinfo.txt
(2.39 KiB) Downloaded 9 times

FlatAssembler
Posts: 17
Joined: Fri Nov 01, 2019 5:32 pm
Operating System: Linux Debian

Re: Audacity can't find "libwx_gtk2u_xrc-3.1.so.1" on Oracle Linux

Post by FlatAssembler » Sun Nov 03, 2019 7:52 am

Perhaps related to that, if I start Audacity from command line, I get the following warnings:

Code: Select all

(Audacity:18610): Gtk-WARNING **: 08:51:01.117: Locale not supported by C library.
	Using the fallback 'C' locale.

(Audacity:18610): Gdk-WARNING **: 08:51:01.127: locale not supported by C library

(Audacity:18610): Gtk-WARNING **: 08:51:01.134: gtk_disable_setlocale() must be called before gtk_init()
ALSA lib pcm_dmix.c:1108:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm.c:2564:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2564:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2564:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm_route.c:869:(find_matching_chmap) Found no matching channel map
ALSA lib dlmisc.c:287:(snd1_dlobj_cache_get) Cannot open shared library /usr/lib/alsa-lib/libasound_module_pcm_pulse.so ((null): /usr/lib/alsa-lib/libasound_module_pcm_pulse.so: wrong ELF class: ELFCLASS32)
ALSA lib dlmisc.c:287:(snd1_dlobj_cache_get) Cannot open shared library /usr/lib/alsa-lib/libasound_module_pcm_pulse.so ((null): /usr/lib/alsa-lib/libasound_module_pcm_pulse.so: wrong ELF class: ELFCLASS32)
ALSA lib pcm_dmix.c:1108:(snd_pcm_dmix_open) unable to open slave
ALSA lib dlmisc.c:287:(snd1_dlobj_cache_get) Cannot open shared library /usr/lib/alsa-lib/libasound_module_pcm_pulse.so ((null): /usr/lib/alsa-lib/libasound_module_pcm_pulse.so: wrong ELF class: ELFCLASS32)
ALSA lib dlmisc.c:287:(snd1_dlobj_cache_get) Cannot open shared library /usr/lib/alsa-lib/libasound_module_pcm_pulse.so ((null): /usr/lib/alsa-lib/libasound_module_pcm_pulse.so: wrong ELF class: ELFCLASS32)
Expression 'stream->playback.pcm' failed in '../../../lib-src/portaudio-v19/src/hostapi/alsa/pa_linux_alsa.c', line: 4611
08:51:01: Debug: ScreenToClient cannot work when toplevel window is not shown
08:51:01: Debug: ScreenToClient cannot work when toplevel window is not shown
08:51:01: Debug: ScreenToClient cannot work when toplevel window is not shown
08:51:01: Debug: ScreenToClient cannot work when toplevel window is not shown
08:51:01: Debug: ScreenToClient cannot work when toplevel window is not shown
08:51:01: Debug: ScreenToClient cannot work when toplevel window is not shown
08:51:01: Debug: ScreenToClient cannot work when toplevel window is not shown
08:51:01: Debug: ScreenToClient cannot work when toplevel window is not shown
08:51:01: Debug: ScreenToClient cannot work when toplevel window is not shown
Expression 'stream->playback.pcm' failed in '../../../lib-src/portaudio-v19/src/hostapi/alsa/pa_linux_alsa.c', line: 4611
Expression 'stream->playback.pcm' failed in '../../../lib-src/portaudio-v19/src/hostapi/alsa/pa_linux_alsa.c', line: 4611
08:51:01: Debug: ScreenToClient cannot work when toplevel window is not shown
08:51:01: Debug: ScreenToClient cannot work when toplevel window is not shown
08:51:01: Debug: ScreenToClient cannot work when toplevel window is not shown
08:51:01: Debug: ScreenToClient cannot work when toplevel window is not shown
08:51:01: Debug: ScreenToClient cannot work when toplevel window is not shown
08:51:01: Debug: ScreenToClient cannot work when toplevel window is not shown
08:51:01: Debug: ScreenToClient cannot work when toplevel window is not shown
08:51:01: Debug: ScreenToClient cannot work when toplevel window is not shown
08:51:01: Debug: ScreenToClient cannot work when toplevel window is not shown
08:51:01: Debug: ScreenToClient cannot work when toplevel window is not shown
08:51:01: Debug: ScreenToClient cannot work when toplevel window is not shown
08:51:01: Debug: ScreenToClient cannot work when toplevel window is not shown
08:51:01: Debug: ScreenToClient cannot work when toplevel window is not shown
08:51:01: Debug: ScreenToClient cannot work when toplevel window is not shown
08:51:01: Debug: ScreenToClient cannot work when toplevel window is not shown
08:51:01: Debug: ScreenToClient cannot work when toplevel window is not shown
08:51:01: Debug: ScreenToClient cannot work when toplevel window is not shown
08:51:01: Debug: ScreenToClient cannot work when toplevel window is not shown
08:51:01: Debug: ClientToScreen cannot work when toplevel window is not shown
08:51:01: Debug: ClientToScreen cannot work when toplevel window is not shown
08:51:01: Debug: ClientToScreen cannot work when toplevel window is not shown
08:51:01: Debug: ClientToScreen cannot work when toplevel window is not shown
08:51:01: Debug: ClientToScreen cannot work when toplevel window is not shown
08:51:01: Debug: ClientToScreen cannot work when toplevel window is not shown
08:51:01: Debug: ClientToScreen cannot work when toplevel window is not shown
08:51:01: Debug: ClientToScreen cannot work when toplevel window is not shown
08:51:01: Debug: ClientToScreen cannot work when toplevel window is not shown
08:51:01: Debug: Unrecognized accel key 'backspace', accel string ignored.
08:51:01: Debug: Unrecognized accel key 'backspace', accel string ignored.
08:51:01: Debug: Unrecognized accel key 'numpad_enter', accel string ignored.
08:51:01: Debug: Unrecognized accel key 'numpad_enter', accel string ignored.
08:51:01: Debug: ClientToScreen cannot work when toplevel window is not shown
08:51:01: Debug: ClientToScreen cannot work when toplevel window is not shown
08:51:01: Debug: ClientToScreen cannot work when toplevel window is not shown
08:51:01: Debug: ClientToScreen cannot work when toplevel window is not shown
08:51:01: Debug: ClientToScreen cannot work when toplevel window is not shown
08:51:01: Debug: ClientToScreen cannot work when toplevel window is not shown
08:51:01: Debug: ClientToScreen cannot work when toplevel window is not shown
08:51:01: Debug: ClientToScreen cannot work when toplevel window is not shown
08:51:01: Debug: ClientToScreen cannot work when toplevel window is not shown
08:51:01: Debug: ClientToScreen cannot work when toplevel window is not shown
08:51:01: Debug: ClientToScreen cannot work when toplevel window is not shown

steve
Site Admin
Posts: 81609
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: Audacity can't find "libwx_gtk2u_xrc-3.1.so.1" on Oracle Linux

Post by steve » Sun Nov 03, 2019 12:40 pm

FlatAssembler wrote:
Sun Nov 03, 2019 7:52 am
Perhaps related to that, if I start Audacity from command line, I get the following warnings:
Nothing to worry about there. Those messages are "normal".
FlatAssembler wrote:
Sun Nov 03, 2019 7:22 am
Here is the "deviceinfo.txt" file.
That's interesting. According to the device info, you don't have any recording devices and you don't have PulseAudio.

What do you get if you enter in a Terminal window:

Code: Select all

arecord -l
(last character is lower case "L")
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

FlatAssembler
Posts: 17
Joined: Fri Nov 01, 2019 5:32 pm
Operating System: Linux Debian

Re: Audacity can't find "libwx_gtk2u_xrc-3.1.so.1" on Oracle Linux

Post by FlatAssembler » Sun Nov 03, 2019 2:11 pm

steve wrote:
Sun Nov 03, 2019 12:40 pm
FlatAssembler wrote:
Sun Nov 03, 2019 7:52 am
Perhaps related to that, if I start Audacity from command line, I get the following warnings:
Nothing to worry about there. Those messages are "normal".
FlatAssembler wrote:
Sun Nov 03, 2019 7:22 am
Here is the "deviceinfo.txt" file.
That's interesting. According to the device info, you don't have any recording devices and you don't have PulseAudio.

What do you get if you enter in a Terminal window:

Code: Select all

arecord -l
(last character is lower case "L")
OK, here is what I get if I type "arecord -l":

Code: Select all

**** List of CAPTURE Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC255 Analog [ALC255 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

steve
Site Admin
Posts: 81609
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: Audacity can't find "libwx_gtk2u_xrc-3.1.so.1" on Oracle Linux

Post by steve » Sun Nov 03, 2019 4:07 pm

In the absence of PulseAudio, your sound card probably does not support multiple client applications. Is some other application using the recording device? Why don't you have PulseAudio installed?
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

FlatAssembler
Posts: 17
Joined: Fri Nov 01, 2019 5:32 pm
Operating System: Linux Debian

Re: Audacity can't find "libwx_gtk2u_xrc-3.1.so.1" on Oracle Linux

Post by FlatAssembler » Mon Nov 04, 2019 2:48 am

steve wrote:
Sun Nov 03, 2019 4:07 pm
In the absence of PulseAudio, your sound card probably does not support multiple client applications. Is some other application using the recording device? Why don't you have PulseAudio installed?
I don't even know what is PulseAudio. What I do know is that GNOME Cheese can record audio without problems.

Post Reply