You are not logged in.

#1 2011-06-02 07:05:03

djeikyb
Member
Registered: 2011-06-02
Posts: 5

[SOLVED] Alsa works, but not pulse (pulseaudio: symbol lookup error)

SOLUTION: Fixed in latest pulseaudio. Build from latest git, or use AUR.

I've just installed Arch following the beginner's guide, managing to get an up to date system, Xorg working with Awesome, and positive results with systemd. My next goal was basic audio and video.

  1. I installed Alsa, added myself to the audio group, tested the playback and recording with arecord and aplay, no problems.

  2. I installed mplayer2, which pulled `libpulse=0.9.22-2` as a dependency.

  3. Mplayer2 did not work. It looked like it had something to do with pulseaudio, but I didn't look too hard before removing mplayer2 and libpulse.

  4. Installed pulseaudio, pavucontrol, paprefs, avahi. I want to use mplayer2, but mostly I want pulseaudio for its own merits, especially its network transparency. I'm also hoping it fixes a skype problem.

  5. Tried running `pulseaudio --start`, but it fails returning this error:

[jake@clyde pkg]$ pulseaudio --start
pulseaudio: symbol lookup error: /usr/lib/libpulsecommon-0.9.22.so: undefined symbol: STRING

Here's also a snippet of strace, I can post the full log if it would help.

[jake@clyde ~]$ strace -f pulseaudio --start
...
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\220\r\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=16064, ...}) = 0
mmap2(NULL, 18804, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb6e91000
mmap2(0xb6e95000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3) = 0xb6e95000
close(3)                                = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6e90000
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6e8f000
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6e8e000
set_thread_area({entry_number:-1 -> 6, base_addr:0xb6e8e700, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0
mprotect(0xb7038000, 311296, PROT_READ|PROT_WRITE) = 0
mprotect(0xb7038000, 311296, PROT_READ|PROT_EXEC) = 0
mprotect(0xb7099000, 4096, PROT_READ)   = 0
mprotect(0xb70b2000, 4096, PROT_READ)   = 0
mprotect(0xb7242000, 8192, PROT_READ)   = 0
mprotect(0xb7270000, 4096, PROT_READ)   = 0
mprotect(0xb7275000, 4096, PROT_READ)   = 0
mprotect(0xb727f000, 4096, PROT_READ)   = 0
mprotect(0xb729d000, 4096, PROT_READ)   = 0
mprotect(0xb72e8000, 4096, PROT_READ)   = 0
writev(2, [{"pulseaudio", 10}, {": ", 2}, {"symbol lookup error", 19}, {": ", 2}, {"/usr/lib/libpulsecommon-0.9.22.s"..., 33}, {": ", 2}, {"undefined symbol: STRING", 24}, {"", 0}, {"", 0}, {"\n", 1}], 10pulseaudio: symbol lookup error: /usr/lib/libpulsecommon-0.9.22.so: undefined symbol: STRING
) = 93
exit_group(127)                         = ?

Hope someone can point me in the right direction. I'm liking Arch so far. It feels like Slackware, but without the dependency hell!

Last edited by djeikyb (2011-06-23 20:51:22)

Offline

#2 2011-06-03 02:54:32

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,355

Re: [SOLVED] Alsa works, but not pulse (pulseaudio: symbol lookup error)

Are you fully updated?


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#3 2011-06-03 03:46:05

djeikyb
Member
Registered: 2011-06-02
Posts: 5

Re: [SOLVED] Alsa works, but not pulse (pulseaudio: symbol lookup error)

Yep. I ran these commands as root before posting, and again just now, to eliminate that problem;

pacman -Syy
pacman -Syu

Offline

#4 2011-06-07 23:48:57

ANOKNUSA
Member
Registered: 2010-10-22
Posts: 2,141

Re: [SOLVED] Alsa works, but not pulse (pulseaudio: symbol lookup error)

I get the same error when trying to start mplayer or mpd.  libpulse is of course installed, but pulseaudio isn't (I've never used it).

Offline

#5 2011-06-08 16:36:39

rickeyski
Member
Registered: 2011-01-27
Posts: 25

Re: [SOLVED] Alsa works, but not pulse (pulseaudio: symbol lookup error)

I know there is an issue with pulse and xcb-util 3.8,  taken from the awesome-git aur page
http://sources.gentoo.org/cgi-bin/viewv … threv=HEAD

Gentoo's Bugzilla
http://bugs.gentoo.org/show_bug.cgi?id=364965

Last edited by rickeyski (2011-06-08 18:31:28)

Offline

#6 2011-06-09 00:53:17

ANOKNUSA
Member
Registered: 2010-10-22
Posts: 2,141

Re: [SOLVED] Alsa works, but not pulse (pulseaudio: symbol lookup error)

Downgrading to Awesome stable and xcb-util 3.6 took care of this, as well as some dbus errors I was getting.  I'm not sure how to apply that patch, and won't bother for now; once again, I'm taught that using the bloodiest-edge doesn't always jibe with stability. tongue

Offline

#7 2011-06-09 22:17:20

Csosa
Member
Registered: 2009-07-28
Posts: 54

Re: [SOLVED] Alsa works, but not pulse (pulseaudio: symbol lookup error)

Please see
https://bbs.archlinux.org/viewtopic.php?pid=945812
to continue this problem.

Offline

#8 2011-06-09 22:18:50

Csosa
Member
Registered: 2009-07-28
Posts: 54

Re: [SOLVED] Alsa works, but not pulse (pulseaudio: symbol lookup error)

rickeyski wrote:

I know there is an issue with pulse and xcb-util 3.8,  taken from the awesome-git aur page
http://sources.gentoo.org/cgi-bin/viewv … threv=HEAD

Gentoo's Bugzilla
http://bugs.gentoo.org/show_bug.cgi?id=364965


Thank you for this find! Your links have been mentioned in the awesome-git AUR page:
http://aur.archlinux.org/packages.php?ID=13916

Offline

#9 2011-06-23 20:39:02

djeikyb
Member
Registered: 2011-06-02
Posts: 5

Re: [SOLVED] Alsa works, but not pulse (pulseaudio: symbol lookup error)

I installed pulseaudio-git 20110616-1 a couple days ago. Didn't need to apply the patch, and I don't see evidence of it in the PKGBUILD. Pulseaudio is basically working; mplayer and skype now install and work; I get to keep awesome's latest git. Haven't had opportunity to try any of the cool things like transparent audio over lan.

Offline

Board footer

Powered by FluxBB