Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 380687

Summary: media-gfx/digikam-2.0.0[gphoto2] underlinking failure (forced --no-add-needed)
Product: Gentoo Linux Reporter: Andreas K. Hüttel <dilfridge>
Component: [OLD] KDEAssignee: Andreas K. Hüttel <dilfridge>
Status: RESOLVED FIXED    
Severity: normal CC: kde
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://bugs.kde.org/show_bug.cgi?id=258931
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 372079    

Description Andreas K. Hüttel archtester gentoo-dev 2011-08-25 22:17:39 UTC
Linking CXX executable digikam
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.2/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/libgphoto2.so: undefined reference to symbol 'gp_port_info_list_free'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.2/../../../../x86_64-pc-linux-gnu/bin/ld: note: 'gp_port_info_list_free' is defined in DSO /usr/lib64/libgphoto2_port.so so try adding it to the linker command line
/usr/lib64/libgphoto2_port.so: could not read symbols: Invalid operation
collect2: ld gab 1 als Ende-Status zurück
make[2]: *** [digikam/digikam] Fehler 1
make[1]: *** [digikam/CMakeFiles/digikam.dir/all] Fehler 2
make: *** [all] Fehler 2
Comment 1 Andreas K. Hüttel archtester gentoo-dev 2011-08-26 11:30:03 UTC
Just fixed in trunk

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
Comment 2 Andreas K. Hüttel archtester gentoo-dev 2011-08-26 19:47:17 UTC
Fixed in -r1