Undefined symbol libintl_bindtextdomain

Robin Becker robin at reportlab.com
Wed Dec 23 11:08:54 UTC 2009


I am trying to build (FreeBSD 8.0) a bleeding edge python (latest unladen 
swallow) with gcc44 and am getting mostly good results.


However, one of the standard modules is failing to load at runtime because of an 
undefined symbol

libintl_bindtextdomain


I looked in /user/local/lib/libintl.so and see that the symbol is there.

In the module of interest we don't seem to refer to libintl

$ LD_LIBRARY_PATH=`pwd` ldd _locale_failed.so
_locale_failed.so:
         libutil.so.8 => /lib/libutil.so.8 (0x281ad000)
         libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x281bc000)
         libc.so.7 => /lib/libc.so.7 (0x28091000)


however, there are references in the text of _locale_failed.so. Is there an 
implication that a library reference is missing during the build of the module?
-- 
Robin Becker


More information about the freebsd-questions mailing list