Date: Sat, 12 Dec 2009 12:30:35 +0100 From: Alex Dupre <ale@FreeBSD.org> To: ports@FreeBSD.org Subject: [Call for help] identify and fix libraries linked (erroneously) with libthr (that break php) Message-ID: <4B237EDB.5030505@FreeBSD.org>
next in thread | raw e-mail | index | archive | help
Hi PHP users, if you are using php5 on FreeBSD 7/8 (and not with apache22-worker) and are experiencing core dumps, probably you have some extensions linked with libthr. A couple of them are mhash and pgsql (for which I already have patches). To fix coredumps we need to identify the ports that install libraries erroneously linked with libthr, that are dependencies of php extensions. To do this task you can run the following command: # ldd -av /usr/local/lib/php/20060613*/*.so ... /usr/local/lib/php/20060613/mhash.so: libmhash.so.2 => /usr/local/lib/libmhash.so.2 (0x800b0a000) libc.so.7 => /lib/libc.so.7 (0x800648000) /usr/local/lib/libmhash.so.2: libthr.so.3 => /lib/libthr.so.3 (0x800b0a000) libc.so.7 => /lib/libc.so.7 (0x800648000) ... Then, for every library linked with libthr.so.3 (as /usr/local/lib/libmhash.so.2 in the above example), run: # pkg_info -W /usr/local/lib/libmhash.so.2 /usr/local/lib/libmhash.so.2 was installed by package mhash-0.9.9.9 Finally report me the package (mhash-0.9.9.9, and all relevant information) so I can fix it. Thanks for cooperation. -- Alex Dupre
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4B237EDB.5030505>