Friday, 7 September 2012

Samba 3.6.7 compile Solaris 10, undefined libintl_gettext


Recently I came across this compile issue with Samba on Solaris 10:

Undefined                       first referenced
 symbol                             in file
libintl_gettext                     utils/net.o
libintl_textdomain                  utils/net.o
libintl_bindtextdomain              utils/net.o

Here's how I tried to compile it:

# cd ./source3
# ./configure --without-ldap --without-ads --without-sys-quotas --without-manpages --with-libsmbclient --without-winbind --without-python --enable-shared --disable-cups && make

To sort it I edited ./source3/Makefile and appended -lintl to LIBS=... and re-ran the make

Jobs a good un! :)

--
Steve