Qt compilation error for Arora

davef 2010-09-04 12:08:28 Link
Any suggestions to sorting this error?

**************************
/usr/local/arm/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/../../../../arm
-none-linux-gnueabi/bin/ld:
warning: libts-1.0.so.0, needed by /usr/local/Qt/lib/libQtGui.so, not found
(try using -rpath or -rpath-link)
/usr/local/arm/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/../../../../arm
-none-linux-gnueabi/bin/ld:
warning: libz.so.1, needed by /usr/local/Qt/lib/libQtGui.so, not found (try
using -rpath or -rpath-link)
/usr/local/Qt/lib/libQtGui.so: undefined reference to `ts_open'
/usr/local/Qt/lib/libQtGui.so: undefined reference to `ts_config'
etc
etc
collect2: ld returned 1 exit status
***************************

libts-1.0.so.0 is in my /usr/local/tslib/lib
libz.so.1 is in my /lib

I have tried the following at the command line:

export LD_LIBRARY_PATH="/lib:/usr/local/tslib/lib"
and
export LDFLAGS="-L/lib"
export LDFLAGS="-L/usr/local/tslib/lib"

and in qmake.conf

QMAKE_LFLAGS += -Wl, -rpath-link=/lib:/usr/local/tslib/lib

with no change in behaviour.

Thank you.
Dave

Reply

Name
eMail (not visible)
Subject (no text only in upper case; no HELP, URGENT...)
Text
HTML tags are not supported and links are generated automatically if they start with http or ftp.
Please submit long source code or log files as attachment (only registered users).
Please enter the number 6693