Qt compilation error for Arora

davef
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