Running SuSE 9.2. I’ve built and installed lidid3tag, sqlite 2.8.17 and mt-daapd. Here is what happens:
gromit:/home/andy # /usr/local/sbin/mt-daapd &
gromit:/home/andy # /usr/local/sbin/mt-daapd: error while loading shared libraries: libid3tag.so.0: cannot open shared object file: No such file or directory
+ Exit 127 /usr/local/sbin/mt-daapd
I checked and libid3tag.so.0 is in /usr/local/lib. /usr/local/lib is listed in /etc/ld.so.conf.
Just to give you a shortcut on that, there is another problem that causes problems when installed to /usr/local.
The sample config file has everything pointing to /usr (/usr/share/mt-daapd/admin_root, for example), but if you didn’t configure with –prefix=/usr, then they are in /usr/local/share/mt-daapd/admin_root.
So double check that. Also, make the db_dir (/var/cache/mt-daapd) and make sure it has read/write permissions for the runas users. Lastly, verify that the mp3_dir has at least read permissions for the runas user.
1. ./configure —prefix=/usr
2. Checked to make sure libid3tag was available. It is in /usr/local/lib. I went into /etc/ld.so.conf.d. I created a file called libid3tag with the lines /usr/local/lib in it. I then ran ldconfig
I get the error “while loading shared libraries: libid3tag.so.0: cannot open shared object file: No such file or directory”