Subject: Re: help building package.
To: FC <qqa-1a89@myamail.com>
From: Jeremy C. Reed <reed@reedmedia.net>
List: netbsd-help
Date: 02/24/2005 08:51:09
On Thu, 24 Feb 2005, FC wrote:

> Can someone help me the get the package php-gettext to work ?
>
> By default php-gettext module is liked with /usr/lib/libintl.so.0 The
> verion of gettext in this library doesn't work because the lookup
> function is not written yet and just return NULL.

What NetBSD release are you using?

Maybe pkgsrc/devel/php-gettext/Makefile needs to list the specific version
of gettext it needs?

> So I try to compile php-gettext package with gnu gettext. I have set
> the environment variable to LD_RUN_PATH, I have added
> --with-gettext=/usr/pkg, I have also tryed a lot bunch of stuff and ldd
> give me always the same answer
> work/php-5.0.3/ext/gettext/modules/gettext.so:
> 	-lintl.0 => /usr/lib/libintl.so.0
>
> How can I get this nodule to be linked with /usr/pkg/lib/libintl.so.2
> insted.

Maybe you can set
  PREFER_PKGSRC+=	gettext
in your mk.conf as a work-around for now.

 Jeremy C. Reed

 	  	 	 technical support & remote administration
	  	 	 http://www.pugetsoundtechnology.com/