On 03/07/2012 07:30 AM, David C. Rankin wrote:
On 03/07/2012 02:06 AM, Serghei Amelian wrote:
On Wednesday 07 March 2012 07:13:39 David C. Rankin wrote: [...]
-Wl,-rpath,/opt/trinity/lib:/opt/tqt3/lib: /usr/bin/ld: cannot find -lsane-Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu-L/usr/lib
Actually the error is pretty clear. You have no blank betweer "-lsane" and "-Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu-L/usr/lib"
Where does that come from? Is that somewhere in the Cmake files or is that a problem with 'sane-config'?
I just checked again and it isn't sane-config:
sane-config --libs -lsane -Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu -L/usr/lib -lnetsnmp -lcrypto -lm -ldl -lv4l1 -lm -ltiff -ljpeg -lgphoto2 -lgphoto2_port -lm -lexif -lusb -lavahi-common -lavahi-client -lusb
The only other place I can see where the problem could be created is:
tdegraphics/libkscan/configure.in.in
LIBSANE_LDFLAGS="`$SANE_CONFIG --ldflags`"
I'll try patching with:
LIBSANE_LDFLAGS=" `$SANE_CONFIG --ldflags` "