Opened 15 years ago

Closed 14 years ago

#23976 closed defect (worksforme)

Unable to build rb-ldap: 'LDAP_OPT_X_TLS_PROTOCOL' undeclared

Reported by: ben@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: ruby ldap Cc:
Port: rb-ldap

Description

I received this build error while trying to install the rb-ldap port:

ldap.c: In function 'Init_ldap':
ldap.c:329: warning: cast from pointer to integer of different size
ldap.c:332: warning: cast from pointer to integer of different size
ldap.c:424: error: 'LDAP_OPT_X_TLS_PROTOCOL' undeclared (first use in this function)
ldap.c:424: error: (Each undeclared identifier is reported only once
ldap.c:424: error: for each function it appears in.)
make: *** [ldap.o] Error 1

While searching online I found this link to a patch that appears to address the issue: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=521980 (See the link at the bottom of that bug report)

Change History (1)

comment:1 Changed 14 years ago by jmroot (Joshua Root)

Resolution: worksforme
Status: newclosed

This built fine for me. Updated to 0.9.8 in r78042 anyway, which still builds fine.

Note: See TracTickets for help on using tickets.