You are here: Home » Topic » GDBM error on Fedora 8

GDBM error on Fedora 8

This topic contains 7 replies, has 5 voices, and was last updated by  Anonymous 9 years ago.

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #2035

    zak_neutron
    Participant

    Hi

    On ./configure command I’m getting

    configure: error: gdbm.h not found... try --with-gdbm-includes=dir

    And yet Fedora 8 reports gdbm installed:

    Package gdbm - 1.8.0-27.fc7.i386 is already installed.

    I’m afraid I’m going show my ignorance – 😳 but I don’t know what gdbm is – I tried locate gdbm and it returned:

    /usr/lib/libgdbm.so.2
    /usr/lib/libgdbm.so.2.0.0
    /usr/lib/python2.5/lib-dynload/gdbmmodule.so
    /usr/share/doc/gdbm-1.8.0
    /usr/share/doc/gdbm-1.8.0/COPYING
    /usr/share/doc/gdbm-1.8.0/NEWS
    /usr/share/doc/gdbm-1.8.0/README
    /usr/share/mime/application/x-gdbm.xml

    BTW This is mt-daapd-0.2.4.1 version.

    Any Thoughts?

    🙂

    #15218

    rpedde
    Participant

    @zak_neutron wrote:

    Hi

    On ./configure command I’m getting

    configure: error: gdbm.h not found... try --with-gdbm-includes=dir

    And yet Fedora 8 reports gdbm installed:

    Package gdbm - 1.8.0-27.fc7.i386 is already installed.

    I’m afraid I’m going show my ignorance – 😳 but I don’t know what gdbm is – I tried locate gdbm and it returned:

    /usr/lib/libgdbm.so.2
    /usr/lib/libgdbm.so.2.0.0
    /usr/lib/python2.5/lib-dynload/gdbmmodule.so
    /usr/share/doc/gdbm-1.8.0
    /usr/share/doc/gdbm-1.8.0/COPYING
    /usr/share/doc/gdbm-1.8.0/NEWS
    /usr/share/doc/gdbm-1.8.0/README
    /usr/share/mime/application/x-gdbm.xml

    BTW This is mt-daapd-0.2.4.1 version.

    Any Thoughts?

    🙂

    To compile, you’ll need gdmb-devel as well. That’s what it’s looking for, the headers and stuff.

    — Ron

    #15219

    lemon
    Participant

    @zak_neutron wrote:

    Hi
    Any Thoughts?

    🙂

    I had the same problem on ubuntu.

    I needed to install libgdbm-dev and libid3tag0-dev to make it work. I guess it’s the same on Fedora.

    #15220

    Anonymous

    Can anyone tell me where to find these two packages? (libgdbm-dev and libid3tag0-dev)

    When I have built and installed these packages, will I need to restart FireFly?

    I’m trying to start the mdia server by calling:

    /usr/local/sbin/mt-daapd  -c /etc/mt-daapd.conf

    The error returned is:

    /usr/local/sbin/mt-daapd: can't load library 'libgdbm.so.3'

    I’m trying to install FireFly on a Western Digital MyBook. I’m quite a bit of a newbie in Linux. So if you know, please treat me as a moron 🙂

    ..

    Oh yeah, I followed the instruction from:
    http://wiki.fireflymediaserver.org/MyBook_World_Edition_Install (almost) to the letter, only the configuration file does not mention the db_type (wich ought to be set to sqlite3) anymore. Is there any way I can contact the wiki page author(s)?

    #15221

    Anonymous

    After some more snooping around, and trying to install the missing libraries, I think I’ve found the issuea. I don’t have a clue how to solve it though. WhenI list the shared libraries of my FireFly installation like this:

    ldd -r  /usr/local/sbin/mt-daapd

    The following is returned:

    -r:
    -r: No such file or directory
    /usr/local/sbin/mt-daapd:
    libpthread.so.0 => /lib/libpthread.so.0 (0x4000d00
    libgdbm.so.3 => not found
    libid3tag.so.0 => not found
    libc.so.0 => /lib/libc.so.0 (0x40028000)
    ld-uClibc.so.0 => /lib/ld-uClibc.so.0 (0x40000000)

    Which seem to indicate that I’m missing both libgdbm and libid3tag, although I have installed these. (I think)

    I thought the FireFly configure command checked these dependecies before it allowed me to perform make and make install

    Any ideas?

    #15222

    Anonymous

    Guess I overlooked a part of the instructions, where I was instructed to put soft-links to the appropriate directory:

    # ln -s /usr/local/lib/libid3tag.so.0 /lib/libid3tag.so.0
    # ln -s /usr/local/lib/libsqlite3.so.0 /lib/libsqlite3.so.0

    This solves this issue, now I have to figure out why I’m not able to reach the web interface…

    #15223

    EVILRipper
    Participant

    Try checking the log. Also try raising the debuglevel up to level 9 if the log gives no clues as to what goes wrong.

    firefly does a scan on startup. After the scan the webinterface gets fired up. If something goes wrong on the scan, firefly dies and the webinterface is never fired up. That is the most likely cause.

    #15224

    Anonymous

    You are right.

    I’ve got around 10.000 files in the library, so scanning it took some time.

    I saw that that one of the processes was quite active, so I just waited, and after some time the web interface became active…. all is well!

Viewing 8 posts - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.