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

Re: (ITS#3722) ber_free() mixes with Oracle-9



At 01:53 AM 5/13/2005, till.schnupp@hvbps.de wrote:
>Full_Name: Till Schnupp
>Version: openldap-2.2.26
>OS: Solaris 9
>URL: ftp://ftp.openldap.org/incoming/
>Submission from: (NULL) (217.111.53.100)
>
>Oracle-9 provides also a function called ber_free():

Most implementations of LDAP do.

>  $ nm /opt/oracle/product/9.2.0/lib/libclntsh.so.9.0 | grep ber_free
>  [36781] |   3073264|      52|FUNC |GLOB |0    |9      |ber_free
>
>This causes segmentation faults, e.g. if you use php with openldap and oracle.

I suggest you configure PHP to use one and only implementation
of the LDAP API.  I have no clue if that's possible, but certainly
mixing two implementations of the same API in one program will lead
to havoc.

Of course, one could add renamed symbol support to the
libraries and their headers, but I'll leave that to others.

Kurt