Description of problem: Programs fail to compile against eccodes (using "pkg-config --libs eccodes"). The error message is: /usr/bin/ld: /usr/lib64/pkgconfig/../../lib64: file not recognized: Is a directory I think that the bug is in the spec file: the original version of eccodes.pc has: libs=-Wl,-rpath,${libdir} ${libdir}/libeccodes.so And the packaged version has: libs=-Wl,${libdir} ${libdir}/libeccodes.so Because the spec file removes the ",rpath," string (see https://src.fedoraproject.org/rpms/eccodes/blob/f30/f/eccodes.spec#_306). Version-Release number of selected component (if applicable): 2.13.0-1 How reproducible: Steps to Reproduce: 1. echo "int main() { return 0; }" > test.c 2. gcc $(pkg-config --libs eccodes) -o test test.c Actual results: /usr/bin/ld: /usr/lib64/pkgconfig/../../lib64: file not recognized: Is a directory Expected results: The file is successfully compiled. Additional info:
I submitted a pull request https://src.fedoraproject.org/rpms/eccodes/pull-request/2.
FEDORA-2019-e54fc22383 has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-e54fc22383
eccodes-2.13.0-2.fc30 has been pushed to the Fedora 30 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-e54fc22383
Sorry for overlooking this issue. As fortran user I rarely use pkg-config, since it does not support provision of the module path needed by gfortran, so I usually end op hardcoding the library locations in my Makefiles anyway. The current update eccodes-2.13.0-2 solves the issue on my side when linking an example c executable combined with pkg-config to get the library locations.
eccodes-2.13.0-2.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report.
FEDORA-2019-cce88837e2 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2019-cce88837e2
eccodes-2.13.0-2.fc29 has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-cce88837e2
eccodes-2.13.0-2.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.