Summary: | /usr/sbin/apache2: error while loading shared libraries: libexpat.so.0: cannot open shared object file: No such file or directory* Apache2 has detected a syntax error in your configuration files: | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | vairam <vairam9090> |
Component: | Current packages | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
Status: | RESOLVED INVALID | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
vairam
2008-06-16 11:10:59 UTC
(In reply to comment #0) > /usr/sbin/apache2: error while loading shared libraries: libexpat.so.0: cannot > open shared object file: No such file or directory > please run revdep-rebuild first. This most certainly isn't a bug. Emerge app-portage/gentoolkit and run revdep-rebuild. If you need support, find the #gentoo channel on the Freenode network or visit <http://forums.gentoo.org/>. (In reply to comment #2) > This most certainly isn't a bug. Emerge app-portage/gentoolkit and run > revdep-rebuild. If you need support, find the #gentoo channel on the Freenode > network or visit <http://forums.gentoo.org/>. I have run the revdep-rebuild.its having the problem.can you see the below list please.so that you can understand the problem ~ # revdep-rebuild Configuring search environment for revdep-rebuild Checking reverse dependencies... Packages containing binaries and libraries broken by a package update will be emerged. Collecting system binaries and libraries... done. (/root/.revdep-rebuild.1_files) Collecting complete LD_LIBRARY_PATH... done. (/root/.revdep-rebuild.2_ldpath) Checking dynamic linking consistency... broken /usr/bin/xgettext (requires libexpat.so.0) broken /usr/lib/libaprutil-0.so.0.9.12 (requires libexpat.so.0) broken /usr/lib/perl5/vendor_perl/5.8.8/i686-linux/auto/DBD/mysql/mysql.so (requires libmysqlc lient.so.14) broken /usr/lib/samba/pdb/mysql.so (requires libmysqlclient.so.14) broken /usr/sbin/ab2 (requires libexpat.so.0) broken /usr/sbin/ab2-ssl (requires libexpat.so.0) broken /usr/sbin/apache2 (requires libexpat.so.0) broken /usr/sbin/checkgid2 (requires libexpat.so.0) broken /usr/sbin/htdbm (requires libexpat.so.0) broken /usr/sbin/htdigest2 (requires libexpat.so.0) broken /usr/sbin/htpasswd2 (requires libexpat.so.0) broken /usr/sbin/httxt2dbm (requires libexpat.so.0) broken /usr/sbin/logresolve2 (requires libexpat.so.0) broken /usr/sbin/rotatelogs2 (requires libexpat.so.0) done. (/root/.revdep-rebuild.3_rebuild) Assigning files to ebuilds... done. (/root/.revdep-rebuild.4_ebuilds) Evaluating package order... Warning: Failed to resolve package order. Will merge in "random" order! Possible reasons: - An ebuild is no longer in the portage tree. - An ebuild is masked, use /etc/portage/packages.keyword and/or /etc/portage/package.unmask to unmask it ..... done. (/root/.revdep-rebuild.5_order) All prepared. Starting rebuild... ....... ill merge in "random" order! Possible reasons: - An ebuild is no longer in the portage tree. - An ebuild is masked, use /etc/portage/packages.keyword and/or /etc/portage/package.unmask to unmask it ..... done. (/root/.revdep-rebuild.5_order) All prepared. Starting rebuild... emerge --oneshot =sys-devel/gettext-0.16.1 =dev-libs/apr-util-0.9.12 =dev-perl/DBD-mysql-2.9007 =net-fs/samba-3.0.22-r3 =www-servers/apache-2.0.58-r2 .......... Calculating dependencies \ !!! All ebuilds that could satisfy "=sys-devel/gettext-0.16.1" have been masked. !!! One of the following masked packages is required to complete your request: - sys-devel/gettext-0.16.1 (masked by: ) For more information, see MASKED PACKAGES section in the emerge man page or refer to the Gentoo Handbook. revdep-rebuild failed to emerge all packages you have the following choices: - if emerge failed during the build, fix the problems and re-run revdep-rebuild or - use -X or --package-names as first argument (trys to rebuild package, not exact ebuild) or - set ACCEPT_KEYWORDS="~<your platform>" and/or /etc/portage/package.unmask (and remove /root/.revdep-rebuild.5_order to be evaluated again) or - modify the above emerge command and run it manually or - compile or unmerge unsatisfied packages manually, remove temporary files and try again (you can edit package/ebuild list first) To remove temporary files, please run: rm /root/.revdep-rebuild*.?_* ~ # Please Update.Problem Stil there (In reply to comment #3) > (In reply to comment #2) > > This most certainly isn't a bug. Emerge app-portage/gentoolkit and run > > revdep-rebuild. If you need support, find the #gentoo channel on the Freenode > > network or visit <http://forums.gentoo.org/>. > I have run the revdep-rebuild.its having the problem.can you see the below list > please.so that you can understand the problem > ~ # revdep-rebuild > Configuring search environment for revdep-rebuild > Checking reverse dependencies... > Packages containing binaries and libraries broken by a package update > will be emerged. > Collecting system binaries and libraries... done. > (/root/.revdep-rebuild.1_files) > Collecting complete LD_LIBRARY_PATH... done. > (/root/.revdep-rebuild.2_ldpath) > Checking dynamic linking consistency... > broken /usr/bin/xgettext (requires libexpat.so.0) > broken /usr/lib/libaprutil-0.so.0.9.12 (requires libexpat.so.0) > broken /usr/lib/perl5/vendor_perl/5.8.8/i686-linux/auto/DBD/mysql/mysql.so > (requires libmysqlc lient.so.14) > broken /usr/lib/samba/pdb/mysql.so (requires libmysqlclient.so.14) > broken /usr/sbin/ab2 (requires libexpat.so.0) > broken /usr/sbin/ab2-ssl (requires libexpat.so.0) > broken /usr/sbin/apache2 (requires libexpat.so.0) > broken /usr/sbin/checkgid2 (requires libexpat.so.0) > broken /usr/sbin/htdbm (requires libexpat.so.0) > broken /usr/sbin/htdigest2 (requires libexpat.so.0) > broken /usr/sbin/htpasswd2 (requires libexpat.so.0) > broken /usr/sbin/httxt2dbm (requires libexpat.so.0) > broken /usr/sbin/logresolve2 (requires libexpat.so.0) > broken /usr/sbin/rotatelogs2 (requires libexpat.so.0) > done. > (/root/.revdep-rebuild.3_rebuild) > Assigning files to ebuilds... done. > (/root/.revdep-rebuild.4_ebuilds) > Evaluating package order... > Warning: Failed to resolve package order. > Will merge in "random" order! > Possible reasons: > - An ebuild is no longer in the portage tree. > - An ebuild is masked, use /etc/portage/packages.keyword > and/or /etc/portage/package.unmask to unmask it > ..... done. > (/root/.revdep-rebuild.5_order) > All prepared. Starting rebuild... > ....... > ill merge in "random" order! > Possible reasons: > - An ebuild is no longer in the portage tree. > - An ebuild is masked, use /etc/portage/packages.keyword > and/or /etc/portage/package.unmask to unmask it > ..... done. > (/root/.revdep-rebuild.5_order) > All prepared. Starting rebuild... > emerge --oneshot =sys-devel/gettext-0.16.1 =dev-libs/apr-util-0.9.12 > =dev-perl/DBD-mysql-2.9007 =net-fs/samba-3.0.22-r3 > =www-servers/apache-2.0.58-r2 > .......... > Calculating dependencies \ > !!! All ebuilds that could satisfy "=sys-devel/gettext-0.16.1" have been > masked. > !!! One of the following masked packages is required to complete your request: > - sys-devel/gettext-0.16.1 (masked by: ) > For more information, see MASKED PACKAGES section in the emerge man page or > refer to the Gentoo Handbook. > revdep-rebuild failed to emerge all packages > you have the following choices: > - if emerge failed during the build, fix the problems and re-run revdep-rebuild > or > - use -X or --package-names as first argument (trys to rebuild package, not > exact > ebuild) > or > - set ACCEPT_KEYWORDS="~<your platform>" and/or /etc/portage/package.unmask > (and remove /root/.revdep-rebuild.5_order to be evaluated again) > or > - modify the above emerge command and run it manually > or > - compile or unmerge unsatisfied packages manually, remove temporary files and > try again (you can edit package/ebuild list first) > To remove temporary files, please run: > rm /root/.revdep-rebuild*.?_* > ~ # Still Problem there.Please any updates regarding the apache2 error (In reply to comment #3) > (In reply to comment #2) > > This most certainly isn't a bug. Emerge app-portage/gentoolkit and run > > revdep-rebuild. If you need support, find the #gentoo channel on the Freenode > > network or visit <http://forums.gentoo.org/>. > I have run the revdep-rebuild.its having the problem.can you see the below list > please.so that you can understand the problem > ~ # revdep-rebuild > Configuring search environment for revdep-rebuild > Checking reverse dependencies... > Packages containing binaries and libraries broken by a package update > will be emerged. > Collecting system binaries and libraries... done. > (/root/.revdep-rebuild.1_files) > Collecting complete LD_LIBRARY_PATH... done. > (/root/.revdep-rebuild.2_ldpath) > Checking dynamic linking consistency... > broken /usr/bin/xgettext (requires libexpat.so.0) > broken /usr/lib/libaprutil-0.so.0.9.12 (requires libexpat.so.0) > broken /usr/lib/perl5/vendor_perl/5.8.8/i686-linux/auto/DBD/mysql/mysql.so > (requires libmysqlc lient.so.14) > broken /usr/lib/samba/pdb/mysql.so (requires libmysqlclient.so.14) > broken /usr/sbin/ab2 (requires libexpat.so.0) > broken /usr/sbin/ab2-ssl (requires libexpat.so.0) > broken /usr/sbin/apache2 (requires libexpat.so.0) > broken /usr/sbin/checkgid2 (requires libexpat.so.0) > broken /usr/sbin/htdbm (requires libexpat.so.0) > broken /usr/sbin/htdigest2 (requires libexpat.so.0) > broken /usr/sbin/htpasswd2 (requires libexpat.so.0) > broken /usr/sbin/httxt2dbm (requires libexpat.so.0) > broken /usr/sbin/logresolve2 (requires libexpat.so.0) > broken /usr/sbin/rotatelogs2 (requires libexpat.so.0) > done. > (/root/.revdep-rebuild.3_rebuild) > Assigning files to ebuilds... done. > (/root/.revdep-rebuild.4_ebuilds) > Evaluating package order... > Warning: Failed to resolve package order. > Will merge in "random" order! > Possible reasons: > - An ebuild is no longer in the portage tree. > - An ebuild is masked, use /etc/portage/packages.keyword > and/or /etc/portage/package.unmask to unmask it > ..... done. > (/root/.revdep-rebuild.5_order) > All prepared. Starting rebuild... > ....... > ill merge in "random" order! > Possible reasons: > - An ebuild is no longer in the portage tree. > - An ebuild is masked, use /etc/portage/packages.keyword > and/or /etc/portage/package.unmask to unmask it > ..... done. > (/root/.revdep-rebuild.5_order) > All prepared. Starting rebuild... > emerge --oneshot =sys-devel/gettext-0.16.1 =dev-libs/apr-util-0.9.12 > =dev-perl/DBD-mysql-2.9007 =net-fs/samba-3.0.22-r3 > =www-servers/apache-2.0.58-r2 > .......... > Calculating dependencies \ > !!! All ebuilds that could satisfy "=sys-devel/gettext-0.16.1" have been > masked. > !!! One of the following masked packages is required to complete your request: > - sys-devel/gettext-0.16.1 (masked by: ) > For more information, see MASKED PACKAGES section in the emerge man page or > refer to the Gentoo Handbook. > revdep-rebuild failed to emerge all packages > you have the following choices: > - if emerge failed during the build, fix the problems and re-run revdep-rebuild > or > - use -X or --package-names as first argument (trys to rebuild package, not > exact > ebuild) > or > - set ACCEPT_KEYWORDS="~<your platform>" and/or /etc/portage/package.unmask > (and remove /root/.revdep-rebuild.5_order to be evaluated again) > or > - modify the above emerge command and run it manually > or > - compile or unmerge unsatisfied packages manually, remove temporary files and > try again (you can edit package/ebuild list first) > To remove temporary files, please run: > rm /root/.revdep-rebuild*.?_* > ~ # try a revdep-rebuild -X, it will take latest versions available of each packages which should avoid the failure you are seeing. fixing product. Same Error coming after restarting the apache2 I have run the below command also revdep-rebuild -X (In reply to comment #7) > fixing product. We cannot really do much for you until you start providing us with the information we need to assess what is really wrong with your system. Specifically, you haven't provided any information from which we might learn that revdep-rebuild ran successfully, or what packages it rebuilt. Please also post your `emerge --info'. (In reply to comment #9) > We cannot really do much for you until you start providing us with the > information we need to assess what is really wrong with your system. > Specifically, you haven't provided any information from which we might learn > that revdep-rebuild ran successfully, or what packages it rebuilt. Please also > post your `emerge --info'. I have run the command revdep-rebuild -X its runs sucessufully As per your request i have sent the emerge info # emerge --info Portage 2.1.4.4 (default-linux/x86/2006.1, gcc-4.1.2, glibc-2.6.1-r0, 2.6.17-gentoo-r8 i686) ================================================================= System uname: 2.6.17-gentoo-r8 i686 Intel(R) Xeon(TM) CPU 2.80GHz Timestamp of tree: Fri, 16 May 2008 16:05:01 +0000 app-shells/bash: 3.2_p17 dev-java/java-config: 1.3.7, 2.1.4 dev-lang/python: 2.4.4-r9 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 1.12.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=i686 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /opt/openfire/resources/security/" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/ cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O2 -march=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://ftp.rhnet.is/pub/gentoo/ http://ftp.rhnet.is/pub/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file -- delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="apache2 berkdb cli cracklib crypt curl dri fortran gdbm gpm iconv imap isdnlog midi mssql mudflap mysql ncurses nls nptl nptlonly openmp pam pcre perl php ppds pppd python readline reflection session s pl ssl tcpd unicode x86 xinetd xml xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0 106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 t rident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoo p empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route sh are shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_defau lt authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include in fo log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id use rdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVIC ES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS=" apm ark chips cirrus cyrix dummy fbdev glint i128 i740 i810 imstt mach64 mga neomagic nsc nv r128 radeo n rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware v oodoo" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_C OMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY ~ # and what happens when you run: emerge --oneshot sys-devel/gettext dev-libs/apr-util dev-perl/DBD-mysql net-fs/samba www-servers/apache this is what revdep-rebuild -X should do (assuming you only have 1 apr-util version installed, if not, please tell portage which version of apr-util to reemerge). apr-util-0.9 and friends are long dead, you should upgrade a bit more often :) (In reply to comment #9) > We cannot really do much for you until you start providing us with the > information we need to assess what is really wrong with your system. Pretty clear. A very outdated system. Bad maintenance, PEBKAC issue. vairam: You have to update your system more often. This isn't a distro based on a snapshot and further binary package updates you can - vulnerability fixes aside - install and forget. Please use our user channels like the forums or the gentoo-user mailing list, after reading the available system management documentation¹ This isn't a bug at all, but shows lack of understanding how to administer Gentoo systems. [1] http://www.gentoo.org/doc/en/index.xml?catid=gentoo |