Bug 9478 - libintl.h checks are successful but there is no -lintl in $LIBS
libintl.h checks are successful but there is no -lintl in $LIBS
Status: NEW
Product: Samba 3.6
Classification: Unclassified
Component: Build environment
x86 Solaris
: P5 normal
: ---
Assigned To: Björn Jacke
Samba QA Contact
Depends on:
  Show dependency treegraph
Reported: 2012-12-07 15:39 UTC by Björn Baumbach
Modified: 2012-12-07 15:40 UTC (History)
0 users

See Also:

config.log (3.95 MB, text/plain)
2012-12-07 15:39 UTC, Björn Baumbach
no flags Details
Makefile (124.52 KB, application/octet-stream)
2012-12-07 15:40 UTC, Björn Baumbach
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Björn Baumbach 2012-12-07 15:39:35 UTC
Created attachment 8301 [details]

Checks for libintl are successful:
configure:13822: checking libintl.h usability
configure:13822: result: yes

configure:13822: checking libintl.h presence
configure:13822: result: yes


But: net.o can not link against libintl because -lintl is missing.
Linking bin/net
Undefined                       first referenced
 symbol                             in file
libintl_gettext                     utils/net.o
libintl_textdomain                  utils/net.o
libintl_bindtextdomain              utils/net.o
ld: fatal: symbol referencing errors. No output written to bin/net
collect2: ld returned 1 exit status
make: *** [bin/net] Error 1

Add -lintl manually to LIBS and "bin/pam_winbind.so:" in the Makefile before running make.
Comment 1 Björn Baumbach 2012-12-07 15:40:13 UTC
Created attachment 8302 [details]