[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: shared c-client problems

On Mon, Nov 06, 2000 at 09:45:52AM +0100, Petr Cech wrote:
> Hi,
> I maintain php4 for Debian. As you know, there is plenthora of different
> modules for it, many shared libs and such. And there is one problem with them.
> The problem is, that when I link the ldap extension with OpenLDAPv2 and
> c-client library (dynamicly), than when both modules are loaded, apache
> crashes when using imap_* functions of php4. After a bit of mailing with php4
> authors the bug was identified as "buggy" libc-client. If c-client is staticly
> linked with imap module, it works OK, no segfaults (at least not the former
> 100% sure one). But that's not an option, as the module would have some 750kiB
> instead of80kiB.
> Anyone can help solve this c-client vs. openldap issue?

Is libc-client compiled with -fPIC? Are there any common symbols betweek
libldap2 and libc-client?

/  Ben Collins  --  ...on that fantastic voyage...  --  Debian GNU/Linux   \
`  bcollins@debian.org  --  bcollins@openldap.org  --  bcollins@linux.com  '

Reply to: