linking with gphoto2 library failed. It's probably a problem with your gphoto2 install. <div><br></div><div>Also, try to clean cmake cache in digiKam source code dir and try again</div><div><br></div><div>Gilles Caulier<br>

<br><div class="gmail_quote">2011/8/25 Mark Fraser <span dir="ltr"><<a href="mailto:mfraz74%2Bkde@gmail.com">mfraz74+kde@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<u></u>
<div style="font-family:'Monospace';font-size:9pt;font-weight:400;font-style:normal">
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">I'm trying to build digiKam 2 from git on Kubuntu 11.10, but I'm having trouble. It gets to 92% and then this error:</p>


<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> </p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">[ 92%] Building CXX object core/digikam/CMakeFiles/digikam.dir/digikamadaptor.cpp.o                                     </p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">Linking CXX executable digikam                                                                                          </p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">/usr/bin/ld: /usr/lib/libgphoto2.so: undefined reference to symbol 'gp_port_free'                                       </p>


<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">/usr/bin/ld: note: 'gp_port_free' is defined in DSO /usr/lib/libgphoto2_port.so so try adding it to the linker command line</p>


<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">/usr/lib/libgphoto2_port.so: could not read symbols: Invalid operation</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">collect2: ld returned 1 exit status</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">make[2]: *** [core/digikam/digikam] Error 1</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">make[1]: *** [core/digikam/CMakeFiles/digikam.dir/all] Error 2</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">make: *** [all] Error 2</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> </p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">Any ideas?</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> </p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">BTW, I've installed libcv-dev, libboost-dev, libcvaux-dev, libhighgui-dev along with digikam and kipi-plugins build dependencies.</p>


<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> </p></div><br>_______________________________________________<br>
Digikam-users mailing list<br>
<a href="mailto:Digikam-users@kde.org">Digikam-users@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/digikam-users" target="_blank">https://mail.kde.org/mailman/listinfo/digikam-users</a><br>
<br></blockquote></div><br></div>