Subject: Re: Compiling gnomebaker
To: None <netbsd-help@NetBSD.org>
From: James K. Lowden <jklowden@schemamania.org>
List: netbsd-help
Date: 03/22/2006 22:09:04
Christoph Leuzinger wrote:
> > Those references are from the GNU gettext version of libintl not the
> > native NetBSD version of libintl.
> 
> OK. So how can I use GNU gettext? I have gettext-lib installed from 
> pkgsrc, but obviously I didn't manage to actually use it to build 
> gnomebaker.

Have you used CFLAGS=-I/usr/pkg/include and LDFLAGS to point to
/usr/pkg/lib?  

You want the linker to see -L/usr/pkg/lib and -R/usr/pkg/lib.  The latter
puts a path in the executable's header so the runtime linker knows to look
there for the library.  ("For compatibility with other ELF linkers, if the
`-R' option is followed by a directory name, rather than a file name, it
is treated as the `-rpath' option.")

HTH.  

--jkl