[Samba] 3.0.0 and libiconv

William Jojo jojowil at hvcc.edu
Wed Oct 8 16:44:41 GMT 2003



ok I untarded myself....please forgive, I know you said enter a bug at
bugzilla, but I have the means and want to figure it out, but now I'm
stuck again.

The entry in config.log was

configure:19859: result: no
configure:19819: checking can we convert from UTF8 to UCS2-LE?
configure:19839: cc -o conftest -g -D_LINUX_SOURCE_COMPAT -qmaxmem=32000
-I/usr
/local/include -I/usr/local/include -L/usr/local/lib -L/usr/local/lib
conftest.c
   -liconv -L/usr/local/lib >&5
configure:19842: $? = 0
configure:19844: ./conftest
Could not load program ./conftest:
        Dependent module /usr/lib/libiconv.a(libiconv.so.2) could not be
loaded.
        Member libiconv.so.2 is not found in archive
configure:19847: $? = 255
configure: program exited with status 255
configure: failed program was:


which has obvious implications. I set
LIBPATH=/usr/local/lib:/usr/lib:lib and then the compiler wouldn't even
work ($@#%!)

I entered

env CC=cc CFLAGS="-O /usr/local/lib/libiconv.a" ./configure \
--prefix=/samba/3.0.0 --with-libiconv=/usr/local

and what?


checking for iconv in /usr/local... yes

checking can we convert from CP850 to UCS2-LE?... CP850
checking can we convert from ASCII to UCS2-LE?... ASCII
checking can we convert from UTF-8 to UCS2-LE?... UTF-8


go figure.....now i need to find out why LIBPATH, et al doesn't do what
it's supposed to (if I understand it correctly....)

I'll keep working on it, but if anyone has suggestions....


Bill


On Wed, 8 Oct 2003, Jelmer Vernooij wrote:

> On Wed, 2003-10-08 at 16:12, William Jojo wrote:
> > I'm sure i'm missing something stupid, but I'm getting the following
> > message when compiling 3.0.0 on AIX 5.2. bos.rte.iconv is installed as
> > part of the OS, but I installed libiconv 1.9.1 from gnu into /usr/local
> > and it still happens.
> >
> > checking for iconv in /usr/local... yes
> >
> > checking can we convert from CP850 to UCS2-LE?... no
> > checking can we convert from IBM850 to UCS2-LE?... no
> > checking can we convert from ASCII to UCS2-LE?... no
> > checking can we convert from 646 to UCS2-LE?... no
> > checking can we convert from UTF-8 to UCS2-LE?... no
> > checking can we convert from UTF8 to UCS2-LE?... no
> > configure: WARNING: Sufficient support for iconv function was not found.
> >     Install libiconv from http://freshmeat.net/projects/libiconv/ for
> > better charset compatibility!
> Looks like something went wrong in the configure script. Please file a
> bug report at https://bugzilla.samba.org/ and include your config.log.
>
> Jelmer
> --
> Jelmer Vernooij  - http://jelmer.vernstok.nl/
>



More information about the samba mailing list