Results 1 to 4 of 4

Thread: Missing libraries from cairo-dev and freetype2-devel

  1. #1

    Default 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

  2. #2
    Join Date
    Feb 2010
    Location
    Germany
    Posts
    4,654

    Default Re: Missing libraries from cairo-dev and freetype2-devel

    Can you check the following command
    Code:
    rpm -ql freetype2-devel | grep libfreetype
    on my 11.4 system it results in

    Code:
    /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

  3. #3

    Default Re: Missing libraries from cairo-dev and freetype2-devel

    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

  4. #4
    Join Date
    Feb 2010
    Location
    Germany
    Posts
    4,654

    Default Re: Missing libraries from cairo-dev and freetype2-devel

    For 11.4 it is this one
    http://download.opensuse.org/reposit.../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

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •