[pulseaudio-discuss] [PATCH] build-sys: Link utf8-test to libpulsecommon.
Dalleau, Frederic
frederic.dalleau at intel.com
Mon Aug 13 08:22:13 PDT 2012
Hi Tanu,
On Mon, Aug 6, 2012 at 2:07 PM, Tanu Kaskinen <tanu.kaskinen at digia.com> wrote:
> Fixes this:
> /usr/bin/ld: utf8_test-utf8-test.o: undefined reference to symbol 'pa_log_set_level'
> /usr/bin/ld: note: 'pa_log_set_level' is defined in DSO /home/takaskin/dev/pulseaudio/src/.libs/libpulsecommon-2.98.so so try adding it to the linker command line
> /home/takaskin/dev/pulseaudio/src/.libs/libpulsecommon-2.98.so: could not read symbols: Invalid operation
Same issue here on a ubuntu 12.04. The patch fixes the issue for me.
I guess this is a difference in linker behavior (1) and the fact that
libpulse has an implicit linking to libpulsecommon (2). If I try to
compile the sample in (1) I get an error.
Best regards,
Frédéric
(1) https://fedoraproject.org/wiki/UnderstandingDSOLinkChange
(2) ~/projects/git/pulseaudio(master *$%)> ldd ./src/.libs/libpulse.so
... libpulsecommon-2.98.so =>
/home/fredo/projects/git/pulseaudio/src/.libs/libpulsecommon-2.98.so
(0xb76e4000) ...
More information about the pulseaudio-discuss
mailing list