You are here: Home » Reply

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



@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:

[email protected]# cp contrib/mt-daapd /etc/rc.d/init.d
[email protected]# /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: cannot open shared object file: No such file or directory

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.