ports/162421: lang/python32 fails to build (undefined reference
to `libintl_dcgettext')
Jan Beich
jbeich at tormail.net
Thu Nov 10 08:30:13 UTC 2011
The following reply was made to PR ports/162421; it has been noted by GNATS.
From: Jan Beich <jbeich at tormail.net>
To: Martin Tournoij <martin at arp242.net>
Cc: bug-followup at FreeBSD.org
Subject: Re: ports/162421: lang/python32 fails to build (undefined reference to `libintl_dcgettext')
Date: Thu, 10 Nov 2011 11:28:26 +0600
Martin Tournoij <martin at arp242.net> writes:
> [/ports/lang/python32]# make
> ===> Building for python32-3.2.2_2
> ... CFLAGS="-I/usr/local/include/ " ...
> clang -pthread -pthread -Wl,--export-dynamic -o python Modules/python.o -L. -lpython3.2mu -lutil -lm
> ./libpython3.2mu.so: undefined reference to `libintl_dcgettext'
> ./libpython3.2mu.so: undefined reference to `libintl_gettext'
> ./libpython3.2mu.so: undefined reference to `libintl_dgettext'
> ./libpython3.2mu.so: undefined reference to `libintl_textdomain'
> ./libpython3.2mu.so: undefined reference to `libintl_bindtextdomain'
> clang: error: linker command failed with exit code 1 (use -v to see invocation)
> *** Error code 1
Known as ports/136917, try to apply the first[1] patch in it.
Many ports are not prepared to have -I${LOCALBASE}/include in CFLAGS.
[1] http://www.freebsd.org/cgi/query-pr.cgi?pr=ports%2F136917&getpatch=1
More information about the freebsd-python
mailing list