Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Jan 2011 02:25:18 +0100
From:      Jean-Yves Avenard <jyavenard@gmail.com>
To:        Jilles Tjoelker <jilles@stack.nl>
Cc:        "freebsd-stable@freebsd.org" <freebsd-stable@freebsd.org>, Pete French <petefrench@ticketswitch.com>
Subject:   Re: Policy on static linking ?
Message-ID:  <AANLkTikPVTnZr8=C_xLXiJKm3JJBh66mekgx0kd_ihca@mail.gmail.com>
In-Reply-To: <AANLkTimsykzn%2B1h-f90Jxy2VDdHk43KULnAiD8XVnWNA@mail.gmail.com>
References:  <E1PdkJV-0007GJ-Rc@dilbert.ticketswitch.com> <AANLkTikGYtu=4E%2BPemNFQVOkQtLDgX=h%2BvCdL%2B0x4p0S@mail.gmail.com> <20110115224857.GA42408@stack.nl> <AANLkTimsykzn%2B1h-f90Jxy2VDdHk43KULnAiD8XVnWNA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi

On 16 January 2011 02:17, Jean-Yves Avenard <jyavenard@gmail.com> wrote:
> Hi
>
> On 15 January 2011 23:48, Jilles Tjoelker <jilles@stack.nl> wrote:
>
>>
>> The approach has been used by Debian for some time.
>>
>> Links:
>> http://chris.dzombak.name/blog/2010/03/building-openssl-with-symbol-versioning/
>> http://chris.dzombak.name/files/openssl/openssl-0.9.8l-symbolVersioning.diff
>> http://rt.openssl.org/Ticket/Display.html?id=1222&user=guest&pass=guest
>
> This sounds very interesting.
>
> I do have trouble understanding on how this would make a difference
> with how it's currently working.
>
> base openssl uses libssl.so.6 and libcrypto.so.6
>
> current port openssl is using .so.7
>
> So they too have different sonames; How could changing this to
> .so.0.9.8 for base and so.1.0.2 for port make things behave
> differently?

Replying to myself..

Looking at the symbols in the openssl libraries found on a Ubuntu
machine, I see what is going on:

symbol name:
X509_NAME_cmp@OPENSSL_0.9.8 vs X509_NAME_cmp

This sounds like a great approach.. and should definitely resolve my
problems I think.

Are you sure both base and port needs to be patched?

I would have assumed that patching only port would be sufficient
(provided all tools depending on it are also recompiled)

Jean-Yves



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTikPVTnZr8=C_xLXiJKm3JJBh66mekgx0kd_ihca>