Summary: | sci-geosciences/grass-7.4.0 - configure: error: *** Unable to locate GDAL library. ... /usr/lib64/libmfhdf.so.0: undefined reference to `VSgetdatainfo' | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Thomas Beutin <tb> |
Component: | Current packages | Assignee: | Sci-geo Project <sci-geosciences> |
Status: | RESOLVED OBSOLETE | ||
Severity: | normal | CC: | kripton |
Priority: | Normal | Keywords: | PMASKED |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Deadline: | 2020-09-21 | ||
Attachments: |
build.log
config.log |
Description
Thomas Beutin
2018-06-04 04:30:04 UTC
Created attachment 534724 [details]
build.log
Created attachment 534726 [details]
config.log
This seems to be the real problem:
/usr/lib64/libmfhdf.so.0: undefined reference to `VSgetdatainfo'
/usr/lib64/libmfhdf.so.0: undefined reference to `HCget_config_info'
/usr/lib64/libmfhdf.so.0: undefined reference to `ANreadann'
/usr/lib64/libmfhdf.so.0: undefined reference to `HEvalue'
/usr/lib64/libmfhdf.so.0: undefined reference to `Hclose'
/usr/lib64/libmfhdf.so.0: undefined reference to `ANfileinfo'
/usr/lib64/libmfhdf.so.0: undefined reference to `Hread'
/usr/lib64/libmfhdf.so.0: undefined reference to `DFdiput'
/usr/lib64/libmfhdf.so.0: undefined reference to `HCPgetcomptype'
[...]
(In reply to Thomas Beutin from comment #2) > Created attachment 534726 [details] > config.log > > This seems to be the real problem: > > /usr/lib64/libmfhdf.so.0: undefined reference to `VSgetdatainfo' > /usr/lib64/libmfhdf.so.0: undefined reference to `HCget_config_info' > /usr/lib64/libmfhdf.so.0: undefined reference to `ANreadann' > /usr/lib64/libmfhdf.so.0: undefined reference to `HEvalue' > /usr/lib64/libmfhdf.so.0: undefined reference to `Hclose' > /usr/lib64/libmfhdf.so.0: undefined reference to `ANfileinfo' > /usr/lib64/libmfhdf.so.0: undefined reference to `Hread' > /usr/lib64/libmfhdf.so.0: undefined reference to `DFdiput' > /usr/lib64/libmfhdf.so.0: undefined reference to `HCPgetcomptype' > [...] i found a solution/ workarounf here: http://hdf-forum.184993.n3.nabble.com/Help-with-libmfhdf-undefined-references-td4028989.html So, when i start it like this it emerges fine: LDFLAGS="-ldf" nice -n 19 emerge -v1u sci-geosciences/grass Does it succeed after you `emerge -1 /usr/lib64/libmfhdf.so.0`? (In reply to Jeroen Roovers from comment #4) > Does it succeed after you `emerge -1 /usr/lib64/libmfhdf.so.0`? yes, i recompiled sci-libs/hdf-4.2.13-r1 before - it didn't help. IMHO every package that uses sci-libs/hdf (or /usr/lib64/libmfhdf.so.0) has to be changed to add /usr/lib64/libdf.so.0 in the linking process, too. BTW: i had the same problem on sci-geosciences/qgis-3.0.2 (no bug filed yet), and setting the env var like here fixed also the compile problem there. package removed. |