[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: .so version numbers for dlopen'd objects



On Tue, May 22, 2018 at 12:51:49PM -0700, Paul B. Henson wrote:
They say that shared objects which are intended to be dlopen'd, as opposed
to linked to, should not include version numbers, and it should look like:

-rwxr-xr-x 1 henson henson 1773576 May 21 12:54 back_bdb-2.4.so
-rwxr-xr-x 1 henson henson     864 May 21 12:54 back_bdb.la

Personally I'd even go further:

-rwxr-xr-x 1 henson henson 1773576 May 21 12:54 back_bdb.so

(and no .la at all - on platforms where that's feasible)