Missing libraries from cairo-dev and freetype2-devel

Trying to build git gimp raises an error about missing libcairo.la and libfreetype.la
/usr/lib/ does not have those files though the build manifest shows they should be included.

Both cairo-devel and freetype2-devel have been installed, rpm query produces;

cairo-devel-1.10.2-6.11.1.i586 and freetype2-devel-2.4.4-6.1.i586

This is my first attempt at using SUSE, so it maybe I am missing something elementary

TIA

Can you check the following command


rpm -ql freetype2-devel | grep libfreetype

on my 11.4 system it results in


/usr/lib64/libfreetype.a
/usr/lib64/libfreetype.la
/usr/lib64/libfreetype.so

but I have the freetype version from the muzlocker repository (improved
subpixel hinting).


PC: oS 11.3 64 bit | Intel Core2 Quad Q8300@2.50GHz | KDE 4.6.3 | GeForce
9600 GT | 4GB Ram
Eee PC 1201n: oS 11.4 64 bit | Intel Atom 330@1.60GHz | KDE 4.6.0 | nVidia
ION | 3GB Ram

Thanks, the output is;

owen@linux-cb8u:~> rpm -ql freetype2-devel | grep libfreetype
/usr/lib/libfreetype.so

And nothing more. Same for libcairo

owen@linux-cb8u:~> rpm -ql cairo-devel | grep libcairo
/usr/lib/libcairo-gobject.so
/usr/lib/libcairo-script-interpreter.so
/usr/lib/libcairo.so

So it looks like it wasn’t in the packages I downloaded. Mmmm, I will look for other repositories. (muzlocker?)

I have libcairo.la in a separate area where I built the cairo version from source. Linking that to /usr/lib/libcairo.la fixes one problem, will probably have to do the same for freetype2

Thank you for your reply

For 11.4 it is this one
http://download.opensuse.org/repositories/home:/muzlocker/openSUSE_11.4
you will need to change cairo and freetype to it to keep it consistent.


PC: oS 11.3 64 bit | Intel Core2 Quad Q8300@2.50GHz | KDE 4.6.3 | GeForce
9600 GT | 4GB Ram
Eee PC 1201n: oS 11.4 64 bit | Intel Atom 330@1.60GHz | KDE 4.6.0 | nVidia
ION | 3GB Ram