Reply To: Fedora 8 issues with -cp flag and GDBM

#15408
rpedde
Participant

@egg-box wrote:

When running the suggested command to get mt-daapd to start at boot:

cp contrib/mt-daapd /etc/rc.d/init.d /sbin/chkconfig –add mt-daapd

I am returned the following error message:

cp: unrecognized option `–add’
Try `cp –help’ for more information.

Now, my Linux knowledge isn’t that extensive, so i’m unaware of what flag i should be using in place of –add?

This one is fairly easy:

foo@bar# cp contrib/mt-daapd /etc/rc.d/init.d
foo@bar# /sbin/chkconfig –add mt-daapd

Two separate commands, y’see.

Secondly, when trying to run the following command to start mt-daapd manually:

./contrib/mt-daapd start

I am given the following error:

Starting DAAP server: mt-daapd: error while loading shared libraries: libgdbm.so.3: cannot open shared object file: No such file or directory
[FAILED]

I have both gdbm and gdbm-devel installed, and i can’t remember seeing any relevant errors during the configure / install of mt-daapd.

This one is harder. Did you compile from source? If so, then it should be build to the gdbm version you have. Unless maybe it’s a lib32/lib64 issue. Is this a 64bit cpu?

I think fc8 is multiarch, and sometimes with old broken (like mine!) packages, it gets ticked off about the lib32/64 thing.

Wonder if that could be it.