Subject: Re: perl5 ... ld: cannot find -lgdbm ... You have a BIG problem.
To: None <tech-pkg@netbsd.org>
From: Jeremy C. Reed <reed@reedmedia.net>
List: tech-pkg
Date: 12/04/2003 20:43:14
On Thu, 4 Dec 2003, Jeremy C. Reed wrote:

>   ld: cannot find -lgdbm
>   I can't compile the test program.
>   You have a BIG problem.  Shall I abort Configure [y]

So I removed my gdbm package.

And it got past that now it fails with:

 ld: cannot find -liconv
 I can't compile the test program.
 You have a BIG problem.  Shall I abort Configure [y]
 Ok.  Stopping Configure.
 *** Error code 1

This is strange. For some reason, the perl build is seeing the /usr/pkg/*
even when using buildlinking. (Nothing is buildlinked other than
work/.buildlink/bin/ defaults.)

One thing I changed was that I was using SH=ksh and now am using SH=bash.
I tried both ways (after make clean) and no change.

I wonder if it has something to do with the hints/*sh files having the
/usr/pkg paths added at end.

Has anyone else seen this?

   Jeremy C. Reed
   http://bsd.reedmedia.net/