[CMake] Problems CMake linking shared libraries
Manfred Rebentisch
mrebentisch at comparat.de
Tue Apr 3 06:00:37 EDT 2007
Am Dienstag, 3. April 2007 08:44 schrieb Jos Theunissen:
>
> When linking the executable ld cannot find the shared libraries because the
> extensions is missing (see -lesqc)
>
> Linking CXX executable hksq
>
> /usr/lib/gcc/i586-suse-linux/4.1.2/../../../../i586-suse-linux/bin/ld:
> cannot find -lesqc
>
> collect2: ld returned 1 exit status
>
> make[2]: *** [hksq] Error 1
>
> make[1]: *** [CMakeFiles/hksq.dir/all] Error 2
>
> make: *** [all] Error 2
>
> suse10jt#fradev@/usr/local/fradev/src/atest2>
>
> Why is the extension removed?
It is normal writing "-lesqc" for "libesqc.so". Perhaps there is another
problem? Whats about the library path?
Manfred
More information about the CMake
mailing list