Page 1 of 1

vlc does not start up - Problem: NeAACDecOpen

Posted: 04 Dec 2006 14:45
by fritzbee21
hi,

I installed the vlc with yast from packman webside, everything looks quite well, but the vlc does not start up.


command line:

vlc: error while loading shared libraries: /usr/lib/libavcodec.so: undefined symbol: NeAACDecOpen

rpm -q --whatprovides libavcodec.so
tells me

libffmpeg0-devel-0.4.9-7.pm.svn20061008

I have this libffmpeg0-develpackage already installed and the file is in the path
/usr/lib

lrwxrwxrwx 1 root root 21 2006-12-04 14:41 libavcodec.so -> libavcodec.so.51.16.0

ls libavcodec*
libavcodec.a libavcodec.so libavcodec.so.51 libavcodec.so.51.16.0

looks good, but what is the problem ?

Posted: 04 Dec 2006 15:22
by Teetrinker

Posted: 04 Dec 2006 15:24
by funman
hello

the problem is that libfaad or libfaac aren't installed, or too old, or too new versions

Posted: 04 Dec 2006 17:47
by fritzbee21
those libfaad packages from packman are currently installed.

I tried it manually again with the command line

rpm -i libfaad ...


system tells me package is already installed


in the meanwhile I know thats a problem with the nero aac decoder, contains to the faad2 package.
I tried following with yast:

delete faad2 paykage -> yast removes vlc and some other stuff
installed again only faad2 from packman
installed vlc from packman -> system tells me that other stuff is required
installed all with yast from packman

-> no changes at all

perhabs the stuff is not linked correctly ?



ldd -r /usr/lib/libavcodec.so.51


linux-gate.so.1 => (0xffffe000)
libavutil.so.49 => /usr/lib/libavutil.so.49 (0x40443000)
libm.so.6 => /lib/tls/libm.so.6 (0x40449000)
libz.so.1 => /lib/libz.so.1 (0x4046b000)
libmp3lame.so.0 => /usr/lib/libmp3lame.so.0 (0x4047d000)
libvorbis.so.0 => /usr/lib/libvorbis.so.0 (0x4050f000)
libvorbisenc.so.2 => /usr/lib/libvorbisenc.so.2 (0x40536000)
libogg.so.0 => /usr/lib/libogg.so.0 (0x40634000)
libxvidcore.so.4 => /usr/lib/libxvidcore.so.4 (0x40639000)
libfaac.so.0 => /usr/lib/libfaac.so.0 (0x40748000)
libfaad.so.0 => /usr/local/lib/libfaad.so.0 (0x40759000)
libc.so.6 => /lib/tls/libc.so.6 (0x40795000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
libmp4v2.so.0 => /usr/lib/libmp4v2.so.0 (0x408aa000)
libdl.so.2 => /lib/libdl.so.2 (0x40956000)
libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0x40959000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x40a16000)
undefined symbol: NeAACDecOpen (/usr/lib/libavcodec.so.51)
undefined symbol: NeAACDecGetCurrentConfiguration (/usr/lib/libavcodec.so.51)
undefined symbol: NeAACDecSetConfiguration (/usr/lib/libavcodec.so.51)
undefined symbol: NeAACDecInit (/usr/lib/libavcodec.so.51)
undefined symbol: NeAACDecInit2 (/usr/lib/libavcodec.so.51)
undefined symbol: NeAACDecDecode (/usr/lib/libavcodec.so.51)
undefined symbol: NeAACDecGetErrorMessage (/usr/lib/libavcodec.so.51)



Beitrag Verfasst am: 2006-Dez-04, 16:02 Titel: vlc startet nicht -> Problem: NeAACDecOpen
Antworten mit Zitat
ich habe mir den VLC über die Packman Seite mit allen notwendigen Packeten installiert.
Wenn ich nun VLC per Kommandozeile öffnen möchte bekomme ich

vlc: error while loading shared libraries: /usr/lib/libavcodec.so: undefined symbol: NeAACDecOpen

hier im Forum habe ich den Hinweis gefunden, das der Nero AAC Decoder nicht richtig installiert ist, das Teil liegt im faad2 Packet.

Also faad2 deinstalliert (dann wirft yast auch den vlc und andere Packete raus) und erstmal neu nur das faad2 neu installiert.
Danach vlc neu installiert (yast holt sich auch diverse andere Packete).

Hat allerdings nichts gebracht, ich habe immer noch die Fehlermeldung.

Per KDE kann ich den VLC garnicht starten, es erscheint zwar kurz in der unteren Programmleiste, verschwindet dann aber wieder.

Hat jemand nen Tip ?
Es scheint ja nur am Nero AAC Decoder zu liegen und nicht am vlc selbst


ldd -r /usr/lib/libavcodec.so.51
linux-gate.so.1 => (0xffffe000)
libavutil.so.49 => /usr/lib/libavutil.so.49 (0x40443000)
libm.so.6 => /lib/tls/libm.so.6 (0x40449000)
libz.so.1 => /lib/libz.so.1 (0x4046b000)
libmp3lame.so.0 => /usr/lib/libmp3lame.so.0 (0x4047d000)
libvorbis.so.0 => /usr/lib/libvorbis.so.0 (0x4050f000)
libvorbisenc.so.2 => /usr/lib/libvorbisenc.so.2 (0x40536000)
libogg.so.0 => /usr/lib/libogg.so.0 (0x40634000)
libxvidcore.so.4 => /usr/lib/libxvidcore.so.4 (0x40639000)
libfaac.so.0 => /usr/lib/libfaac.so.0 (0x40748000)
libfaad.so.0 => /usr/local/lib/libfaad.so.0 (0x40759000)
libc.so.6 => /lib/tls/libc.so.6 (0x40795000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
libmp4v2.so.0 => /usr/lib/libmp4v2.so.0 (0x408aa000)
libdl.so.2 => /lib/libdl.so.2 (0x40956000)
libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0x40959000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x40a16000)
undefined symbol: NeAACDecOpen (/usr/lib/libavcodec.so.51)
undefined symbol: NeAACDecGetCurrentConfiguration (/usr/lib/libavcodec.so.51)
undefined symbol: NeAACDecSetConfiguration (/usr/lib/libavcodec.so.51)
undefined symbol: NeAACDecInit (/usr/lib/libavcodec.so.51)
undefined symbol: NeAACDecInit2 (/usr/lib/libavcodec.so.51)
undefined symbol: NeAACDecDecode (/usr/lib/libavcodec.so.51)
undefined symbol: NeAACDecGetErrorMessage (/usr/lib/libavcodec.so.51)


ls libavcodec*
libavcodec.a libavcodec.so libavcodec.so.51 libavcodec.so.51.16.0

Posted: 04 Dec 2006 18:39
by Teetrinker
Which faad2 version is installed (rpm -q faad2)?

I don't have any trouble here with SuSE 10.0
Which SuSE version do you use?

Posted: 04 Dec 2006 21:15
by fritzbee21
rpm -q faad2
->
faad2-2.5-0.pm.2


thats the faad2 from packman, installed with yast.
I am running suse version 9.1 on that pc, on my server the is 10.0 running well with vlc.

Posted: 04 Dec 2006 21:41
by Teetrinker
There is no recent VLC build for SuSE 9.1 you could try to rebuild the newest src RPM from PackMan.

rpmbuild --rebuild vlc-0.8.5-2.pm.8.src.rpm

This may fail, because of to old libs/dependency. If your firm with rpm spec files you can try if the problem is only the spec file and adjust it.

Posted: 04 Dec 2006 22:59
by fritzbee21
ok then the problem is not the faad package ?
for 9.1 is only 0.8.2 available and not 0.8.5 - thats the peoblem ?


but there must be a way to run vlc under 9.1 !

Posted: 04 Dec 2006 23:22
by Teetrinker
ok then the problem is not the faad package ?
for 9.1 is only 0.8.2 available and not 0.8.5 - thats the peoblem ?
The faad2 rpm for SuSE 9.1 doesn't fit to the VLC rpm. Try to contact the one who build the SuSE 9.1 RPM.
but there must be a way to run vlc under 9.1 !
You could try to rebuild the latest VLC src RPM(vlc-0.8.5-2.pm.8.src.rpm) from PackMan. You also could try to rebuild the latest src RPM(vlc-0.8.2-1.pm.1.src.rpm - not the newest version) for SuSE 9.1.

Or you can build VLC from source http://www.videolan.org/vlc/download-sources.html

You may also consider to update to a newer SuSE version. Its up to you.

Posted: 06 Dec 2006 12:38
by fritzbee21
ok I installed 9.3, now its running :D