Ticket #1137 (closed defect: wontfix)
Linking error "ld: cannot find -lcheck_pic", when compiling trunk (12.7.2009)
| Reported by: | cesken | Owned by: | joshy |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | OpenSync | Version: | 0.38 |
| Severity: | normal | Keywords: | |
| Cc: |
Description
Hello,
I receive a linker error when compiling trunk (12.7.2009). I am using the build scripts from http://www.opensync.org/wiki/trunk/installation/checkout_script. As far as I see, compilation is complete, only the linming fails.
opensync@firefly:~> cd opensync/ opensync@firefly:~/opensync> ll insgesamt 12 drwxr-xr-x 2 opensync users 4096 12. Jul 00:14 bin_script drwxr-xr-x 3 opensync users 4096 12. Jul 00:17 svn drwxr-xr-x 3 opensync users 4096 12. Jul 00:16 tmp opensync@firefly:~/opensync> cmpOpensync compile [...] make[2]: Entering directory `/home/opensync/opensync/svn/libopensync/build' Linking C executable archive cd /home/opensync/opensync/svn/libopensync/build/tests && /usr/bin/cmake -E cmake_link_script CMakeFiles/archive.dir/link.txt --verbose=1 /usr/bin/gcc -O2 -g -fPIC CMakeFiles/archive.dir/archive-tests/check_archive.o -o archive -rdynamic libsupport.a ../opensync/libopensync-testing.so -lglib-2.0 -lgthread-2.0 -lrt -lgmodule-2.0 -lglib-2.0 -lgthread-2.0 -lrt -lgmodule-2.0 -lxml2 -lxslt -lz -lm -lexslt -lgcrypt -lgpg-error -lxml2 -lxslt -lz -lm -lexslt -lgcrypt -lgpg-error -lsqlite3 -lcheck_pic -Wl,-rpath,/home/opensync/opensync/svn/libopensync/build/opensync /usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/ld: cannot find -lcheck_pic collect2: ld returned 1 exit status make[2]: *** [tests/archive] Fehler 1 make[2]: Leaving directory `/home/opensync/opensync/svn/libopensync/build' make[1]: *** [tests/CMakeFiles/archive.dir/all] Fehler 2 make[1]: Leaving directory `/home/opensync/opensync/svn/libopensync/build' make: *** [all] Fehler 2 [ 37%] Built target opensync [ 74%] Built target opensync-testing [ 75%] Built target osplugin [ 75%] Built target osyncbinary [ 76%] Built target osyncdump [ 77%] Built target osyncplugin [ 78%] Built target _opensync [ 78%] Built target support Linking C executable archive /usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/ld: cannot find -lcheck_pic collect2: ld returned 1 exit status make[2]: *** [tests/archive] Fehler 1 make[1]: *** [tests/CMakeFiles/archive.dir/all] Fehler 2 make: *** [all] Fehler 2
Change History
Note: See
TracTickets for help on using
tickets.

I never used that script .. please ask the author: joshy