Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 654686 - sci-geosciences/qmapshack-1.11.1: undefined reference to libproj.so.0 (from sci-libs/proj)
Summary: sci-geosciences/qmapshack-1.11.1: undefined reference to libproj.so.0 (from s...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Andrey Grozin
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-05-03 06:40 UTC by gerion
Modified: 2018-05-04 16:41 UTC (History)
2 users (show)

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


Attachments
build.log.gz (build.log.link.gz,29.15 KB, application/gzip)
2018-05-03 06:40 UTC, gerion
Details
emerge--info.gz (emergeinfo.gz,3.83 KB, application/gzip)
2018-05-03 19:48 UTC, gerion
Details

Note You need to log in before you can comment on or make changes to this bug.
Description gerion 2018-05-03 06:40:55 UTC
Created attachment 529510 [details]
build.log.gz

When emerging qmapshack I get the following error when linking:
/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: warning: libproj.so.0, needed by /usr/lib64/libgeotiff.so.2, not found (try using -rpath or -rpath-link)
/usr/lib64/libgeotiff.so.2: undefined reference to `pj_fwd'
/usr/lib64/libgeotiff.so.2: undefined reference to `pj_free'
/usr/lib64/libgeotiff.so.2: undefined reference to `pj_inv'
/usr/lib64/libgeotiff.so.2: undefined reference to `pj_init'

See attached build log for the full log. sci-libs/proj is defined, but does not provide a libproj.so.0:
# ls /usr/lib64/libproj.*
/usr/lib64/libproj.so  /usr/lib64/libproj.so.9  /usr/lib64/libproj.so.9.1.0

I tried to remerge proj, but this does not help.
Comment 1 gerion 2018-05-03 19:48:45 UTC
Created attachment 529640 [details]
emerge--info.gz
Comment 2 markus 2018-05-04 16:31:34 UTC
>gnu/bin/ld: warning: libproj.so.0, needed
>by /usr/lib64/libgeotiff.so.2, not found

please try to re-emerge libgeotiff, your installed copy looks for libproj.so.0, which might be out of date, mine currently is libproj.so.9. Just a guess however :)
Comment 3 gerion 2018-05-04 16:41:54 UTC
> please try to re-emerge libgeotiff
Nice this has worked. Thank you.