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

Bug 701892

Summary: sci-libs/gdal-2.4.1-r2 - ld: //usr/lib/libxml2.so: error adding symbols: file in wrong format
Product: Gentoo Linux Reporter: Helmut Jarausch <jarausch>
Component: Current packagesAssignee: Sci-geo Project <sci-geosciences>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Helmut Jarausch 2019-12-03 15:20:57 UTC
gdal-2.4.1-r2 doesn't build due to

/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: //usr/lib/libxml2.so: error adding symbols: file in wrong format

collect2: error: ld returned 1 exit status
make[1]: *** [GNUmakefile:66: libgdal.la] Error 1

Why does it try to link /usr/lib/libxml2.so when the right library is in
/usr/lib64/libxml2.so

(I am using the 17.1/desktop profile)

Thanks for a hint,
Helmut
Comment 1 Andreas Sturmlechner gentoo-dev 2019-12-28 17:38:58 UTC

*** This bug has been marked as a duplicate of bug 696106 ***