Full_Name: Kim Nam hee Version: libldap.so.2 OS: linux URL: Submission from: (NULL) (203.248.34.92) Dear Engineering Team. I'm developer in Koea.. I'm developed The module run on linux(x86-64) The module uses libldap and libclntsh libraries.. I use ldap_mem_free function in my module.. but it looks like that libldap and libclntsh has that symbol either. I expected to use ldap_mem_free in libldap. but The module use ldap_mem_free in libclntsh... after using that, that module is killed /lib64/libc.so.6[0x3696a760e6] /lib64/libc.so.6[0x3696a78c13] /oracle/product/11g/lib/libclntsh.so.11.1(gslumfFree+0x3b)[0x7f8b6a790539] /oracle/product/11g/lib/libclntsh.so.11.1(gslcmse_MemFree+0x34)[0x7f8b69ab2aac] /oracle/product/11g/lib/libclntsh.so.11.1(ora_ldap_memfree+0x46)[0x7f8b69aa0134] /oracle/product/11g/lib/libclntsh.so.11.1(ldap_memfree+0x30)[0x7f8b69aa3d04] even I load libldap library first, it is killed in other part ../../../libraries/libldap/sasl.c:103: ldap_sasl_bind: Assertion `((ber)->ber_opts.lbo_valid==0x2)' failed. If I don't use libclntsh but, use only libldap, The module works fine. There isn't error.. But, I have to use libclntsh and libldap. How can I do solve this problem?? please help me..
published 7599 marked public
nhkim@crosscert.com writes: > I use ldap_mem_free function in my module.. > but it looks like that libldap and libclntsh has that symbol either. > > I expected to use ldap_mem_free in libldap. but The module use > ldap_mem_free in libclntsh... User error. OpenLDAP libldap has ldap_memfree(), not ldap_mem_free(). -- Hallvard
I wrote: > User error. OpenLDAP libldap has ldap_memfree(), not ldap_mem_free(). Nevermind. I should have looked at your stacktrace or whatever it is, which also shows ldap_memfree rather than ldap_mem_free. -- Hallvard
This is an Oracle bug, please contact Oracle for a fix. Their library should not be exporting symbols from the ldap_* namespace; this space has been owned by libldap since the 1990s. Closing this ITS. -- -- Howard Chu CTO, Symas Corp. http://www.symas.com Director, Highland Sun http://highlandsun.com/hyc/ Chief Architect, OpenLDAP http://www.openldap.org/project/
changed notes changed state Open to Closed
not ours