Re: editing library's soname (was Re: Fixed in upload of curl 7.14.1-1 to experimental)

2005-09-27 Thread Domenico Andreoli
On Sat, Sep 24, 2005 at 11:39:28AM -0400, Daniel Jacobowitz wrote:
 On Sat, Sep 24, 2005 at 04:52:31PM +0200, Domenico Andreoli wrote:
  yes, i'm aware of this. it is due to the libcurl-gnutls.so.3 soname
  still being libcurl.so.3. everything else is in place for a good upload.
  
  as of today, i've not found a solution different from patching the
  makefiles. i'd like a tool to modify this kind of things in the elf,
  probably elfsh is what i'm looking for. something to run after the
  build process. any idea?
 
 In general you can't do this unless you're replacing it with a shorter
 soname.  I highly recommend fixing the build system instead.

the build system is automake+libtool. fixing it means telling to libtool
which soname is to be used. ah.. libtool... i hate clever software..

the only way i know to achieve this is to modify the lib_LTLIBRARIES
variable and releated. am i missing anything?

cheers
domenico

-[ Domenico Andreoli, aka cavok
 --[ http://people.debian.org/~cavok/gpgkey.asc
   ---[ 3A0F 2F80 F79C 678A 8936  4FEE 0677 9033 A20E BC50


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



editing library's soname (was Re: Fixed in upload of curl 7.14.1-1 to experimental)

2005-09-24 Thread Domenico Andreoli
On Sat, Sep 24, 2005 at 04:15:53PM +0200, Elimar Riesebieter wrote:
 On Sat, 17 Sep 2005 the mental interface of Domenico Andreoli told:
 
 It doesn't seem so:
 dpkg -l | grep curl
 ii  curl   7.14.1-2
 ii  libcurl3   7.14.1-2
 ii  libcurl3-gnutls7.14.1-2
 ii  libcurl3-gnutls-dev7.14.1-2
 
 Building moc depending on libcurl3-gnutls-dev gives
 dh_shlibdeps
 debian/moc/usr/bin/mocp: /usr/lib/libcurl.so.3: version `CURL_GNUTLS_3' not 
 found (required by debian/moc/usr/bin/mocp)
 
 Why /usr/lib/libcurl.so.3 and not /usr/lib/libcurl-gnutls.so.3?
 
 ldd ./mocp | egrep (ssl|gnutls)
 ./mocp: /usr/lib/libcurl.so.3: version `CURL_GNUTLS_3' not found (required by 
 ./mocp)
 libgnutls.so.11 = /usr/lib/libgnutls.so.11 (0x0fc3b000)
 libssl.so.0.9.7 = /usr/lib/libssl.so.0.9.7 (0x0f7df000)

yes, i'm aware of this. it is due to the libcurl-gnutls.so.3 soname
still being libcurl.so.3. everything else is in place for a good upload.

as of today, i've not found a solution different from patching the
makefiles. i'd like a tool to modify this kind of things in the elf,
probably elfsh is what i'm looking for. something to run after the
build process. any idea?

i'm also sorry for being not responsive at all, my real life should
return to me some of the good old free time in a week or two.

cheers
domenico

-[ Domenico Andreoli, aka cavok
 --[ http://people.debian.org/~cavok/gpgkey.asc
   ---[ 3A0F 2F80 F79C 678A 8936  4FEE 0677 9033 A20E BC50


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: editing library's soname (was Re: Fixed in upload of curl 7.14.1-1 to experimental)

2005-09-24 Thread Daniel Jacobowitz
On Sat, Sep 24, 2005 at 04:52:31PM +0200, Domenico Andreoli wrote:
 yes, i'm aware of this. it is due to the libcurl-gnutls.so.3 soname
 still being libcurl.so.3. everything else is in place for a good upload.
 
 as of today, i've not found a solution different from patching the
 makefiles. i'd like a tool to modify this kind of things in the elf,
 probably elfsh is what i'm looking for. something to run after the
 build process. any idea?

In general you can't do this unless you're replacing it with a shorter
soname.  I highly recommend fixing the build system instead.

-- 
Daniel Jacobowitz
CodeSourcery, LLC


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]