[Kde-pim] Linker error in kdepimlibs while linking libgpgme

Manish Chakravarty mchakravarty at spikesource.com
Wed Aug 29 11:48:36 BST 2007


Hi All,

I get the following error while compiling kdepimlibs.
I'm running Ubuntu 7.04. I've setup my build env exactly as mentioned in
the techbase article.

After firing a "cmakekde" i get:

> Linking CXX shared library ../lib/libgpgme++.so
> cd /home/kde-devel/kde/build/KDE/kdepimlibs/gpgme++ && /usr/local/bin/cmake -P CMakeFiles/gpgmepp.dir/cmake_clean_target.cmake
> cd /home/kde-devel/kde/build/KDE/kdepimlibs/gpgme++ && /usr/local/bin/cmake -E cmake_link_script CMakeFiles/gpgmepp.dir/link.txt --verbose=1
> /usr/bin/c++  -fPIC   -Wnon-virtual-dtor -Wno-long-long -ansi -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-exceptions -fno-check-new -fno-common -fvisibility=hidden -g3 -fno-inline -Wl,--fatal-warnings -Wl,--no-undefined -lc  -shared -Wl,-soname,libgpgme++.so.1.0.0 -o ../lib/libgpgme++.so.1.0.0 "CMakeFiles/gpgmepp.dir/gpgmepp_automoc.o" "CMakeFiles/gpgmepp.dir/context.o" "CMakeFiles/gpgmepp.dir/key.o" "CMakeFiles/gpgmepp.dir/trustitem.o" "CMakeFiles/gpgmepp.dir/data.o" "CMakeFiles/gpgmepp.dir/callbacks.o" "CMakeFiles/gpgmepp.dir/eventloopinteractor.o" "CMakeFiles/gpgmepp.dir/keylistresult.o" "CMakeFiles/gpgmepp.dir/keygenerationresult.o" "CMakeFiles/gpgmepp.dir/importresult.o" "CMakeFiles/gpgmepp.dir/decryptionresult.o" "CMakeFiles/gpgmepp.dir/verificationresult.o" "CMakeFiles/gpgmepp.dir/signingresult.o" "CMakeFiles/gpgmepp.dir/encryptionresult.o" "CMakeFiles/gpgmepp.dir/engineinfo.o" -L/usr/local/lib -lgpgme -lgpg-error 
> /usr/bin/ld: cannot find -lpth
> collect2: ld returned 1 exit status
> make[2]: *** [lib/libgpgme++-pth.so.1.0.0] Error 1
> make[2]: Leaving directory `/home/kde-devel/kde/build/KDE/kdepimlibs'
> make[1]: *** [gpgme++/CMakeFiles/gpgmepp-pth.dir/all] Error 2
> make[1]: *** Waiting for unfinished jobs....
> cd /home/kde-devel/kde/build/KDE/kdepimlibs/gpgme++ && /usr/local/bin/cmake -E cmake_symlink_library ../lib/libgpgme++.so.1.0.0 ../lib/libgpgme++.so.1.0.0 ../lib/libgpgme++.so
> make[2]: Leaving directory `/home/kde-devel/kde/build/KDE/kdepimlibs'
> /usr/local/bin/cmake -E cmake_progress_report /home/kde-devel/kde/build/KDE/kdepimlibs/CMakeFiles  1 2
> [  6%] Built target gpgmepp
> make[1]: Leaving directory `/home/kde-devel/kde/build/KDE/kdepimlibs'
> make: *** [all] Error 2

Could someone please help me out?

Thanks
Manish Chakravarty
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mchakravarty.vcf
Type: text/x-vcard
Size: 407 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20070829/5b0742f2/attachment.vcf>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 248 bytes
Desc: OpenPGP digital signature
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20070829/5b0742f2/attachment.sig>
-------------- next part --------------
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/


More information about the kde-pim mailing list