[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
a problem with libtool (searching for libiconv.la)
From: |
Lorenzo Bettini |
Subject: |
a problem with libtool (searching for libiconv.la) |
Date: |
Sun, 30 Nov 2008 19:43:50 +0100 |
User-agent: |
Thunderbird 2.0.0.18 (Windows/20081105) |
Hi
while trying to configure and build a qt project under cygwin (see the
thread "building a qt library") I'm struggling with this error reported
by libtool while linking:
/bin/sh ../libtool --tag=CXX --mode=link g++ -pipe -Wall -W -O2
-DQT_NO_DEBUG -g -O2 -Wl,--enable-runtime-pseudo-reloc -o
hello_qt.exe hello_qt-hello_qt.o -L/usr/lib/qt3//lib -L/usr/X11R6/lib
-lqt -lXext -lX11
libtool: link: cannot find the library `/usr/lib/libiconv.la' or
unhandled argument `/usr/lib/libiconv.la'
now, this libiconv.la (which, actually, is not installed in my system)
is not named anywhere in the libtool generated by configure, and, most
of all, if I manually run the link command on the command line (i.e.,
without passing through libtool), everything works fine (besides some
warnings)!
g++ -pipe -Wall -W -O2 -DQT_NO_DEBUG -g -O2
-Wl,--enable-runtime-pseudo-reloc -o hello_qt.exe hello_qt-hello_qt.o
-L/usr/lib/qt3//lib -L/usr/X11R6/lib -lqt -lXext -lX11
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld:
warning: auto-importing has been activated without --enable-auto-import
specified on the command line.
This should work unless it involves constant data structures referencing
symbols from auto-imported DLLs.Info: resolving QString::shared_null
by linking to __imp___ZN7QString11shared_nullE (auto-import)
what is going wrong?
thanks in advance
Lorenzo
--
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
ICQ# lbetto, 16080134 (GNU/Linux User # 158233)
HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com
http://www.myspace.com/supertrouperabba
BLOGS: http://tronprog.blogspot.com http://longlivemusic.blogspot.com
http://www.gnu.org/software/src-highlite
http://www.gnu.org/software/gengetopt
http://www.gnu.org/software/gengen http://doublecpp.sourceforge.net
- a problem with libtool (searching for libiconv.la),
Lorenzo Bettini <=