pkgsrc-Users archive

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

php + php-ldap

I recently installed a cakephp app that runs quite a few cron jobs using php. All these scripts dump core with the error 'Memory fault' after producing the desired outcome.

Before building php-ldap, I had install openldap. I even removed 'builtin' references in php-ldap to stop it referencing the NetBSD in-tree version of ldap.

This is the core:

Core was generated by `php'.
Program terminated with signal 11, Segmentation fault.
#0  0x00007f7ff8820ee2 in ldap_int_initialize () from /usr/lib/
(gdb) bt
#0  0x00007f7ff8820ee2 in ldap_int_initialize () from /usr/lib/
#1  0x00007f7ff880c3b2 in ?? () from /usr/lib/
#2  0x00007f7ff882df89 in _fini () from /usr/lib/
#3  0x00007f7ffdff1600 in ?? ()
#4 0x00007f7ffde050f6 in _rtld_call_fini_functions () from /usr/libexec/ld.elf_so
#5  0x00007f7ffcdae2ac in __cxa_finalize () from /usr/lib/
#6  0x00007f7ffcdae19e in exit () from /usr/lib/
#7  0x00000000005c9ca5 in main ()

Which shows that it is referencing the in-tree libraries.

Is there something special I need to do to stop this from occuring? Obviously (or not) symlinking to the correct library in /usr/pkg/lib stops this problem from occuring.


Home | Main Index | Thread Index | Old Index