tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: [PATCH] make devel/netcdf depend on libpsl to avoid picking it up from the outside (and failing)



Am Sun, 15 Nov 2020 22:17:28 +0100
schrieb Thomas Klausner <wiz%gatalith.at@localhost>: 

> This seems like an indirect failure caused by something else.

Maybe that was an artifact of something … but:

readelf -d .prefix/lib/libnetcdf.so|grep NEEDED
 0x0000000000000001 (NEEDED)             Shared library: [libhdf5_hl.so.100]
 0x0000000000000001 (NEEDED)             Shared library: [libhdf5.so.103]
 0x0000000000000001 (NEEDED)             Shared library: [libsz.so.2]
 0x0000000000000001 (NEEDED)             Shared library: [libaec.so.0]
 0x0000000000000001 (NEEDED)             Shared library: [libdl.so.2]
 0x0000000000000001 (NEEDED)             Shared library: [libm.so.6]
 0x0000000000000001 (NEEDED)             Shared library: [libcurl.so.4]
 0x0000000000000001 (NEEDED)             Shared library: [libnghttp2.so.14]
 0x0000000000000001 (NEEDED)             Shared library: [libidn2.so.0]
 0x0000000000000001 (NEEDED)             Shared library: [libunistring.so.2]
 0x0000000000000001 (NEEDED)             Shared library: [libpsl.so.5]
 0x0000000000000001 (NEEDED)             Shared library: [libicuuc.so.67]
 0x0000000000000001 (NEEDED)             Shared library: [libicudata.so.67]
 0x0000000000000001 (NEEDED)             Shared library: [libssl.so.1.1]
 0x0000000000000001 (NEEDED)             Shared library: [libcrypto.so.1.1]
 0x0000000000000001 (NEEDED)             Shared library: [libzstd.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libbrotlidec.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libz.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libpthread.so.0]
 0x0000000000000001 (NEEDED)             Shared library: [libc.so.6]

Does it enter via libcurl, perhaps? I'm rebuilding it without psl now
on this install … then netcdf, and indeed, it's gone. Stupid libtool
linking in indirectly needed shared libs. Maybe I should put
--as-needed into LDFLAGS. The libtool archive of curl should've put
them as private libs for static linking only anyway. But then, clean
minimal library deps are not of such great value when I don't
update/change packages in a tree once installed.

So yes, You can ignore this patch. It was a pure artifact of curl
bringing in libpsl before.


Alrighty then,

Thomas

-- 
Dr. Thomas Orgis
HPC @ Universität Hamburg


Home | Main Index | Thread Index | Old Index