[Bug 255795] net/openldap24-server: ld: error: unable to find library -lltdl

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue May 11 14:36:17 UTC 2021


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255795

            Bug ID: 255795
           Summary: net/openldap24-server: ld: error: unable to find
                    library -lltdl
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: delphij at FreeBSD.org
          Reporter: ohartmann at walstatt.org
             Flags: maintainer-feedback?(delphij at FreeBSD.org)
          Assignee: delphij at FreeBSD.org

Recent update of port net/openldap24-server results in a compiler/linker error,
as shown below. Configuration is as follows:

# make showconfig
===> The following configuration options are available for
openldap-sasl-server-2.4.58_2:
     ACCESSLOG=on: With In-Directory Access Logging overlay
     ACI=off: Per-object ACI (experimental)
     AUDITLOG=on: With Audit Logging overlay
     BDB=off: With BerkeleyDB backend (DEPRECATED)
     COLLECT=off: With Collect overy Services overlay
     CONSTRAINT=off: With Attribute Constraint overlay
     DDS=on: With Dynamic Directory Services overlay
     DEBUG=off: Build with debugging support
     DEREF=off: With Dereference overlay
     DNSSRV=on: With Dnssrv backend
     DYNACL=on: Run-time loadable ACL (experimental)
     DYNAMIC_BACKENDS=on: Build dynamic backends (DEPRECATED)
     DYNAMIC_MODULES=on: Build dynamic backend and overlay modules
     DYNGROUP=on: With Dynamic Group overlay
     DYNLIST=on: With Dynamic List overlay
     FETCH=off: Enable fetch(3) support
     GSSAPI=on: With GSSAPI support (implies SASL support)
     KQUEUE=off: With kqueue support (experimental)
     LASTBIND=off: With lastbind overlay
     LMPASSWD=off: With LM hash password support (DEPRECATED)
     MDB=on: With Memory-Mapped DB backend
     MEMBEROF=off: With Reverse Group Membership overlay
     ODBC=off: With SQL backend
     OUTLOOK=off: Force caseIgnoreOrderingMatch on name attribute
(experimental)
     PASSWD=off: With Passwd backend
     PBKDF2=off: With PBKDF2 hash password support
     PCACHE=on: With Proxy Cache overlay
     PERL=off: With Perl backend
     PPOLICY=on: With Password Policy overlay
     REFINT=off: With Referential Integrity overlay
     RELAY=off: With Relay backend
     RETCODE=off: With Return Code testing overlay
     RLOOKUPS=off: With reverse lookups of client hostnames
     RWM=off: With Rewrite/Remap overlay
     SASL=on: With (Cyrus) SASL2 support
     SEQMOD=on: With Sequential Modify overlay
     SHA2=on: With SHA2 Password hashes overlay
     SHELL=off: With Shell backend (disables threading)
     SLAPI=off: With Netscape SLAPI plugin API (experimental)
     SLP=off: With SLPv2 (RFC 2608) support
     SMBPWD=on: With Samba Password hashes overlay
     SOCK=off: With Sock backend
     SSSVLV=off: With ServerSideSort/VLV overlay
     SYNCPROV=on: With Syncrepl Provider overlay
     TCP_WRAPPERS=on: With tcp wrapper support
     TRANSLUCENT=off: With Translucent Proxy overlay
     UNIQUE=on: With attribute Uniqueness overlay
     VALSORT=off: With Value Sorting overlay

Addednum:

# pkg info -xo tdl
libltdl-2.4.6                  devel/libltdl

The reported error is:

[...]
cc -shared  .libs/ppolicy.o .libs/version.o  -Wl,--rpath
-Wl,/usr/ports/net/openldap24-server/work/openldap-2.4.58/libraries/libldap_r/.libs
-Wl,--rpath
-Wl,/usr/ports/net/openldap24-server/work/openldap-2.4.58/libraries/liblber/.libs
-Wl,--rpath -Wl,/usr/local/lib ../../../libraries/libldap_r/.libs/libldap_r.so
../../../libraries/liblber/.libs/liblber.so -lltdl  -Wl,-soname
-Wl,ppolicy-2.4.so.2 -o .libs/ppolicy-2.4.so.2.11.6
ld: error: unable to find library -lltdl
cc: error: linker command failed with exit code 1 (use -v to see invocation)
*** [ppolicy.la] Error code 1

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list