Version: 1.6.0 (using KDE 4.5.4) OS: Linux Linking fails because GPHOTO2_LIBRARIES are specified before object that uses these (libgphoto2_port library to be precise). libcameragui.a uses gp_port_free() but there is no -lgphoto2_port AFTER "../lib/libcameragui.a" in linking command while it should be there. Reproducible: Always
Created attachment 54174 [details] build log
This will also be most probably an issue with Fedora 13 and higher, as they changed the implicit DSO linking, which is pretty much what Arkadiusz did manually, see here: http://fedoraproject.org/wiki/Features/ChangeInImplicitDSOLinking I believe that Fedora took a good path and we should be more careful about the linking in digiKam now.
I've commited a fix, but seems like the CCBUG part wasn't recognized or something, anyway, see rev.1203962 http://websvn.kde.org/?view=rev&revision=1203962
This patch got removed somehow when digikam got migrated to git. Please reapply.
git master is properly patched... https://projects.kde.org/projects/extragear/graphics/digikam/repository/revisions/master/entry/digikam/CMakeLists.txt#L282 Gilles Caulier
No its not properly patched, GPHOTO2_LIBRARIES should be the last argument like this: --- core/digikam/CMakeLists.txt 2011-07-28 01:28:25.000000000 +0200 +++ core/digikam/CMakeLists.txt 2011-08-26 10:10:07.010025844 +0200 @@ -278,13 +278,14 @@ ${STRIGI_LIBRARIES} ${LCMS_LIBRARIES} - ${GPHOTO2_LIBRARIES} digikamcore digikamdatabase advancedrename queuemanager cameragui + + ${GPHOTO2_LIBRARIES} )
Git commit 772f592f639f52d0c1a991265098b46672fecb6e by Gilles Caulier. Committed on 26/08/2011 at 11:58. Pushed by cgilles into branch 'master'. Fix order to link gphoto2 library with digiKam shared lib. This must be the last on linker command line... CCBUGS: 258931 CCBUGS: 268267 M +3 -1 digikam/CMakeLists.txt http://commits.kde.org/digikam/772f592f639f52d0c1a991265098b46672fecb6e