bug-libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Wrong search path


From: Reinhard Zwirnmann
Subject: Wrong search path
Date: Mon, 20 Dec 2004 18:01:10 +0100
User-agent: KMail/1.6.1

Hi,

I have a problem compiling pango-1.8:
While compiling the sources I get the following error message:

/bin/sh ../../libtool --mode=link gcc  -g -O2 -Wall   -o ottest  ottest.o 
disasm.o libpango-ot.la -lfontconfig   -L/usr/local/lib -Wl,--rpath 
-Wl,/usr/local/lib -lfreetype -lz
libtool: link: cannot find the library `/usr/lib/libfreetype.la'
make[4]: *** [ottest] Fehler 1
make[4]: Leaving directory `/home/zwirni/pango-1.8.0/pango/opentype'
make[3]: *** [all-recursive] Fehler 1

The library libfreetype.la is in the directory /usr/local/lib, but it seems as 
if libtool is looking in the dir /usr/lib though /usr/local/lib is in the 
command.
On my SuSE system has been an older, not sufficient version of freetype 
in /usr/lib. I removed this package and installed the newer freetype version 
from sources in /usr/local/lib.
A workaround might be to copy or link the files to /usr/lib, but this 
shouldn't be the final solution I think.
The actual libtool version I use is 1.5

Thanks for answers,
Reinhard Zwirnmann




reply via email to

[Prev in Thread] Current Thread [Next in Thread]