On Thu, Dec 21, 2006 at 12:45:38PM +0100, Arkadiusz Miskiewicz wrote: > On Thursday 21 December 2006 12:38, Paweł Gołaszewski wrote: > > There is something wrong with php-5.2.0 deps: > > > > Package: apache1-mod_php-4:5.2.0-3 > > Requires: /bin/sh, apache1(EAPI) >= 1.3.33-2, apache1-mod_mime, > > config(apache1-mod_php) = 4:5.2.0-3, curl-libs, elfutils-libelf, freetype, > > gd, glibc, libc.so.6, libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1.3), > > libcrypt.so.1, libcrypto.so.0.9.7, libcurl.so.3, libdl.so.2, libelf.so.1, > > libfreetype.so.6, libgd.so.2, libidn, libidn.so.11, libjpeg, libjpeg.so.62, > > libltdl, libltdl.so.3, libm.so.6, libmysqlclient_r.so.15, libncurses.so.5, > > libnetsnmp.so.5, libodbc.so.1, libpcre.so.0, libphp_common-5.2.0.so, > > libpng, libpng12.so.0, libpthread.so.0, libresolv.so.2, librpm-4.4.so, > > libssl.so.0.9.7, libt1.so.5, libwrap-libs, libwrap.so.0, libxml2, > > libxml2.so.2, libz.so.1, mysql-libs, ncurses, net-snmp-libs, openssl, pcre, > > php-common, php-common = 4:5.2.0-3, rpm-lib, sed >= 4.0, t1lib, unixODBC, > > zlib > > [...] > > > > The problem is with gd (which fetches some more libs), curl, > > net-snmp-libs, unixODBC, pcre, rpm-lib, t1lib... Similar deps are with > > apache1-mod_php > > > > These are extra libs, that were not required before and I think that these > > shouldn't be required. At least some of them (rpm-lib? What for??). > > net-snmp-libs brings rpm-lib dependency. I guess you have to live with such > deps in Ac, fixing that (without just using as-needed) will require big > effort.
But only modules should be linked with snmp, mysql, gd etc. libs, not main PHP library/binary/module. > With as-needed this list is much shorter: > > Requires: /bin/sh, apache1(EAPI) >= 1.3.33-2, apache1-mod_mime, > config(apache1-mod_php) = 4:5.2.0-3, libc.so.6, libc.so.6(GLIBC_2.0), > libc.so.6(GLIBC_2.1.3), libcrypt.so.1, libcrypto.so.0.9.8, libcurl.so.4, > libdl.so.2, libfreetype.so.6, libgd.so.2, libidn.so.11, > libjpeg.so.62, libltdl.so.3, libm.so.6, libmysqlclient_r.so.15, > libncurses.so.5, libnetsnmp.so.10, libodbc.so.1, libpcre.so.0, > libphp_common-5.2.0.so, libpng12.so.0, libpthread.so.0, libresolv.so.2, > libssl.so.0.9.8, libt1.so.5, libwrap.so.0, libxml2.so.2, libz.so.1, > php-common = 4:5.2.0-3, sed >= 4.0 Still to much. In which way PHP (without modules) uses gd, mysql, ncurses, snmp??? Is --as-needed really used? rpm libs don't appear here because newer `net-snmp-config --libs` doesn't specify it. -- Jakub Bogusz http://qboosh.pl/ _______________________________________________ pld-devel-en mailing list pld-devel-en@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-devel-en