Home » Uncategorized » hint pango freetype compile error

hint pango freetype compile error

http://forums.gentoo.org/viewtopic.php?t=58151

This seems to be a problem with freetype library install.

Versions: Pango 1.2.1-r1
Freetype 2.1.4

I got it to pass by editing the libfontconfig.la file:

nano -w /usr/lib/libfontconfig.la

Changed 2 lines to remove the prefix:

/var/tmp/portage/freetype-2.1.4/image/

Then removed the link in /usr/lib to /usr/lib/libfreetype.la

Cp /usr/lib/libfontconfig.la /usr/lib/libfreetype.la

The contents of this file are now:

more /usr/lib/libfreetype.la
# libfreetype.la – a libtool library file
# Generated by ltmain.sh – GNU libtool 1.5 (1.1220 2003/04/05 19:32:58)
#
# Please DO NOT delete this file!
# It is necessary for linking the library.

# The name that we can dlopen(3).
dlname=’libfreetype.so.1′

# Names of this library.
library_names=’libfreetype.so.6 libfreetype.so.6.3.3 libfreetype.so’

# The name of the static archive.
old_library=’libfreetype.a’

# Libraries that this one depends upon.
#dependency_libs=’ /var/tmp/portage/freetype-2.1.4/image//usr/lib/libfreetype.la -lz /usr/lib/libexpat.la’
#dependency_libs=’ /usr/lib/libfreetype.la -lz /usr/lib/libexpat.la’

# Version information for libfontconfig.
current=6
age=3
revision=3

# Is this an already installed library?
installed=yes

# Should we warn about portability when linking against -modules?
shouldnotlink=no

# Files to dlopen/dlpreopen
dlopen=”
dlpreopen=”

# Directory that this library needs to be installed in:
libdir=’/usr/lib’


ln -sf freetype.la /usr/lib/x86_64..

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s