bug-libextractor
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-libextractor] Libextractor:Cross compilation Error


From: address@hidden
Subject: Re: [bug-libextractor] Libextractor:Cross compilation Error
Date: Thu, 22 Jan 2009 11:09:09 +0100

Hi,

It looks like you missed another library : libltdl (the first line of your post)
Try to compile with adding "--enable-ltdl-install" while configuring libextractor...
Here, my configuration line (which work for powerpc cross-compilation)

./configure --prefix=%{_prefix} --host=i686 --build=powerpc-linux \
   --enable-glib --enable-ltdl-install --with-libiconv-prefix=$DEV_IMAGE/usr \
   --disable-printable --disable-glibtest --disable-gtktest

Hope this will help !

Regards

CimCim

Le jeudi 22 janvier 2009 à 14:03 +0530, Tomy Joseph a écrit :

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

Could u pls tell me the exact problem ??

tnks& rgds,
tomy.

Larsen & Toubro Infotech Ltd.
www.Lntinfotech.com

This Document is classified as:

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.
______________________________________________________________________
_______________________________________________
bug-libextractor mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/bug-libextractor

reply via email to

[Prev in Thread] Current Thread [Next in Thread]