svn-1586 Openbsd 4.3 Could not load plugins

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #2557
    youth against youth
    Guest

    Hi, i’ve just installed svn-1586 on OpenBSD 4.3, works like charm (after the STRCASESTR hack in the config.h) except i cant load any plugin.
    If the plugin are presents with the .so.0.0 extention:


    [email protected] /usr/local/mt-daapd/lib/mt-daapd/plugins # mt-daapd -m -D plugin -d 9 -f
    Config entry general/compress is deprecated. Please review the sample config
    Firefly Version svn-1586: Starting with debuglevel 9
    Warning: Could not load plugins
    Starting signal handler
    Initializing database
    Starting web server from /usr/local/mt-daapd/share/mt-daapd/admin-root on port 3689
    Serving 1893 songs. Startup complete in 0 seconds

    with the plugins renamed to .so:


    [email protected] /usr/local/mt-daapd/lib/mt-daapd/plugins # mt-daapd -m -D plugin -d 9 -f
    Config entry general/compress is deprecated. Please review the sample config
    Firefly Version svn-1586: Starting with debuglevel 9
    Attempting to load plugin /usr/local/mt-daapd/lib/mt-daapd/plugins/rsp.so
    mt-daapd:/usr/local/mt-daapd/lib/mt-daapd/plugins/rsp.so: undefined symbol 'pi_db_enum_dispose'
    mt-daapd:/usr/local/mt-daapd/lib/mt-daapd/plugins/rsp.so: undefined symbol 'pi_ws_getrequestheader'
    mt-daapd:/usr/local/mt-daapd/lib/mt-daapd/plugins/rsp.so: undefined symbol 'pi_ws_writefd'
    mt-daapd:/usr/local/mt-daapd/lib/mt-daapd/plugins/rsp.so: undefined symbol 'pi_stream'
    mt-daapd:/usr/local/mt-daapd/lib/mt-daapd/plugins/rsp.so: undefined symbol 'pi_db_enum_start'
    mt-daapd:/usr/local/mt-daapd/lib/mt-daapd/plugins/rsp.so: undefined symbol 'pi_log'
    mt-daapd:/usr/local/mt-daapd/lib/mt-daapd/plugins/rsp.so: undefined symbol 'pi_server_name'
    mt-daapd:/usr/local/mt-daapd/lib/mt-daapd/plugins/rsp.so: undefined symbol 'pi_ws_uri'
    mt-daapd:/usr/local/mt-daapd/lib/mt-daapd/plugins/rsp.so: undefined symbol 'pi_ws_getvar'
    mt-daapd:/usr/local/mt-daapd/lib/mt-daapd/plugins/rsp.so: undefined symbol 'pi_db_enum_end'
    mt-daapd:/usr/local/mt-daapd/lib/mt-daapd/plugins/rsp.so: undefined symbol 'pi_ws_will_close'
    mt-daapd:/usr/local/mt-daapd/lib/mt-daapd/plugins/rsp.so: undefined symbol 'pi_ws_writebinary'
    mt-daapd:/usr/local/mt-daapd/lib/mt-daapd/plugins/rsp.so: undefined symbol 'pi_should_transcode'
    mt-daapd:/usr/local/mt-daapd/lib/mt-daapd/plugins/rsp.so: undefined symbol 'pi_ws_returnerror'
    mt-daapd:/usr/local/mt-daapd/lib/mt-daapd/plugins/rsp.so: undefined symbol 'pi_ws_addresponseheader'
    mt-daapd:/usr/local/mt-daapd/lib/mt-daapd/plugins/rsp.so: undefined symbol 'pi_db_enum_fetch_row'
    mt-daapd:/usr/local/mt-daapd/lib/mt-daapd/plugins/rsp.so: undefined symbol 'pi_ws_matchesrole'
    mt-daapd:/usr/local/mt-daapd/lib/mt-daapd/plugins/rsp.so: undefined symbol 'pi_config_set_status'
    mt-daapd:/usr/local/mt-daapd/lib/mt-daapd/plugins/rsp.so: undefined symbol 'pi_ws_emitheaders'
    mt-daapd:/usr/local/mt-daapd/lib/mt-daapd/plugins/rsp.so: undefined symbol 'pi_server_ver'
    mt-daapd:/usr/local/mt-daapd/lib/mt-daapd/plugins/rsp.so: undefined symbol 'pi_db_count_items'
    Couldn't get lib handle for /usr/local/mt-daapd/lib/mt-daapd/plugins/rsp.so
    Error loading plugin /usr/local/mt-daapd/lib/mt-daapd/plugins/rsp.so: Cannot load specified object
    Warning: Could not load plugins
    Starting signal handler
    Initializing database
    Starting web server from /usr/local/mt-daapd/share/mt-daapd/admin-root on port 3689

    The stream works flawlessy but without the RSP plugin I cannot run crossfire(right?)
    Any help is appreciated 🙂
    thank you

    #17450
    scot
    Participant

    [edited when I read the whole post]…

    I just rebuilt and tested on -current from this week

    [email protected]:/usr/local/mt-daapd % uname -a
    OpenBSD spooky.indievisible.org 4.4 GENERIC.MP#0 amd64

    [email protected]:/usr/local/mt-daapd % more INSTALL-NOTES-SCB

    (1) change the == -1 to != 0 in mp3_scanner.c scan function
    (2) ./configure –enable-howl –enable-sqlite –with-howl-includes=/usr/local/include/howl –with-howl-libs=/usr/local –with-id3tag=/usr/local –prefix=/usr/local/mt-daapd
    (3) the .so files for the share/plugins aren’t installed, do those by hand

    The config.h no longer needs editing after being run (4.4 change, 4.3 may still need it.)

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