Hi,
I have cross compiled libiconv and
then linked the libraries with libextractor. But still I am getting errors
related to iconv.
I tried the following steps to cross compile Libextractor: ./configure --target=mips-linux --host=i686-pc-linux-gnu
--prefix=/home/tomy/libextr/ --disable-printable --with-libiconv=yes --with-libiconv-prefix=/home/tomy/libiconv/
(This directory contains all iconv libs,bin etc.)
But during make...
============================================================================================================================
/opt/uclibc-toolchain/ifx-lxdb-1-2/gcc-3.3.6/toolchain-mips/bin/../lib/gcc-lib/mips-linux-uclibc/3.3.6/../../../../mips-linux-uclibc/bin/ld:
warning: libltdl.so.3, needed by ../../src/main/.libs/libextractor.so,
not found (try using -rpath or -rpath-link)
extract.o(.text+0x550): In function
`iconvHelper':
/smb/josepht/libextractor-0.5.18/src/main/iconv.c:36:
undefined reference to `libiconv'
extract.o(.text+0x604):/smb/josepht/libextractor-0.5.18/src/main/iconv.c:44:
undefined reference to `libiconv'
extract.o(.text+0x6f0): In function
`printSelectedKeywords':
/smb/josepht/libextractor-0.5.18/src/main/extract.c:186:
undefined reference to `libiconv_open'
extract.o(.text+0x7b0):/smb/josepht/libextractor-0.5.18/src/main/extract.c:214:
undefined reference to `libiconv_close'
extract.o(.text+0x960): In function
`printSelectedKeywordsGrepFriendly':
/smb/josepht/libextractor-0.5.18/src/main/extract.c:234:
undefined reference to `libiconv_open'
extract.o(.text+0x9e0):/smb/josepht/libextractor-0.5.18/src/main/extract.c:262:
undefined reference to `libiconv_close'
../../src/main/.libs/libextractor.so:
undefined reference to `lt_dlgetsearchpath'
../../src/main/.libs/libextractor.so:
undefined reference to `lt_dlerror'
../../src/main/.libs/libextractor.so:
undefined reference to `lt_dlclose'
../../src/main/.libs/libextractor.so:
undefined reference to `lt_dlexit'
../../src/main/.libs/libextractor.so:
undefined reference to `lt_dlsetsearchpath'
../../src/main/.libs/libextractor.so:
undefined reference to `lt_dlopenext'
../../src/main/.libs/libextractor.so:
undefined reference to `lt_dlsym'
../../src/main/.libs/libextractor.so:
undefined reference to `lt_dlinit'
===================================================================================================================
L&T
Infotech Proprietary L&T
Infotech Confidential L&T
Infotech Internal Use Only L&T
Infotech General Business
This Email may contain confidential or privileged information for the intended
recipient (s) If you are not the intended recipient, please do not use
or disseminate the information, notify the sender and delete it from your
system.
______________________________________________________________________