Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 851246 - sci-libs/gdal-3.5.0: /usr/lib/libdl.so not found
Summary: sci-libs/gdal-3.5.0: /usr/lib/libdl.so not found
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sci-geo Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: glibc-2.34
  Show dependency tree
 
Reported: 2022-06-11 18:35 UTC by Thomas Bettler
Modified: 2022-06-12 18:41 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log.gz (build.log.gz,12.55 KB, application/gzip)
2022-06-11 18:35 UTC, Thomas Bettler
Details
emerge info (emerge.info,6.67 KB, text/plain)
2022-06-11 18:38 UTC, Thomas Bettler
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Bettler 2022-06-11 18:35:33 UTC
Created attachment 784094 [details]
build.log.gz

sci-libs/gdal-3.5.0: cmake complaining /usr/lib/libdl.so not found

Steps to reproduce:
1. emerge =sci-libs/gdal-3.5.0-r4

Result:
>>> Compiling source in /var/tmp/portage/sci-libs/gdal-3.5.0-r4/work/gdal-3.5.0 ...
 * Source directory (CMAKE_USE_DIR): "/var/tmp/portage/sci-libs/gdal-3.5.0-r4/work/gdal-3.5.0"
 * Build directory  (BUILD_DIR):     "/var/tmp/portage/sci-libs/gdal-3.5.0-r4/work/gdal-3.5.0_build"
ninja -v -j33 -l0
ninja: error: '/usr/lib64/libdl.so', needed by 'libgdal.so.31.0.0', missing and no known rule to make it
Comment 1 Thomas Bettler 2022-06-11 18:38:54 UTC
Created attachment 784097 [details]
emerge info
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-06-11 21:46:52 UTC
What version of netcdf and hdf5?
Comment 3 Thomas Bettler 2022-06-12 06:22:53 UTC
sci-libs/netcdf-4.8.1-r1:0/19
sci-libs/hdf5-1.10.5-r1:0/1.10.5

although libnetcdf.so and libhdf5.so don't seem to related to this issue

it's more likely libdl.so or the mechanics detecting it, not?
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-06-12 06:28:01 UTC
(In reply to Thomas Bettler from comment #3)
> sci-libs/netcdf-4.8.1-r1:0/19
> sci-libs/hdf5-1.10.5-r1:0/1.10.5
> 
> although libnetcdf.so and libhdf5.so don't seem to related to this issue
> 
> it's more likely libdl.so or the mechanics detecting it, not?

Please try netcdf-4.8.1-r2 and hdf5-1.12.2-r2. The issue is that CMake ends up giving a confusing error if one of the packages used has a fixed path to libdl within its macros.
Comment 5 Thomas Bettler 2022-06-12 18:41:28 UTC
confirm, works here