Click to See Complete Forum and Search --> : libfreetype.so.6 not found (but it's there!)


opj
03-31-2001, 02:08 PM
Trying to install Koffice (from binary RPM on RH 7) gives a dependency warning that libfreetype.so.6 is not available.
However, it is installed and reports as being in /usr/local/lib/ as expected. The warning is still there after rpm --rebuilddb

Why is this?

regards
Olafur

Choozo
03-31-2001, 04:44 PM
I got something similar (same dependency prob.) in my Mandrake 7.2 while upgrading to XFree86-4.0.3 and KDE-2.1.1.
I also had the libfreetype.so.6 installed, but in another place (/usr/local/games/ShogoDemo/libfreetype.so.6). After installing freetype2-2.0.2-0.20001211.1mdk.i586.rpm (Mandrake) the file was located in /usr/lib/libfreetype.so.6.

Try symlinking the libfreetype.so.6 from /usr/lib to /usr/local/lib (or just copy the file to /usr/lib/)
ln -s /usr/local/lib/libfreetype.so.6 /usr/lib/libfreetype.so.6

Hope that solves it? Cheers :)

Lorithar
04-01-2001, 02:34 PM
*umms*

If it doesn't there are other issues with this library .. (demonstrable if one tries to install ghostscript and printer drivers that require it...*sigh*) ...
Check the Makefile in the top build directory to see where it is looking for the library.. if its pointing at the library correctly, keep in mind that the libraries may need to be chased backwards as follows.-rw-r--r-- 1 root root 1263428 Mar 6 09:43 libfreetype.a
-rwxr-xr-x 1 root root 660 Mar 6 09:43 libfreetype.la*
lrwxrwxrwx 1 root root 20 Mar 6 09:43 libfreetype.so -> libfreetype.so.6.0.1*
lrwxrwxrwx 1 root root 20 Mar 6 09:43 libfreetype.so.6 -> libfreetype.so.6.0.1*
-rwxr-xr-x 1 root root 750346 Mar 6 09:43 libfreetype.so.6.0.1*

-- thats the way mine are linked. Freetype did NOT link them backward to libfreetype.so automatically when I installed it.