[sane-devel] Compiling sane-backends on FC8 64bit
mattias.ellert at tsl.uu.se
Wed Jan 16 10:10:27 UTC 2008
ons 2008-01-16 klockan 09:22 +0000 skrev Chris:
> Thank you Mattias - we're getting somewhere now. Still got problems though:
> I installed libieee1284-devel x86_64 and then noticed that config.log
> was showing it couldn't find "libusb.so" so I have symlinked
> /usr/lib64/libusb.so -> /usr/lib64/libusb-0.1.so.4.4.4 and that error is
> now gone. I trust this was the correct thing to do?
That link should be there if you have libusb-devel x86_64 installed. It
is normally not a good idea to add symlinks by hand in the system
directories - installing the right RPM is a better idea.
> It now fails later on:
> /usr/lib/libieee1284.so: could not read symbols: File in wrong format
> collect2: ld returned 1 exit status
> make: *** [libsane-hp3900.la] Error 1
> make: Leaving directory
> make: *** [all-recursive] Error 1
> I've seen an error like this before, and I am *guessing* that it is now
> looking in /usr/lib/ when it should be using files from /usr/lib64/ -
> does this sound correct?
Please include the full command that failed and not only the error
message. If there is a -L/usr/lib somewhere, then it shouldn't be there.
What is your LD_LIBRARY_PATH?
> For completeness, the latest config.log is here: http://dpaste.com/31215/
> Any ideas?
> Mattias Ellert wrote:
> > ons 2008-01-16 klockan 08:01 +0000 skrev Chris:
> >> Hi Allan.
> >> I'm not too sure. I found the following line?
> >> ac_cv_func_getenv=no
> >> But there are also a few other lines referring to getenv. I've pasted it
> >> up at http://dpaste.com/31205/ to avoid a large post here.
> >> Any ideas?
> >> Chris
> > From the log it looks like you are missing the 64 bit version of
> > libieee1284-devel. So linking fails, and all tests fails - including the
> > getenv test.
> > Mattias
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1230 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20080116/613194bd/attachment.bin
More information about the sane-devel