Stan.Pietkiewicz at statcan.gc.ca
2011-Mar-28 20:08 UTC
[Samba] Build error with Samba 3.5.6
I'm trying to build Samba 3.5.6 with winbind enabled on a Solaris 10 machine and I've hit the following errors: Error without -lintl in the Makefile: Undefined first referenced symbol in file libintl_gettext utils/net.o (symbol belongs to implicit dependency /usr/local/lib/libintl.so.8) libintl_textdomain utils/net.o (symbol belongs to implicit dependency /usr/local/lib/libintl.so.8) libintl_bindtextdomain utils/net.o (symbol belongs to implicit dependency /usr/local/lib/libintl.so.8) ld: fatal: Symbol referencing errors. No output written to bin/net Error with -lintl in the Makefile: Linking shared library bin/pam_winbind.so Undefined first referenced symbol in file libintl_bindtextdomain ../nsswitch/pam_winbind.o libintl_dgettext ../nsswitch/pam_winbind.o ld: fatal: Symbol referencing errors. No output written to bin/pam_winbind.so I did find some posts (archived email to the Samba list) with this error, and I've tried the suggested solutions, but it still fails. Any suggestions? Thanks..... Stan
Stan.Pietkiewicz at statcan.gc.ca
2011-Mar-29 17:51 UTC
[Samba] Build error with Samba 3.5.6
Now I'm really puzzled.... elfdump shows both libintl_bindtextdomain and libintl_dgettext as being valid symbols (global functions) in the .text segment in /usr/local/lib/libintl.so. The next part of the puzzle is from lib/security/pam_winbind.so (which is where the build attempt with -lintl declared in the makefile fails) from Sunfreeware's version 3.4.2 of Samba shows up as undefined in the output from elfdump. Is there some magic "ignore-this-error-because-it's-irrelevant" command line option or undocumented feature for ld to go ahead with generating the .so file? Thanks..... Stan -----Original Message----- From: samba-bounces at lists.samba.org [mailto:samba-bounces at lists.samba.org] On Behalf Of Stan.Pietkiewicz at statcan.gc.ca Sent: March-28-11 4:09 PM To: samba at lists.samba.org Subject: [Samba] Build error with Samba 3.5.6 I'm trying to build Samba 3.5.6 with winbind enabled on a Solaris 10 machine and I've hit the following errors: Error without -lintl in the Makefile: Undefined first referenced symbol in file libintl_gettext utils/net.o (symbol belongs to implicit dependency /usr/local/lib/libintl.so.8) libintl_textdomain utils/net.o (symbol belongs to implicit dependency /usr/local/lib/libintl.so.8) libintl_bindtextdomain utils/net.o (symbol belongs to implicit dependency /usr/local/lib/libintl.so.8) ld: fatal: Symbol referencing errors. No output written to bin/net Error with -lintl in the Makefile: Linking shared library bin/pam_winbind.so Undefined first referenced symbol in file libintl_bindtextdomain ../nsswitch/pam_winbind.o libintl_dgettext ../nsswitch/pam_winbind.o ld: fatal: Symbol referencing errors. No output written to bin/pam_winbind.so I did find some posts (archived email to the Samba list) with this error, and I've tried the suggested solutions, but it still fails. Any suggestions? Thanks..... Stan -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba