Subject: Ghostscript and libttf.so.3
To: None <tech-pkg@NetBSD.org>
From: D'Arcy J.M. Cain <darcy@druid.net>
List: tech-pkg
Date: 07/28/2000 09:36:27
I tried building ghostscript but the gs program fails with this error.

    Shared object "libttf.so.3" not found

The compile had this warning.

./obj/echogs -w ./obj/ldt.tr -n - gcc  -Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib -Wl,-R/usr/lib -L/usr/lib -Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib -Wl,-R/usr/lib -L/usr/lib  -o ./bin/gs
./obj/echogs -a ./obj/ldt.tr -n -s ./obj/gs.o -s
cat ./obj/ld.tr >>./obj/ldt.tr
./obj/echogs -a ./obj/ldt.tr -s -  -lm
LD_RUN_PATH=; export LD_RUN_PATH;  XCFLAGS= XINCLUDE= XLDFLAGS= XLIBDIRS= XLIBS=  FEATURE_DEVS= DEVICE_DEVS= DEVICE_DEVS1= DEVICE_DEVS2= DEVICE_DEVS3=  DEVICE_DEVS4= DEVICE_DEVS5= DEVICE_DEVS6= DEVICE_DEVS7= DEVICE_DEVS8=  DEVICE_DEVS9= DEVICE_DEVS10= DEVICE_DEVS11= DEVICE_DEVS12=  DEVICE_DEVS13= DEVICE_DEVS14= DEVICE_DEVS15= DEVICE_DEVS16=  DEVICE_DEVS17= DEVICE_DEVS18= DEVICE_DEVS19= DEVICE_DEVS20=  /bin/sh <./obj/ldt.tr
/usr/bin/ld: warning: libttf.so.3, needed by /usr/lib/libVFlib2.so, not found (try using --rpath)

When I checked for this library I found this.

-rw-r--r--  1 root  wheel  897142 Jul 25 08:22 libttf.a
-rwxr-xr-x  1 root  wheel     660 Jul 25 08:22 libttf.la
lrwxr-xr-x  1 root  wheel      13 Jul 25 08:22 libttf.so -> libttf.so.4.0
lrwxr-xr-x  1 root  wheel      13 Jul 25 08:22 libttf.so.4 -> libttf.so.4.0
-rwxr-xr-x  1 root  wheel  493764 Jul 25 08:21 libttf.so.4.0

I tried rebuilding Ghostscript again as well as all the packages it depends
on but I still get this error.  I did remove the dependency on the watanabe
fonts as the jp site that carries this seems to be down for some time now.
Is this the piece I need to get?  Does anyone have the watanabe distribution
that they can send me?  Is there some other way to fix this?

-- 
D'Arcy J.M. Cain <darcy@{druid|vex}.net>   |  Democracy is three wolves
http://www.druid.net/darcy/                |  and a sheep voting on
+1 416 425 1212     (DoD#0082)    (eNTP)   |  what's for dinner.