Fails to load the ssc-ffmpeg.so plugin

FireFly Media Server Firefly Media Server Forums Firefly Media Server Nightlies Feedback Fails to load the ssc-ffmpeg.so plugin

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1394
    lrc
    Participant

    Hi,
    Firefly fails to load the ssc-ffmpeg.so login. All other plugins are load without any problems. Can anyone figure whats wrong ?

    My installation is Linux – Fedora Core 6.

    Firefly are configured like this:
    ./configure –enable-sqlite3 –enable-ffmpeg –with-ffmpeg-includes=/usr/local/include/ffmpeg

    The logfile shows:

    2007-05-17 17:33:22 (b7f756c0): Firefly Version svn-1549: Starting with debuglevel 8
    2007-05-17 17:33:22 (b7f756c0): Loaded plugin /usr/local/share/mt-daapd/plugins/rsp.so (rsp/svn-1549)
    2007-05-17 17:33:22 (b7f756c0): Loaded plugin /usr/local/share/mt-daapd/plugins/ssc-script.so (ssc-script/svn-1549)
    2007-05-17 17:33:22 (b7f756c0): Couldn’t get lib handle for /usr/local/share/mt-daapd/plugins/ssc-ffmpeg.so
    2007-05-17 17:33:22 (b7f756c0): Error loading plugin /usr/local/share/mt-daapd/plugins/ssc-ffmpeg.so: /usr/local/share/mt-daapd/plugins/ssc-ffmpeg.so: undefined symbol: log
    2007-05-17 17:33:22 (b7f756c0): Loaded plugin /usr/local/share/mt-daapd/plugins/out-daap.so (daap/svn-1549)
    2007-05-17 17:33:22 (b7f756c0): Plugin loaded: daap/svn-1549
    2007-05-17 17:33:22 (b7f756c0): Plugin loaded: ssc-script/svn-1549
    2007-05-17 17:33:22 (b7f756c0): Plugin loaded: rsp/svn-1549
    2007-05-17 17:33:22 (b7f756c0): Starting rendezvous daemon
    2007-05-17 17:33:22 (b7f756c0): Starting signal handler
    2007-05-17 17:33:22 (b7f756c0): Initializing database
    2007-05-17 17:33:22 (b7f756c0): Starting web server from /usr/local/share/mt-daapd/admin-root on port 3689
    2007-05-17 17:33:22 (b7f756c0): Listening on port 3689
    2007-05-17 17:33:22 (b7f756c0): Starting server thread
    2007-05-17 17:33:22 (b7f756c0): Registering rendezvous names
    2007-05-17 17:33:22 (b7f756c0): Serving 1492 songs. Startup complete in 0 seconds

    LRC[/quote][/code]

    #10793
    rpedde
    Participant

    @lrc wrote:

    Hi,
    Firefly fails to load the ssc-ffmpeg.so login. All other plugins are load without any problems. Can anyone figure whats wrong ?

    My installation is Linux – Fedora Core 6.

    Firefly are configured like this:
    ./configure –enable-sqlite3 –enable-ffmpeg –with-ffmpeg-includes=/usr/local/include/ffmpeg

    The logfile shows:

    2007-05-17 17:33:22 (b7f756c0): Firefly Version svn-1549: Starting with debuglevel 8
    2007-05-17 17:33:22 (b7f756c0): Loaded plugin /usr/local/share/mt-daapd/plugins/rsp.so (rsp/svn-1549)
    2007-05-17 17:33:22 (b7f756c0): Loaded plugin /usr/local/share/mt-daapd/plugins/ssc-script.so (ssc-script/svn-1549)
    2007-05-17 17:33:22 (b7f756c0): Couldn’t get lib handle for /usr/local/share/mt-daapd/plugins/ssc-ffmpeg.so
    2007-05-17 17:33:22 (b7f756c0): Error loading plugin /usr/local/share/mt-daapd/plugins/ssc-ffmpeg.so: /usr/local/share/mt-daapd/plugins/ssc-ffmpeg.so: undefined symbol: log
    2007-05-17 17:33:22 (b7f756c0): Loaded plugin /usr/local/share/mt-daapd/plugins/out-daap.so (daap/svn-1549)
    2007-05-17 17:33:22 (b7f756c0): Plugin loaded: daap/svn-1549
    2007-05-17 17:33:22 (b7f756c0): Plugin loaded: ssc-script/svn-1549
    2007-05-17 17:33:22 (b7f756c0): Plugin loaded: rsp/svn-1549
    2007-05-17 17:33:22 (b7f756c0): Starting rendezvous daemon
    2007-05-17 17:33:22 (b7f756c0): Starting signal handler
    2007-05-17 17:33:22 (b7f756c0): Initializing database
    2007-05-17 17:33:22 (b7f756c0): Starting web server from /usr/local/share/mt-daapd/admin-root on port 3689
    2007-05-17 17:33:22 (b7f756c0): Listening on port 3689
    2007-05-17 17:33:22 (b7f756c0): Starting server thread
    2007-05-17 17:33:22 (b7f756c0): Registering rendezvous names
    2007-05-17 17:33:22 (b7f756c0): Serving 1492 songs. Startup complete in 0 seconds

    LRC

    [/code][/quote]

    is /usr/local/lib in your /etc/ld.so.conf?

    #10794
    lrc
    Participant

    Hi
    Thanks for a quick reply rpedde.

    I have entered /usr/local/lib in the /etc/ld.so.conf file, rebuild firefly and rebooted. But firefly can still not load the ssc-ffmpeg.so plugin.

    LRC

    #10795
    rpedde
    Participant

    @lrc wrote:

    Hi
    Thanks for a quick reply rpedde.

    I have entered /usr/local/lib in the /etc/ld.so.conf file, rebuild firefly and rebooted. But firefly can still not load the ssc-ffmpeg.so plugin.

    LRC

    I really don’t see where that symbol is defined, or where it should come from. Can you post the output of ldd against the ssc-ffmpeg.so plugin?


    foo@bar:~$ ldd /path/to/ssc-ffmpeg.so

    Thanks.

    #10796
    lrc
    Participant

    Hi rpedde
    The output from ldd is:
    [root@lrcsrv01 ~]# ldd /usr/local/share/mt-daapd/plugins/ssc-ffmpeg.so
    linux-gate.so.1 => (0x003c8000)
    libdl.so.2 => /lib/libdl.so.2 (0x00110000)
    libpthread.so.0 => /lib/libpthread.so.0 (0x00114000)
    libid3tag.so.0 => /usr/lib/libid3tag.so.0 (0x0012b000)
    libz.so.1 => /usr/lib/libz.so.1 (0x0013f000)
    libsqlite3.so.0 => /usr/lib/libsqlite3.so.0 (0x00a06000)
    libFLAC.so.7 => /usr/lib/libFLAC.so.7 (0x0074d000)
    libc.so.6 => /lib/libc.so.6 (0x00b11000)
    /lib/ld-linux.so.2 (0x80000000)
    libm.so.6 => /lib/libm.so.6 (0x00152000)

    LRC

    #10797
    lrc
    Participant

    Hi,
    This problem really troubels me.

    I’ve done some further testing on this issue. I tried to add the “enable-flac” when I configure firefly. It changes the the reference to the undefined symbol from “log” to “avcodec_pix_fmt_to_codec_tag”. The symbol is defined in the ffmpeg-package. It could indicate that it is some of the lib’s from the ffmpeg-package which are not referenced or found. But I cannot figure why.

    Please help !

    The logoutput are now:

    2007-05-21 21:53:52 (b7fcc6c0): Couldn’t get lib handle for /usr/local/share/mt-daapd/plugins/ssc-ffmpeg.so
    2007-05-21 21:53:52 (b7fcc6c0): Error loading plugin /usr/local/share/mt-daapd/plugins/ssc-ffmpeg.so: /usr/local/share/mt-daapd/plugins/ssc-ffmpeg.so: undefined symbol: avcodec_pix_fmt_to_codec_tag

    LRC

    #10798
    rpedde
    Participant

    @lrc wrote:

    Hi,
    This problem really troubels me.

    I’ve done some further testing on this issue. I tried to add the “enable-flac” when I configure firefly. It changes the the reference to the undefined symbol from “log” to “avcodec_pix_fmt_to_codec_tag”. The symbol is defined in the ffmpeg-package. It could indicate that it is some of the lib’s from the ffmpeg-package which are not referenced or found. But I cannot figure why.

    Please help !

    The logoutput are now:

    2007-05-21 21:53:52 (b7fcc6c0): Couldn’t get lib handle for /usr/local/share/mt-daapd/plugins/ssc-ffmpeg.so
    2007-05-21 21:53:52 (b7fcc6c0): Error loading plugin /usr/local/share/mt-daapd/plugins/ssc-ffmpeg.so: /usr/local/share/mt-daapd/plugins/ssc-ffmpeg.so: undefined symbol: avcodec_pix_fmt_to_codec_tag

    LRC

    You should be using –enable-flac and –enable-oggvorbis both.

    #10799
    lrc
    Participant

    Hi
    Thanks rpdde –
    Unfortunately adding “–enable-oggvorbis” does not resolve my basic problem – ssc-ffmpeg.so plugin fails to load.

    I’m not an expert in libraries, symbols etc. But running:
    nm -u ssc-ffmpeg.so shows that the symbol “avcodec_pix_fmt_to_codec_tag” are undefined. I anticipate this means that this symbol should be defined in another plugin, library or mt-daapd itselv, but until now I have not been able to find the symbol.

    Any idea of what I should look for or is this a wrong path ??

    LRC

Viewing 8 posts - 1 through 8 (of 8 total)
  • The forum ‘Nightlies Feedback’ is closed to new topics and replies.