[Kget] [Bug 200099] New: kget doesn't find libbtcore when ktorrent is installed outside of the KDE directory.

Darin McBride Tanktalus at gmail.com
Mon Jul 13 23:42:43 CEST 2009


https://bugs.kde.org/show_bug.cgi?id=200099

           Summary: kget doesn't find libbtcore when ktorrent is installed
                    outside of the KDE directory.
           Product: kget
           Version: unspecified
          Platform: Gentoo Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kget at kde.org
        ReportedBy: Tanktalus at gmail.com


Version:            (using KDE 4.2.96)
OS:                Linux
Installed from:    Gentoo Packages

kget fails to compile because it can't find libbtcore.  With the following
patch, it compiles.  However, kget pops up an error message saying "Plugin
loader could not load the plugin: kget_bittorrentfactory" even though "ldd
/usr/kde/4.3/lib64/kde4/kget_bittorrentfactory.so" seems to say everything can
be found.

--- cmake/modules/FindBTCore.cmake    (revision 982472)
+++ cmake/modules/FindBTCore.cmake    (working copy)
@@ -22,8 +22,10 @@
     NAMES
     btcore_export.h
     PATHS 
-    ${KDE4_INCLUDE_DIR}/libbtcore
-    ${INCLUDE_INSTALL_DIR}/libbtcore
+    ${KDE4_INCLUDE_DIR}
+    ${INCLUDE_INSTALL_DIR}
+    PATH_SUFFIXES
+    libbtcore
     )

   FIND_LIBRARY(BTCORE_LIBRARIES

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Kget mailing list