I am trying to compile konqueror embedded. It needs libjpeg. For some
reason, libtool is hardcoding /usr/lib/libjpeg.so rather than using -ljpeg.
As I am cross-compiling, this means the build fails.
I have no idea where to look; I am not telling it to treat libjpeg any
different from any other lib.
I know this is not much to go on, but I am stuck.
grepping for libjpeg.so returns no results, so I have no idea where
libtool gets its dependencies from:
[EMAIL PROTECTED]:/home/local/src/konqueror3-embedded-0.2-20060121-ys$
grep -r libjpeg.so *
[EMAIL PROTECTED]:/home/local/src/konqueror3-embedded-0.2-20060121-ys$
libtool says:
/bin/sh ../../libtool --silent --tag=CXX --mode=link arm-linux-g++
-Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE
-Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith
-DNDEBUG -DNO_DEBUG -O2 -msoft-float -nostdlib -nodefaultlibs
-Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor
-fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE
-DQT_NO_COMPAT -DQT_NO_ASCII_CAST -Wl,-rpath,/usr/local/arm/
-Wl,-rpath,/usr/local/arm/lib -nostdlib -L/usr/local/arm/lib -o
konqueror -L/konq/lib -L/home/local/src/qt-embedded-free-3.3.4-ys/lib
-export-dynamic main.o mainwindowbase.o mainwindebug.o htmlview.o
popuphandler.o view.o run.o browseriface.o bookmarks.o preferences.o
preferencesimpl.o mainwindow_qpe.o mainwindow_x11.o mainwindow_kiosk.o
mainwindow_tv.o xmltree.o bookmarkeditor.o bookmarkeditorimpl.o
bookmarkedit.o bookmarkeditimpl.o
../../konq-embed/add-ons/kflashpart/libkflash_e.la
../../konq-embed/dropin/kio/libkiodropin.la
../../konq-embed/kdesrc/khtml/ecma/libkjs_html_i.la
../../konq-embed/kdesrc/kjs/libkjs.la ../lib/libkonqe.la
../../konq-embed/kdesrc/kparts/libkparts.la
../../konq-embed/dropin/libdropin.la
../../konq-embed/dropin/kparts/libkpartsdropin.la
../../konq-embed/kdesrc/khtml/libkhtml_i.la
../../konq-embed/dropin/kssl/libkssldropin.la
../../konq-embed/kdesrc/kssl/libkssl.la
libtool: link: warning: library
`/home/local/src/qt-embedded-free-3.3.4-ys/lib/libqte-mt.la' was moved.
libtool: link: warning: library
`/home/local/src/qt-embedded-free-3.3.4-ys/lib/libqte-mt.la' was moved.
arm-linux-g++: /usr/lib/libjpeg.so: No such file or directory
which, on taking out the --silent, eays:
arm-linux-g++ -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500
-D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W
-Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -msoft-float -nostdlib
-nodefaultlibs -Wformat-security -Wmissing-format-attribute
-Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common
-DQT_CLEAN_NAMESPACE -DQT_NO_COMPAT -DQT_NO_ASCII_CAST -Wl,-rpath
-Wl,/usr/local/arm/ -Wl,-rpath -Wl,/usr/local/arm/lib -nostdlib -o
.libs/konqueror main.o mainwindowbase.o mainwindebug.o htmlview.o
popuphandler.o view.o run.o browseriface.o bookmarks.o preferences.o
preferencesimpl.o mainwindow_qpe.o mainwindow_x11.o mainwindow_kiosk.o
mainwindow_tv.o xmltree.o bookmarkeditor.o bookmarkeditorimpl.o
bookmarkedit.o bookmarkeditimpl.o -Wl,--export-dynamic
-L/usr/local/arm/lib -L/konq/lib
-L/home/local/src/qt-embedded-free-3.3.4-ys/lib
../../konq-embed/add-ons/kflashpart/.libs/libkflash_e.a
../../konq-embed/dropin/kio/.libs/libkiodropin.a
../../konq-embed/kdesrc/khtml/ecma/.libs/libkjs_html_i.a
../../konq-embed/kdesrc/kjs/.libs/libkjs.a ../lib/.libs/libkonqe.so
../../konq-embed/kdesrc/kparts/.libs/libkparts.a
../../konq-embed/dropin/.libs/libdropin.a
../../konq-embed/dropin/kparts/.libs/libkpartsdropin.a
../../konq-embed/kdesrc/khtml/.libs/libkhtml_i.a
/home/local/src/qt-embedded-free-3.3.4-ys/lib/libqte-mt.so -lpng -lz
-lpthread -ldl -lm /usr/lib/libjpeg.so
../../konq-embed/dropin/kssl/.libs/libkssldropin.a
../../konq-embed/kdesrc/kssl/.libs/libkssl.a -Wl,--rpath -Wl,/konq/lib
-Wl,--rpath -Wl,/home/local/src/qt-embedded-free-3.3.4-ys/lib
arm-linux-g++: /usr/lib/libjpeg.so: No such file or directory
Any ideas on where to look? grep doesn't find any reference to
/usr/lib/libjpeg.so anywere, so I have no idea where to begin....
--Yan
_______________________________________________
http://lists.gnu.org/mailman/listinfo/libtool