Ghostscript and FreeType

Pol Vangheluwe pol.vangheluwe at belgacom.net
Fri Aug 19 14:25:27 PDT 2011


Op 19-aug-2011, om 22:34 heeft Ken Moffat het volgende geschreven:

>> Ubuntu (the host system for my LFS-6.8):
>> 
>> pol [ ~/ghostscript-9.00 ]$ ls -l /ubuntu/root/usr/lib/libfree*
>> lrwxrwxrwx 1 root root     21 20 mrt 19:24
>> /ubuntu/root/usr/lib/libfreetype.so.6 -> libfreetype.so.6.3.16
>> -rw-r--r-- 1 root root 529064 21 sep  2007
> 
> umm, 529k for the old version on ubuntu
> 
>> /ubuntu/root/usr/lib/libfreetype.so.6.3.16
>> pol [ ~/ghostscript-9.00 ]$ ls -l /usr/lib/libfree*
>> -rw-r--r-- 1 root root 3454556 13 aug 21:25 /usr/lib/libfreetype.a
>> -rwxr-xr-x 1 root root     947 13 aug 21:25 /usr/lib/libfreetype.la
>> lrwxrwxrwx 1 root root      20 13 aug 21:25 /usr/lib/libfreetype.so ->
>> libfreetype.so.6.6.2
>> lrwxrwxrwx 1 root root      20 13 aug 21:25 /usr/lib/libfreetype.so.6 ->
>> libfreetype.so.6.6.2
>> -rwxr-xr-x 1 root root 2263311 13 aug 21:25 /usr/lib/libfreetype.so.6.6.2
>> 
> and 2M for your new version.  i.e. your new one is about 4 times *bigger*
> (perhaps because ubuntuś is stripped).
> 
> ISTR you use an old-world (ppc) powermac ?  Maybe itś a ppc-specific
> problem.
> 
> ĸen

I indeed use an old-world powermac (incredible that such an old platform still runs the latest Linux code).
I could build LFS-6.8 on it with almost no problems.
I also installed meanwhile some BLFS stuff without any problems.
ghostscript is the first "real" problem I encounter on this machine.

I now built FreeType on the same machine (on /usr/local) under Ubuntu (make-3.81 and gcc-4.2) and this is the result:

pol at ppc7600:~/freetype-2.4.4$ ls -l /usr/local/lib/libf*
-rw-r--r-- 1 root root 3156020 2011-08-19 22:44 /usr/local/lib/libfreetype.a
-rwxr-xr-x 1 root root     953 2011-08-19 22:44 /usr/local/lib/libfreetype.la
lrwxrwxrwx 1 root root      20 2011-08-19 22:44 /usr/local/lib/libfreetype.so -> libfreetype.so.6.6.2
lrwxrwxrwx 1 root root      20 2011-08-19 22:44 /usr/local/lib/libfreetype.so.6 -> libfreetype.so.6.6.2
-rwxr-xr-x 1 root root 2053310 2011-08-19 22:44 /usr/local/lib/libfreetype.so.6.6.2

As you can see, I have again that big library, just as my build under LFS (make-3.82 and gcc-4.5.2).
That makes me think that my LFS is OK.
Still have no idea why Ghostscript cannot link with an external FreeType…

pvg


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfromscratch.org/pipermail/blfs-support/attachments/20110819/c5a411f8/attachment.html>


More information about the blfs-support mailing list