[Call for help] identify and fix libraries linked (erroneously) with libthr (that break php)

Raphael Becker rabe at uugrn.org
Thu Dec 17 03:37:15 UTC 2009


On Sat, Dec 12, 2009 at 12:30:35PM +0100, Alex Dupre wrote:
> 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

ldd -a /usr/local/lib/php/20060613*/*.so | grep ^/usr  | cut -f 1 -d | 
while read X; do 
  if ldd $X | grep libthr.so.3 >/dev/null; then 
    echo $X
  fi
done | 
sort -u | 
while read X; do 
  pkg_info -W $X
done


/usr/local/lib/libcrypto.so.5 was installed by package openssl-0.9.8l
/usr/local/lib/libcurl.so.5 was installed by package curl-7.19.7
/usr/local/lib/libldap-2.4.so.7 was installed by package openldap-client-2.4.20
/usr/local/lib/libmhash.so.2 was installed by package mhash-0.9.9.9
/usr/local/lib/libssh2.so.1 was installed by package libssh2-1.2.2,2
/usr/local/lib/libssl.so.5 was installed by package openssl-0.9.8l
/usr/local/lib/php/20060613/curl.so was installed by package php5-curl-5.2.11_1
/usr/local/lib/php/20060613/ftp.so was installed by package php5-ftp-5.2.11_1
/usr/local/lib/php/20060613/imap.so was installed by package php5-imap-5.2.11_1
/usr/local/lib/php/20060613/ldap.so was installed by package php5-ldap-5.2.11_1
/usr/local/lib/php/20060613/mhash.so was installed by package php5-mhash-5.2.11_1
/usr/local/lib/php/20060613/mysqli.so was installed by package php5-mysqli-5.2.11_1
/usr/local/lib/php/20060613/openssl.so was installed by package php5-openssl-5.2.11_1
/usr/local/lib/php/20060613/pdo_mysql.so was installed by package php5-pdo_mysql-5.2.11_1



> Thanks for cooperation.

HTH
 
Regards
Raphael


-- 
Raphael Becker <rabe at uugrn.org>                   http://rabe.uugrn.org/
                             https://www.xing.com/profile/Raphael_Becker
GnuPG:                E7B2 1D66 3AF2 EDC7 9828  6D7A 9CDA 3E7B 10CA 9F2D
.........|.........|.........|.........|.........|.........|.........|..
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20091217/d4434cc6/attachment.pgp


More information about the freebsd-ports mailing list