Page 1 of 1

Compiled VLC/live555 : cannot load module

Posted: 10 Oct 2009 20:42
by DrGonzo
Hi,

Here is my problem, I compiled latest VLC and live555 without any error. But after that I realized the live555 module wasn't operational. And here is what I got when I do "vlc -l -vvv" :

[0x821e8a8] main libvlc warning: cannot load module `/usr/local/src/vlc-1.0.2/modules/demux/.libs/liblive555_plugin.so' (/usr/local/src/vlc-1.0.2/modules/demux/.libs/liblive555_plugin.so: undefined symbol: _Z6strDupPKc)

Here is the result of ldd -r :

debianVM:/usr/local/src# ldd -r /usr/local/src/vlc-1.0.2/modules/demux/.libs/liblive555_plugin.so
undefined symbol: _Z6strDupPKc (/usr/local/src/vlc-1.0.2/modules/demux/.libs/liblive555_plugin.so)
linux-gate.so.1 => (0xb8076000)
libpthread.so.0 => /lib/i686/cmov/libpthread.so.0 (0xb7ff4000)
libvlccore.so.2 => /usr/local/src/vlc-1.0.2/src/.libs/libvlccore.so.2 (0xb7f1d000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb7e2a000)
libm.so.6 => /lib/i686/cmov/libm.so.6 (0xb7e04000)
libc.so.6 => /lib/i686/cmov/libc.so.6 (0xb7ca5000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7c7a000)
/lib/ld-linux.so.2 (0xb8077000)
libdbus-1.so.3 => /lib/libdbus-1.so.3 (0xb7c41000)
librt.so.1 => /lib/i686/cmov/librt.so.1 (0xb7c37000)
libdl.so.2 => /lib/i686/cmov/libdl.so.2 (0xb7c33000)
undefined symbol: _ZN9HashTable8IteratorC2Ev (/usr/local/src/vlc-1.0.2/modules/demux/.libs/liblive555_plugin.so)
undefined symbol: _ZN9HashTableD2Ev (/usr/local/src/vlc-1.0.2/modules/demux/.libs/liblive555_plugin.so)
undefined symbol: _ZN9HashTableC2Ev (/usr/local/src/vlc-1.0.2/modules/demux/.libs/liblive555_plugin.so)
undefined symbol: _ZN9HashTable8IteratorD2Ev (/usr/local/src/vlc-1.0.2/modules/demux/.libs/liblive555_plugin.so)
undefined symbol: _ZN9HashTable10RemoveNextEv (/usr/local/src/vlc-1.0.2/modules/demux/.libs/liblive555_plugin.so)
undefined symbol: _ZN9Groupsock6outputER16UsageEnvironmenthPhjP20DirectedNetInterface (/usr/local/src/vlc-1.0.2/modules/demux/.libs/liblive555_plugin.so)
undefined symbol: _ZN9Groupsock21removeAllDestinationsEv (/usr/local/src/vlc-1.0.2/modules/demux/.libs/liblive555_plugin.so)
undefined symbol: _ZN9Groupsock19wasLoopedBackFromUsER16UsageEnvironmentR11sockaddr_in (/usr/local/src/vlc-1.0.2/modules/demux/.libs/liblive555_plugin.so)
undefined symbol: _ZN9Groupsock17multicastSendOnlyEv (/usr/local/src/vlc-1.0.2/modules/demux/.libs/liblive555_plugin.so)
undefined symbol: _Z10strDupSizePKc (/usr/local/src/vlc-1.0.2/modules/demux/.libs/liblive555_plugin.so)
undefined symbol: _ZN9Groupsock27changeDestinationParametersERK7in_addr4Porti (/usr/local/src/vlc-1.0.2/modules/demux/.libs/liblive555_plugin.so)
undefined symbol: _ZN9GroupsockC1ER16UsageEnvironmentRK7in_addrS4_4Port (/usr/local/src/vlc-1.0.2/modules/demux/.libs/liblive555_plugin.so)
undefined symbol: _ZN9GroupsockC1ER16UsageEnvironmentRK7in_addr4Porth (/usr/local/src/vlc-1.0.2/modules/demux/.libs/liblive555_plugin.so)
undefined symbol: _ZTI9HashTable (/usr/local/src/vlc-1.0.2/modules/demux/.libs/liblive555_plugin.so)
undefined symbol: _ZTIN9HashTable8IteratorE (/usr/local/src/vlc-1.0.2/modules/demux/.libs/liblive555_plugin.so)

Im out of idea here. If anyone had a clue ...

Thx.

Julien

Re: Compiled VLC/live555 : cannot load module

Posted: 12 Oct 2009 17:29
by RĂ©mi Denis-Courmont
live555 cannot be dynamically linked. If you are not happy, complain to the live555 maintainer.

Re: Compiled VLC/live555 : cannot load module

Posted: 15 Oct 2009 13:15
by DrGonzo
Thx for the answer. What's the workaround then, how should I proceed to get live support ?

Re: Compiled VLC/live555 : cannot load module

Posted: 29 Oct 2009 19:03
by wew
I have run into the exact same problem, using live.2009.09.28.tar.gz cannot load module.

The package live.2009.09.04.tar.gz works fine.

I can create a diff to see what has changed in the versions if you like.
I should also let the live555 guys know that this is an issue.

If you cannot get your hands on 2009.09.04, let me know I have it saved.

wew

Re: Compiled VLC/live555 : cannot load module

Posted: 05 Nov 2009 07:48
by waster2007
Here is the answer from the support of liveMedia:
You need to resolve this on a VLC mailing list. The VLC developers already have an established, long-standing mechanism for linking our software into VLC
Can VLC developers comment this?

Thanks.

Re: Compiled VLC/live555 : cannot load module

Posted: 05 Nov 2009 14:40
by xtophe
Well, it'll be either to comment if you could point us to the forum or mailing list thread where this come from

Then it will be worth to check what has changed between 09.04 and 09.28. According to the changelog version 09.21 claims to have "better static libraries" . so tracking the change on the makefile and on what make the static lib better would be a good star.

Sadly the live555 author doesn't provide access to his VCS (if he even use one). so that doen't make this work very easy

Re: Compiled VLC/live555 : cannot load module

Posted: 05 Nov 2009 14:46
by waster2007
I just sent email to the support about this problem and give them link to this thread. I also tried to run VLC 1.0.3 with latest liveMedia and no luck.

Re: Compiled VLC/live555 : cannot load module

Posted: 05 Nov 2009 14:48
by xtophe

Re: Compiled VLC/live555 : cannot load module

Posted: 05 Nov 2009 23:25
by cconroy
xtophe seems to be right. reverting the relevant portion in config.linux has finally gotten me past this issue.