FS#60053 - Link problem when using libnetcdf due to reliance on out of date libcurl
Attached to Project:
Community Packages
Opened by Phil Rosenberg (philrosenberg) - Friday, 14 September 2018, 14:15 GMT
Last edited by Antonio Rojas (arojas) - Friday, 14 September 2018, 16:27 GMT
Opened by Phil Rosenberg (philrosenberg) - Friday, 14 September 2018, 14:15 GMT
Last edited by Antonio Rojas (arojas) - Friday, 14 September 2018, 16:27 GMT
|
Details
Description:
If I use libnetcdf in my programs I get the following linker warning during build /usr/bin/ld: warning: libcurl.so.3, needed by /nfs/see-fs-02_users/earpros/usr/lib/../lib/libnetcdf.so, not found (try using -rpath or -rpath-link) Then if I attempt to execute the resulting program (here a.out) I get the following error ./a.out: error while loading shared libraries: libcurl.so.3: cannot open shared object file: No such file or directory Checking the /usr/lib directory the version of libcurl available is libcurl.so.4 Additional info: * package version(s) The output of pacman -Q --info netcdf is Name : netcdf Version : 4.6.1-2 Description : network Common Data Form interface for array-oriented data access and corresponding library Architecture : x86_64 URL : https://www.unidata.ucar.edu/software/netcdf/ Licenses : custom Groups : None Provides : None Depends On : hdf5 curl Optional Deps : netcdf-fortran: fortran bindings netcdf-cxx: c++ bindings Required By : None Optional For : None Conflicts With : None Replaces : None Installed Size : 1866.00 KiB Packager : Antonio Rojas <arojas@archlinux.org> Build Date : Thu Aug 23 18:18:19 2018 Install Date : Mon Sep 10 11:09:31 2018 Install Reason : Explicitly installed Install Script : No Validated By : Signature The output of pacman -Q --info curl isName : curl Version : 7.61.1-1 Description : An URL retrieval utility and library Architecture : x86_64 URL : https://curl.haxx.se Licenses : MIT Groups : None Provides : libcurl.so=4-64 Depends On : ca-certificates krb5 libssh2 openssl zlib libpsl libnghttp2 Optional Deps : None Required By : ceph-libs cmake git gst-plugins-bad liboauth libofa libquvi libvirt netcdf networkmanager pacman poppler qemu Optional For : apache Conflicts With : None Replaces : None Installed Size : 1525.00 KiB Packager : Christian Hesse <arch@eworm.de> Build Date : Wed Sep 5 06:41:31 2018 Install Date : Mon Sep 10 10:49:42 2018 Install Reason : Installed as a dependency for another package Install Script : No Validated By : Signature * config and/or log files etc. Steps to reproduce: Build any program using the netcdf library |
This task depends upon
This report was incorrect. I was accidentally picking up a previous build I built myself from source. Sorry for the noise.