Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Dec 2009 04:35:16 +0100
From:      Raphael Becker <rabe@uugrn.org>
To:        Alex Dupre <ale@freebsd.org>
Cc:        ports@freebsd.org
Subject:   Re: [Call for help] identify and fix libraries linked (erroneously) with libthr (that break php)
Message-ID:  <20091217033516.GF88894@ma.sigsys.de>
In-Reply-To: <4B237EDB.5030505@FreeBSD.org>
References:  <4B237EDB.5030505@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--8JPrznbw0YAQ/KXy
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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=20
> install libraries erroneously linked with libthr, that are dependencies=
=20
> of php extensions. To do this task you can run the following command:
>=20
> # ldd -av /usr/local/lib/php/20060613*/*.so

ldd -a /usr/local/lib/php/20060613*/*.so | grep ^/usr  | cut -f 1 -d |=20
while read X; do=20
  if ldd $X | grep libthr.so.3 >/dev/null; then=20
    echo $X
  fi
done |=20
sort -u |=20
while read X; do=20
  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-openss=
l-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
=20
Regards
Raphael


--=20
Raphael Becker <rabe@uugrn.org>                   http://rabe.uugrn.org/
                             https://www.xing.com/profile/Raphael_Becker
GnuPG:                E7B2 1D66 3AF2 EDC7 9828  6D7A 9CDA 3E7B 10CA 9F2D
=2E........|.........|.........|.........|.........|.........|.........|..

--8JPrznbw0YAQ/KXy
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (FreeBSD)

iD8DBQFLKab0nNo+exDKny0RAqo6AKDkx80MJT3xs7BTIWUiu8nmreSd/QCfcak3
qjAVkqIL4p+KoKuzoDxVP0o=
=jUMF
-----END PGP SIGNATURE-----

--8JPrznbw0YAQ/KXy--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20091217033516.GF88894>