Bug 1430 - LD_LIBRARY_PATH required in addition to --with-libiconv
Summary: LD_LIBRARY_PATH required in addition to --with-libiconv
Status: RESOLVED WORKSFORME
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: Build environment (show other bugs)
Version: 3.0.4
Hardware: Sparc Solaris
: P3 minor
Target Milestone: none
Assignee: Tim Potter
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-04 12:30 UTC by Witold (mail address dead)
Modified: 2013-02-18 13:30 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Witold (mail address dead) 2004-06-04 12:30:53 UTC
Solaris 8 2/04 with GCC 3.4.0 (SMCgcc build) and
libiconv-1.9.2 (http://www.gnu.org/software/libiconv/)
both installed in /usr/local.

Ones gets (also on 3.0.5pre1)
 configure: WARNING: Sufficient support for iconv function was not found.
regardless whether --with-libiconv=/usr/local is specified or not.
LD_LIBRARY_PATH=/usr/local/lib has to be in the configure environment
for the iconv detection to succeed.
Having just CPPFLAGS=-I/usr/local/include LDFLAGS=-L/usr/local/lib is not enough.

I am placing it as an installation problem, but it might be
just as well only a documentation one.
Comment 1 Gerald (Jerry) Carter (dead mail address) 2005-02-08 07:40:54 UTC
you can use the crle tool to encode library search paths 
or you can use the -R<path> to the linker to encode the 
search path in the resulting binary.