cURL related rebuilds

Patrice Dumas pertusus at free.fr
Tue Oct 31 15:35:55 UTC 2006


On Tue, Oct 31, 2006 at 01:25:48PM +0100, Jindrich Novy wrote:
> Hi all,
> 
> curl-0:7.15.5-1.fc6 (p:libcurl.so.3) <- libdap  [extras]

This one really depends on curl (more precisely libdapclient.so depends
on libcurl).

> curl-0:7.15.5-1.fc6 (p:libcurl.so.3) <- grads   [extras]
> curl-0:7.15.5-1.fc6 (p:libcurl.so.3) <- dap-freeform_handler    [extras]
> curl-0:7.15.5-1.fc6 (p:libcurl.so.3) <- dap-hdf4_handler        [extras]
> curl-0:7.15.5-1.fc6 (p:libcurl.so.3) <- dap-netcdf_handler      [extras]
> curl-0:7.15.5-1.fc6 (p:libcurl.so.3) <- libnc-dap       [extras]

These have indirect dependencies, as shown by ldd -u -r. The direct 
dependency is on libdapclient.so.  It comes from the link command, 
dap-config, which uses in turn the curl-config output:
-L/usr/kerberos/lib -lcurl -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lresolv -ldl -lidn -lssl -lcrypto -lz  

If I'm not wrong precising all the libraries to link against is needed
for static linking, but not for dynamic linking. 

I think it would be better to avoid rebuilding the lib/apps which don't 
depend directly on a library. Is it possible to get rid of the unneeded 
direct dependencies cleanly?

--
Pat




More information about the Fedora-maintainers mailing list