Bug 9478 - libintl.h checks are successful but there is no -lintl in $LIBS
Summary: libintl.h checks are successful but there is no -lintl in $LIBS
Status: NEW
Alias: None
Product: Samba 3.6
Classification: Unclassified
Component: Build environment (show other bugs)
Version: 3.6.9
Hardware: x86 Solaris
: P5 normal
Target Milestone: ---
Assignee: Björn Jacke
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-07 15:39 UTC by Björn Baumbach
Modified: 2012-12-07 15:40 UTC (History)
0 users

See Also:


Attachments
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]
config.log

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

ac_cv_header_libintl_h=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

Workaround:
===========
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]
Makefile