[Pkg-ace-devel] [devo-group] [PATCH] Request for review on a new library versioning scheme (versioned_so=2)

Thomas Girard thomas.g.girard at free.fr
Fri May 14 19:09:28 UTC 2010


Hello,

thanks for your quick reply.

Le 14/05/2010 20:55, Adam Mitz a écrit :
> On 5/14/2010 1:23 PM, Thomas Girard wrote:
>> for the Debian ACE+TAO packages we have decided to revert back to the
>> traditional compilation method. But we also agreed to keep libtool-like
>> library versioning scheme: libName-x.y.z.so instead of libName.so.x.y.z.
>> (e.g. libTAO_DynamicAny-1.7.7.so instead of libTAO_DynamicAny.so.1.7.7)
>>
>> Rationale, already discussed in [0]: the meaning of 1.7.7 in the above
>> example is really to show TAO's version. There is no intent to provide
>> a hint or an ABI information.
>>
>> The attached patch adds this new behavior when versioned_so=2.
>
> Doesn't this require source code changes so that dlopen(TAO_Foo) becomes
> dlopen(TAO_Foo-1.7.7) ?
> If that change isn't made, and libraries are dynamically loaded by
> non-versioned name, then there isn't much benefit in doing this, is
> there?  (two versions still can't live together).

We need libTAO_DynamicAny.so -> libTAO_DynamicAny-1.7.7.so symlink with
this patch for the dlopen mechanism to work. So indeed there is no
change yet in this area, buut that's a first step.

> Or did I miss something?  I didn't read all of [0], but in skimming it
> looks like this topic was discussed.

You're right: that topic was mentioned. That's the next task on our
ACE+TAO TODO list :-)

Regards,

Thomas



More information about the Pkg-ace-devel mailing list