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

RE: .so version numbers for dlopen'd objects



--On Tuesday, May 22, 2018 7:18 PM -0700 "Paul B. Henson" <henson@acm.org> wrote:

The documentation currently says to use the .la file:

http://www.openldap.org/doc/admin24/slapdconf2.html#cn=module

Although under linux I've always just used the .so file myself. Getting
rid of the .la would require a documentation update and also possibly
config changes for everybody who listened to the documentation :).

The admin guide contains examples, is not authoritative, and may not apply to all cases (For example, statically built modules wouldn't work with the config you noted). The manual pages are the authoritative documentation, and they explicitly allow for either the .la or .so files:

moduleload <filename>
Specify the name of a dynamically loadable module to load. The filename may be an absolute path name or a simple filename. Non- absolute names are searched for in the directories specified by the modulepath option. This option and the modulepath option are
             only usable if slapd was compiled with --enable-modules.

--Quanah

--

Quanah Gibson-Mount
Product Architect
Symas Corporation
Packaged, certified, and supported LDAP solutions powered by OpenLDAP:
<http://www.symas.com>