Subject: pkg/15051: japanese/texfamily fails to install
To: None <gnats-bugs@gnats.netbsd.org>
From: None <ryoh@jaist.ac.jp>
List: netbsd-bugs
Date: 12/25/2001 20:11:47
>Number:         15051
>Category:       pkg
>Synopsis:       japanese/texfamily fails to install
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Dec 25 03:12:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Ryo HAYASAKA
>Release:        NetBSD 1.5ZA and the latest pkgsrc
>Organization:
Japan Advanced Institute of Science and Technology (JAIST)
>Environment:
System: NetBSD bonnie.jaist.ac.jp 1.5ZA NetBSD 1.5ZA (BONNIE) #179: Mon Dec 24 07:04:38 JST 2001 root@bonnie.jaist.ac.jp:/c/src/sys/arch/i386/compile/BONNIE i386
Architecture: i386
Machine: i386
>Description:
make all is done successfully.  But dvi2ps, during the installation, doesn't 
work because of a dynamic linking failure.

$ make install
...
===> real-su-install [TeXfamily-1.2.1nb1] ===> [Automatic manual page handling]
===> real-su-install [TeXfamily-1.2.1nb1] ===> Compressing manual pages for TeXfamily-1.2.1nb1
===> fake-pkg [TeXfamily-1.2.1nb1] ===> Registering installation for TeXfamily-1.2.1nb1
TeXfamily-1.2.1nb1 requires installed package TeXfamily-share-1.2.1nb1
TeXfamily-1.2.1nb1 requires installed package dialog-0.6z
TeXfamily-1.2.1nb1 requires installed package freetype-lib-1.3.1
TeXfamily-1.2.1nb1 requires installed package ja-vflib-lib-2.24.2
TeXfamily-1.2.1nb1 requires installed package libwww-5.3.2nb1
TeXfamily-1.2.1nb1 requires installed package perl-5.6.1nb6
TeXfamily-1.2.1nb1 requires installed package png-1.0.12
TeXfamily-1.2.1nb1 requires installed package teTeX-1.0.7nb1
TeXfamily-1.2.1nb1 requires installed package teTeX-bin-1.0.7nb1
TeXfamily-1.2.1nb1 requires installed package teTeX-share-1.0.2nb1
TeXfamily-1.2.1nb1 requires installed package teTeX-sharesrc-1.0.1nb1
TeXfamily-1.2.1nb1 requires installed package texi2html-1.64
/usr/pkg/bin/dvi2ps:     -lVFlib2.24 => not found
         -lttf.4 => not found
         -lintl.1 => not found
*** The above programs/libs will not find the listed shared libraries
    at runtime. Please fix the package (add -Wl,-R.../lib in the right places)!
*** Error code 1

Stop.
make: stopped in /c/pkgsrc/japanese/texfamily

>How-To-Repeat:
cd to pkgsrc/japanese/texfamily, and then make install.

>Fix:
Add -Wl,-R option to gcc during the compilation.

>Release-Note:
>Audit-Trail:
>Unformatted: