Re: Unable to install to AIX 5.2

"James K. Lowden" <[email protected]>
Newsgroups gmane.comp.db.tds.freetds
Message-ID <[email protected]>
Martin Mann wrote:
> gcc -D_THREAD_SAFE -g -O2 -Wl,-brtl -o t0001 t0001.o common.o 
> ../.libs/libtds.a ../../replacements/.libs/libreplacements.a -lpthreads
> ld: 0711-317 ERROR: Undefined symbol: .iconv_open ld: 0711-317 ERROR:
> Undefined symbol: .iconv_close ld: 0711-317 ERROR: Undefined symbol:
> .iconv

You can back up to the beginning and ./configure --disable-libiconv if you
don't need fancy conversions.  

$ ./configure --help | grep iconv
  --disable-libiconv      do not attempt to include libiconv
  --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and
DIR/lib
  --without-libiconv-prefix     don't search for libiconv in includedir
and libdir

HTH.  

--jkl
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.