[kde-freebsd] ports/181212: [patch] textproc/redland: add ftp/curl dependency

Boris Samorodov bsam at passap.ru
Thu Aug 22 11:10:01 UTC 2013


The following reply was made to PR ports/181212; it has been noted by GNATS.

From: Boris Samorodov <bsam at passap.ru>
To: Raphael Kubo da Costa <rakuco at FreeBSD.org>
Cc: bsam at FreeBSD.org, bug-followup at FreeBSD.org
Subject: Re: ports/181212: [patch] textproc/redland: add ftp/curl dependency
Date: Thu, 22 Aug 2013 15:04:15 +0400

 22.08.2013 14:41, Raphael Kubo da Costa ïèøåò:
 > (This also applies to ports/181210)
 > 
 > Does `objdump -p /usr/local/lib/librdf.so.0` list a direct dependency
 > on libcurl.so? I would expect that librdf.so would depend only on
 > libraptor2.so, and libraptor2.so depends on libcurl.so.
 
 You are right:
 -----
 % objdump -p /usr/local/lib/librdf.so.0 | grep NEEDED
   NEEDED      librasqal.so.3
   NEEDED      libraptor2.so.0
   NEEDED      libdb-4.2.so.2
   NEEDED      libc.so.7
 -----
 
 However a binary has an ftp/curl (indirect?) dependency:
 -----
 % objdump -p /usr/local/bin/rdfproc | grep NEEDED
   NEEDED      librdf.so.0
   NEEDED      librasqal.so.3
   NEEDED      libraptor2.so.0
   NEEDED      libcurl.so.6
   NEEDED      libssl.so.7
   NEEDED      libcrypto.so.7
   NEEDED      libicuuc.so.50
   NEEDED      libxslt.so.2
   NEEDED      libxml2.so.5
   NEEDED      libz.so.6
   NEEDED      libiconv.so.3
   NEEDED      libm.so.5
   NEEDED      libyajl.so.2
   NEEDED      libdb-4.2.so.2
   NEEDED      libc.so.7
 -----
 
 But ldd shows:
 -----
 % ldd /usr/local/lib/librdf.so.0 | grep curl
         libcurl.so.7 => /usr/local/lib/libcurl.so.7 (0x802004000)
 -----
 
 And this leads to:  [*]
 -----
 % ldd /usr/local/bin/rdfproc | grep curl
         libcurl.so.6 => /usr/local/lib/compat/pkg/libcurl.so.6 (0x800f2c000)
         libcurl.so.7 => /usr/local/lib/libcurl.so.7 (0x8030a1000)
 -----
 
 > In this case, there'd be no need to update redland if curl is updated.
 
 I always thought that this [*] is not tolerable, but I may be wrong.
 
 -- 
 WBR, Boris Samorodov (bsam)
 FreeBSD Committer, http://www.FreeBSD.org The Power To Serve


More information about the kde-freebsd mailing list