Subject: Re: problems trying to build psiconv
To: Johnny C. Lam <jlam@netbsd.org>
From: Steven M. Bellovin <smb@research.att.com>
List: netbsd-users
Date: 02/04/2003 22:48:44
In message <20030204184145.GA12926@NetBSD.ORG>, "Johnny C. Lam" writes:
>On Mon, Feb 03, 2003 at 02:28:39PM -0500, Steve Bellovin wrote:
>> 
>> /bin/sh ../../libtool --mode=link cc  -O2 -I/usr/pkg/include -I/usr/X11R6/in
>clude -Wall -Wunused  -O2 -I/usr/pkg/include -I/usr/X11R6/include -Wall -Wall 
>-Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -o psi
>conv  psiconv.o gen_html.o  gen_html4.o gen_txt.o gen_rtf.o  gen_image.o gen_l
>atex.o magick-aux.o ../../lib/psiconv/libpsiconv.la -lMagick -ltiff -ljasper -
>ljpeg -lpng -lXext -lXt -lSM -lICE -lX11 -lbz2 -lz -lm -L/usr/pkg/lib -Wl,-R/u
>sr/X11R6/lib -L/usr/X11R6/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -L/usr/X11R6/l
>ib 
>> mkdir .libs
>> libtool: link: cannot find the library `/usr/pkgsrc/converters/psiconv/work/
>.buildlink/lib/libbz2.la'
>> *** Error code 1
>> 
>> I believe that my pkgsrc is reasonably up to date, and I did do a 'make 
>> clean' first.
>
>I've just committed a change to bzip2/buildlink2.mk that may solve this
>problem.  Please update your pkgsrc and let me know if it works.

Seems to have done the trick; thanks.

		--Steve Bellovin, http://www.research.att.com/~smb (me)
		http://www.wilyhacker.com (2nd edition of "Firewalls" book)