Subject: Re: -lintl error for security/libgcrypt on MacOSX
To: Ben Collver <collver@peak.org>
From: Ronald van der Pol <Ronald.vanderPol@rvdp.org>
List: tech-pkg
Date: 10/19/2004 15:57:07
On Tue, Oct 19, 2004 at 06:49:51 -0700, Ben Collver wrote:

> On Tue, Oct 19, 2004 at 02:55:33PM +0200, Ronald van der Pol wrote:
> > security/libgcrypt fails to link to -lintl on MacOSX. When adding
> > -L/usr/pkg/lib it compiles fine.
> > 
> > [...]
> > /bin/sh ../libtool --mode=link gcc -I/Volumes/misc/pkg/include -O2 -I/Volumes/misc/pkg/include -Wall   -L/Volumes/misc/pkg/lib -o prime  prime.o ../src/libgcrypt.la 
> 
> Is libintl in /usr/pkg/lib or in /Volumes/misc/pkg/lib?

Both :-)

spock$ ls -l /usr/pkg   
lrwxr-xr-x  1 root  wheel  17 22 Aug 11:23 /usr/pkg -> /Volumes/misc/pkg

textproc/libxslt
has the same problem.

ln -s /Volumes/misc/pkg/lib/libintl.dylib work/.buildlink/lib
is another way of fixing it.

	rvdp