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

Bug 840728

Summary: media-gfx/freecad-0.19.4-r1 compilation fails looking for /usr/lib64/libdl.so
Product: Gentoo Linux Reporter: sargastic
Component: Current packagesAssignee: Bernd <waebbl-gentoo>
Status: RESOLVED DUPLICATE    
Severity: normal CC: proxy-maint
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info
build.log

Description sargastic 2022-04-25 06:48:04 UTC
When trying to compile freecad-0.19.4-r1, the build chains looks for /usr/lib64/libdl.so file and, not finding it, fails :

-- Configuring done
-- Generating done
-- Build files have been written to: /var/tmp/portage/media-gfx/freecad-0.19.4-r1/work/FreeCAD-0.19.4_build
>>> Source configured.
>>> Compiling source in /var/tmp/portage/media-gfx/freecad-0.19.4-r1/work/FreeCAD-0.19.4 ...
 * Source directory (CMAKE_USE_DIR): "/var/tmp/portage/media-gfx/freecad-0.19.4-r1/work/FreeCAD-0.19.4"
 * Build directory  (BUILD_DIR):     "/var/tmp/portage/media-gfx/freecad-0.19.4-r1/work/FreeCAD-0.19.4_build"
ninja -v -j23 -l8.0
ninja: error: '/usr/lib64/libdl.so', needed by 'lib/libSMDS.so', missing and no known rule to make it
 * ERROR: media-gfx/freecad-0.19.4-r1::gentoo failed (compile phase):
 *   ninja -v -j23 -l8.0 failed
 * 

libdl.so.2 is in /lib64 and there is no libdl.so anywhere on the system. Creating the relevant softlink solves the problem (but this is not a proper solution).
Comment 1 Mike Gilbert gentoo-dev 2022-04-25 21:13:25 UTC
Please provide emerge --info and attach a full build log. Then change the bug status to UNCONFIRMED.
Comment 2 sargastic 2022-04-26 19:36:10 UTC
Created attachment 774891 [details]
emerge --info
Comment 3 sargastic 2022-04-26 19:36:37 UTC
Created attachment 774894 [details]
build.log
Comment 4 sargastic 2022-04-26 19:36:59 UTC
emerge --info and build log added as requested.
Comment 5 Bernd 2022-04-27 06:49:45 UTC
Please try rebuilding your netcdf (and likely vtk as well). This is probably related to bug #827188 and a duplicate of bug #839954.
Comment 6 Bernd 2022-04-27 06:54:43 UTC
Also please update your opencascade. The version 7.4.0 you're using is no longer available and maintained in the tree.
Comment 7 sargastic 2022-05-04 10:59:21 UTC
(In reply to Bernd from comment #5)
> Please try rebuilding your netcdf (and likely vtk as well). This is probably
> related to bug #827188 and a duplicate of bug #839954.

Yep, this has done the trick (and vtk/opencascade). 
Thanks for the info. 
Closing the bug report.

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