trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: March 2012

Re: [trinity-devel] tdegraphics build failure 2 : libkscan.so (linker error?)

From: Darrell Anderson <humanreadable@...>
Date: Tue, 6 Mar 2012 17:09:06 -0800 (PST)
>   Ran into another issue with tdegraphics that I can't
> solve by a dependency review:
> 
> [ 31%] Building CXX object
> libkscan/CMakeFiles/kscan-shared.dir/imgscaninfo.cpp.o
> Linking CXX shared library libkscan.so
> /usr/bin/ld: cannot find
> -lsane-Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu-L/usr/lib
> collect2: ld returned 1 exit status
> make[2]: *** [libkscan/libkscan.so.1.0.0] Error 1
> make[1]: *** [libkscan/CMakeFiles/kscan-shared.dir/all]
> Error 2
> make: *** [all] Error 2
> 
>   Is this a CMake issue? Linker error? What to look
> for?

Do you have SANE installed?

Check your build log for the following:

-- checking for 'libkscan'
--   ok, activated for build

Check your CMakeCache.txt for this:

//Build libkscan
BUILD_LIBKSCAN:BOOL=ON


Darrell