pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkgsrc and Linux Slackware: "ld: cannot find -lintl"



When I modify the Makefile, adding:
.include "../../devel/gettext-lib/buildlink3.mk"

"p5-Locale-libintl" will compile and install.
should I tell the maintainer or send a PR ?

On Sun, 23 Jul 2006 17:44:41 +0200, Joel CARNAT <joel%carnat.net@localhost> 
wrote:
> Hi,
> 
> I'm trying to get "misc/p5-Locale-libintl" under Slackware 10.2 (in xen2
> domU).
> Pkgsrc sources are from 2006Q2.
> The error is:
> #########################################################
> ===> Building for p5-Locale-libintl-1.16
> rm -f ../blib/arch/auto/Locale/gettext_xs/gettext_xs.so
> LD_RUN_PATH="/usr/pkg/lib" gcc  -Wl,-R/usr/pkg/lib -shared -L/usr/pkg/lib
> gettext_xs.o -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib
> -o ../blib/arch/auto/Locale/gettext_xs/gettext_xs.so       -lintl
> /usr/lib/gcc-lib/i486-slackware-linux/3.3.6/../../../../i486-slackware-linux/bin/ld:
> cannot find -lintl
> collect2: ld returned 1 exit status
> *** Error code 1
> #########################################################
> 
> There is no libintl* on Slackware because since libc6, it should be
> included in libc.so (from what I was told by a Linux/Slack guy). Those
> libs were installed in /usr/pkg by gettext-lib-0.14.5nb2 but the ld don't
> seem to use them:
> #########################################################
> /usr/pkg/lib/libintl.a
> /usr/pkg/lib/libintl.la
> /usr/pkg/lib/libintl.so
> /usr/pkg/lib/libintl.so.3
> /usr/pkg/lib/libintl.so.3.4.3
> #########################################################
> 
> I found some related problems in ML and PR but no solutions :-(
> This modules compiles well on NetBSD 3.0 / sparc64.
> Anyone knows what's to be done to compile my perl module on that Linux
> domU?
> 
> TIA,
>    Jo
> 
> --
> This mail was virtually send by NetBSD/xen
-- 
This mail was virtually send by NetBSD/xen




Home | Main Index | Thread Index | Old Index