Version: 1.6.0 (using KDE 4.5.4)
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.
Created attachment 54174 [details]
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
This patch got removed somehow when digikam got migrated to git. Please reapply.
git master is properly patched...
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 @@
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...
M +3 -1 digikam/CMakeLists.txt