Compiling flac on Linux
Reply #5 – 2009-10-19 09:17:49
root@unraid:/etc# more ld.so.conf For your future reference, "less" is a much more powerful pager in the GNU tool chain./usr/local/lib This means /usr/local/lib is already in your /etc/ld.so.conf. For your reference, when you run ldconfig, it updates a cache file called /etc/ld.so.cache to facilitate the linker in finding the dynamic libraries.root@unraid:/etc# ldconfig ldconfig: /usr/lib/libFLAC++.so.6 is not a symbolic link ldconfig: /usr/lib/libFLAC.so.8 is not a symbolic link ldconfig: /usr/lib/libfaad.so.2 is not a symbolic link ldconfig: /usr/lib/libmp3lame.so.0 is not a symbolic link Your have multiple versions of these library installed. Also, these files mentioned in the output should be symlinks, like this:hoor@MagnusOpus:/usr/lib> ls -l libFLAC*&&ls -l libmp3*&&ls -l libfaad* lrwxrwxrwx 1 root root 18 2008-12-22 12:28 libFLAC++.so -> libFLAC++.so.6.2.0 lrwxrwxrwx 1 root root 18 2008-12-22 07:12 libFLAC++.so.6 -> libFLAC++.so.6.2.0 -rwxr-xr-x 1 root root 100632 2008-12-09 14:21 libFLAC++.so.6.2.0 lrwxrwxrwx 1 root root 16 2008-12-22 12:28 libFLAC.so -> libFLAC.so.8.2.0 lrwxrwxrwx 1 root root 16 2008-12-22 07:12 libFLAC.so.8 -> libFLAC.so.8.2.0 -rwxr-xr-x 1 root root 347576 2008-12-09 14:21 libFLAC.so.8.2.0 -rw-r--r-- 1 root root 329366 2008-10-09 16:29 libmp3lame.a -rwxr-xr-x 1 root root 938 2008-10-09 16:29 libmp3lame.la lrwxrwxrwx 1 root root 19 2008-12-22 12:25 libmp3lame.so -> libmp3lame.so.0.0.0 lrwxrwxrwx 1 root root 19 2008-12-22 09:09 libmp3lame.so.0 -> libmp3lame.so.0.0.0 -rwxr-xr-x 1 root root 276036 2008-10-09 16:29 libmp3lame.so.0.0.0 -rw-r--r-- 1 root root 298962 2008-10-10 05:57 libfaad.a -rwxr-xr-x 1 root root 917 2008-10-10 05:57 libfaad.la lrwxrwxrwx 1 root root 16 2008-12-22 12:30 libfaad.so -> libfaad.so.0.0.0 lrwxrwxrwx 1 root root 16 2008-12-22 09:30 libfaad.so.0 -> libfaad.so.0.0.0 -rwxr-xr-x 1 root root 255792 2008-10-10 05:57 libfaad.so.0.0.0 lrwxrwxrwx 1 root root 16 2009-07-04 16:53 libfaad.so.2 -> libfaad.so.2.0.0 -rwxr-xr-x 1 root root 264000 2009-02-10 17:28 libfaad.so.2.0.0 The ones with the "->" are symlinks. You should clean up your /usr/local/lib directory (at the minimum delete those files mentioned in your output) and rerun ldconfig. You will also need to recompile and install lame and faad judging from your output.