Hi Willy, I'm able to reproduce the error in a VM when I only have ffmpeg, opencv and lensfun installed. You are correct in you assumption that when lensfun is installed that liblqr is also needed.
In the file digikam-3.5.0/core/cmake/modules/FindLqr-1.cmake, if the variables LQR-1_LIBRARY and LQR-1_INCLUDE_DIR are defined then the GLIB2 package is searched for. If GLIB2_FOUND is set, then both of the libraries (ie. liblqr and lensfun) are linked to libdigikamcore.so library as defined in the file dikigam-3.5.0/core/digikam/CMakeLists.txt using this block of code. # For Contents Aware Resizer and Lens auto-correction tools. IF(GLIB2_FOUND) TARGET_LINK_LIBRARIES(digikamcore ${GLIB2_LIBRARIES} ${liblqr_LIBS} ${liblensfun_LIBS}) ENDIF(GLIB2_FOUND) So the way I see it, both liblqr and lensfun are required for proper linking, otherwise, you get the undefined references for lensfun. --Larry On Sun, Feb 2, 2014 at 7:55 PM, Willy Sudiarto Raharjo < will...@slackbuilds.org> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On Mon 03 Feb 2014 08:32:08 AM WIT, Willy Sudiarto Raharjo wrote: > > ********* *BEGIN ENCRYPTED or SIGNED PART* ********* > > > > There has been some reports that digikam failed to build when lensfun > > is installed and i can confirm that by reproducing it using a minimum > > dependencies installed (only ffmpeg and opencv) > > > > This morning, i tried to rebuild digikam on a clean VM using all > > optional dependencies installed :lensfun, eigen3, liblqr, libpgf, > > libdc1394, and plus LibRaw (i don't know whether this has an effect or > > not), but it does built perfectly here > > I'm able to narrow it down after some testing on VM > it seems that libpgf is still optional (it built even when this is > removed), but liblqr will be needed when you want to build digikam > against lensfun > > i'm still testing with eigen3 removed and then with libdc1394 removed > > - -- > Willy Sudiarto Raharjo > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v2.0.22 (GNU/Linux) > Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ > > iEYEARECAAYFAlLvEy0ACgkQiHuDdNczM4FNPgCeMH+8jemziTQj33iuPDJVbuhx > uIIAoKKhOUxyXhtpu6BsBws19MzmvROV > =EFsK > -----END PGP SIGNATURE----- > > _______________________________________________ > SlackBuilds-users mailing list > SlackBuilds-users@slackbuilds.org > http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users > Archives - http://lists.slackbuilds.org/pipermail/slackbuilds-users/ > FAQ - http://slackbuilds.org/faq/ > >
_______________________________________________ SlackBuilds-users mailing list SlackBuilds-users@slackbuilds.org http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users Archives - http://lists.slackbuilds.org/pipermail/slackbuilds-users/ FAQ - http://slackbuilds.org/faq/