Subject: Re: kde2 build
To: None <>
From: Chuck Cranor <>
List: tech-pkg
Date: 07/06/2001 18:43:19
In article <>,
Chuck Cranor <> wrote:
>    what am i doing wrong here?   why isn't "-L/usr/pkg/lib" on the
>c++ line?  this is off a pkgsrc i cvs'd last night.

>/usr/bin/ld: cannot open -lpng: No such file or directory
>collect2: ld returned 1 exit status
>gmake[3]: *** [] Error 1
>gmake[3]: Leaving directory `/usr/users/chuck/src/netbsd/cur/pkgsrc/x11/kdelibs2

this appears to be due to "buildlink" stuff.  adding
some strategic symbolic links in work/.buildlink/qt2/lib
fixed the error.

jlam: did you test this pkg after adding buildlink?   
can you test again?

Chuck Cranor                  
Senior Technical Staff Member
Internet and Networking Systems Research Lab
AT&T Labs-Research, Florham Park, NJ