xineliboutput undefined reference to symbol 'dlopen@@GLIBC_2.1'

  • ich komm nicht so recht weiter damit :


    Code
    cc -g -Wall -O2 -fPIC -c -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DUSE_GRAPHTFT -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"xineliboutput"' -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DXINELIBOUTPUT_VERSION='"1.0.90-cvs"' -DNOSIGNAL_IMAGE_FILE='"/usr/share/libxine1-xvdr/nosignal.mpg"' -Wall -I/usr/include/dvb-s2api-liplianin -I/usr/include/vdr/include -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  -o xine_frontend_main.o xine_frontend_main.c
    cc -g -Wall -O2 -fPIC -c -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DUSE_GRAPHTFT -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"xineliboutput"' -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DXINELIBOUTPUT_VERSION='"1.0.90-cvs"' -DNOSIGNAL_IMAGE_FILE='"/usr/share/libxine1-xvdr/nosignal.mpg"' -Wall -I/usr/include/dvb-s2api-liplianin -I/usr/include/vdr/include -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  -o xine_frontend_lirc.o xine_frontend_lirc.c
    cc -g -Wall -O2 -fPIC -c -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DUSE_GRAPHTFT -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"xineliboutput"' -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DXINELIBOUTPUT_VERSION='"1.0.90-cvs"' -DNOSIGNAL_IMAGE_FILE='"/usr/share/libxine1-xvdr/nosignal.mpg"' -Wall -I/usr/include/dvb-s2api-liplianin -I/usr/include/vdr/include -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  -o xine_frontend_kbd.o xine_frontend_kbd.c
    cc -g -Wall -O2 -fPIC -Wl,-Bsymbolic-functions xine_sxfe_frontend.o xine_frontend.o logdefs.o xine/post.o xine/vo_hook.o xine/vo_osdscaler.o xine/vo_osdreorder.o xine/vo_lastpts.o tools/rle.o tools/vdrdiscovery.o xine_frontend_main.o xine_frontend_lirc.o xine_frontend_kbd.o tools/gnome_screensaver.o -lX11 -lXext -lXrender -lXrandr -lXinerama -lGL -lGLU -lglut -L//lib -ldbus-glib-1 -ldbus-1 -lpthread -lgobject-2.0 -lgthread-2.0 -lrt -lglib-2.0 -lm -lxine -ljpeg -lpthread -o vdr-sxfe
    /usr/bin/ld: xine_sxfe_frontend.o: undefined reference to symbol 'dlopen@@GLIBC_2.1'
    /usr/bin/ld: note: 'dlopen@@GLIBC_2.1' is defined in DSO /lib/libdl.so.2 so try adding it to the linker command line
    /lib/libdl.so.2: could not read symbols: Invalid operation
    collect2: ld returned 1 exit status
    make[1]: *** [vdr-sxfe] Fehler 1


    habs auch damit schon versucht :
    http://fedoraproject.org/wiki/UnderstandingDSOLinkChange
    aber ohne erfolg


    in conigure ist das -ldl schon :weinen

  • Hallo Hotzenplotz,


    EDIT: mein Posting war Unfug. Hier läuft das Linken auch ohne -ldl durch.


    Keine Idee. :(


    Gruß, Ingo

  • Moin!


    Zitat

    Original von hotzenplotz5
    in conigure ist das -ldl schon :weinen


    Ich sehe es aber nicht auf der Kommandozeile - da scheint also irgendwo noch was zu haken. Kenne mich aber nicht mit dem configure-Kram aus...


    Lars.

  • Nach einem apt-get dist-upgrade bekomme ich das jetzt auch unter Debian wheezy. Die Fehlermeldung bekommt man mit einer Änderung im Makefile vom xineliboutput-Plugin weg:

    Code
    #NOSIGNAL_IMAGE_FILE=/usr/share/vdr/xineliboutput/nosignal.mpv
    #STARTUP_IMAGE_FILE=/usr/share/vdr/xineliboutput/logodisplay.mpv
    XINELIBOUTPUT_CONFIGURE_OPTS = --add-cflags=L/lib/libdl.so.2
    
    
    
    
    ###

    Dummerweise läuft man dann gleich in den nächsten Fehler, der sich mit genannter Variante nicht beseitigen läßt:

    Code
    /usr/bin/ld: xine_frontend_lirc.o: undefined reference to symbol 'pthread_join@@GLIBC_2.0'
    /usr/bin/ld: note: 'pthread_join@@GLIBC_2.0' is defined in DSO /lib/libpthread.so.0 so try adding it to the linker command line
    /lib/libpthread.so.0: could not read symbols: Invalid operation

    Noch jemand eine Idee? :schiel


    Gruß
    iNOB

  • Hmm.., -lpthread steht eigentlich schon da. Fälschlicherweise sogar 2x

  • Wenn man im Plugin-Verzeichnis von xineliboutput ein "make conf" macht und anschließend in der generierten "config.mak" folgendes ändert, compilierts durch:

    Code
    LIBS_AVUTIL +=  -lavutil
    LIBS_PTHREAD += -lpthread
    LIBS_VDR    +=  -lextractor

    Jetzt muss sich nur noch jemand finden, der das richtig einbaut...


    Gruß
    iNOB

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!