<div dir="ltr"><div>Hi Willy,</div><div><br></div>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.<div>
<br></div><div>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.</div>
<div><br></div><div><div># For Contents Aware Resizer and Lens auto-correction tools.</div><div>IF(GLIB2_FOUND)</div><div>    TARGET_LINK_LIBRARIES(digikamcore ${GLIB2_LIBRARIES} ${liblqr_LIBS} ${liblensfun_LIBS})</div><div>
ENDIF(GLIB2_FOUND)</div></div><div><br></div><div>So the way I see it, both liblqr and lensfun are required for proper linking, otherwise, you get the undefined references for lensfun.</div><div><br></div><div>--Larry</div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Feb 2, 2014 at 7:55 PM, Willy Sudiarto Raharjo <span dir="ltr"><<a href="mailto:willysr@slackbuilds.org" target="_blank">willysr@slackbuilds.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA1<br>
<br>
</div>On Mon 03 Feb 2014 08:32:08 AM WIT, Willy Sudiarto Raharjo wrote:<br>
> ********* *BEGIN ENCRYPTED or SIGNED PART* *********<br>
<div class="im">><br>
> There has been some reports that digikam failed to build when lensfun<br>
> is installed and i can confirm that by reproducing it using a minimum<br>
> dependencies installed (only ffmpeg and opencv)<br>
><br>
> This morning, i tried to rebuild digikam on a clean VM using all<br>
> optional dependencies installed :lensfun, eigen3, liblqr, libpgf,<br>
> libdc1394, and plus LibRaw (i don't know whether this has an effect or<br>
> not), but it does built perfectly here<br>
<br>
</div>I'm able to narrow it down after some testing on VM<br>
it seems that libpgf is still optional (it built even when this is<br>
removed), but liblqr will be needed when you want to build digikam<br>
against lensfun<br>
<br>
i'm still testing with eigen3 removed and then with libdc1394 removed<br>
<div class="im"><br>
- --<br>
Willy Sudiarto Raharjo<br>
-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v2.0.22 (GNU/Linux)<br>
Comment: Using GnuPG with Thunderbird - <a href="http://www.enigmail.net/" target="_blank">http://www.enigmail.net/</a><br>
<br>
</div>iEYEARECAAYFAlLvEy0ACgkQiHuDdNczM4FNPgCeMH+8jemziTQj33iuPDJVbuhx<br>
uIIAoKKhOUxyXhtpu6BsBws19MzmvROV<br>
=EFsK<br>
<div class="HOEnZb"><div class="h5">-----END PGP SIGNATURE-----<br>
<br>
_______________________________________________<br>
SlackBuilds-users mailing list<br>
<a href="mailto:SlackBuilds-users@slackbuilds.org">SlackBuilds-users@slackbuilds.org</a><br>
<a href="http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users" target="_blank">http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users</a><br>
Archives - <a href="http://lists.slackbuilds.org/pipermail/slackbuilds-users/" target="_blank">http://lists.slackbuilds.org/pipermail/slackbuilds-users/</a><br>
FAQ - <a href="http://slackbuilds.org/faq/" target="_blank">http://slackbuilds.org/faq/</a><br>
<br>
</div></div></blockquote></div><br></div>