Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 189170 - apache-2.0.58-r2 insists on /usr/lib/libexpat.so.0
Summary: apache-2.0.58-r2 insists on /usr/lib/libexpat.so.0
Status: RESOLVED DUPLICATE of bug 188688
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-16 22:11 UTC by Tiago
Modified: 2007-08-16 22:13 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tiago 2007-08-16 22:11:15 UTC
When invoking apache it fails with the following message:

/usr/sbin/apache2: error while loading shared libraries: libexpat.so.0: cannot open shared object file: No such file or directory

This began after upgrading to the latest stable version of expat, which changed the soname from .so.0 to .so.1.

Even after rebuilding apache (with the new expat version already in place), the problem persists. Apparently it insists to link to the old version.

The problem can be solved by symlinking /usr/lib/libexpat.so.0 to /usr/lib/libexpat.so.1, but of course that's just a temporary fix. Any ideas?

Reproducible: Always

Steps to Reproduce:
1. Run /usr/sbin/apache2 on a console.
2. See output.




`emerge --info` follows.

Portage 2.1.2.11 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.5-r4, 2.6.22-gentoo-r2 i686)
=================================================================
System uname: 2.6.22-gentoo-r2 i686 Intel(R) Pentium(R) 4 CPU 2.66GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Thu, 16 Aug 2007 14:00:02 +0000
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/sandbox:    1.2.17
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.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
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 /etc/texmf/web2c"
CXXFLAGS="-march=pentium4 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages metadata-transfer notitles parallel-fetch sandbox sfperms strict userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LC_ALL="en_US.UTF-8"
LINGUAS="en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi alsa apache2 arts asf audiofile bash-completion berkdb bitmap-fonts bluetooth bootsplash bzip2 cairo caps cddb cdparanoia cdr cjk cli cracklib crypt cscope css cups curl cvs dbus directfb dri dts dv dvd dvdnav dvdread dvi emacs encode esd evo exif fam fame fat fbcon ffmpeg firefox flac fortran ftp fuse gcj gd gdbm gif gimpprint glut gphoto2 gpm gstreamer gtk gtkhtml hal howl iconv idn ieee1394 imagemagick imap imlib ipv6 isdnlog jack java javascript jpeg jpeg2k justify kde kdeenablefinal kdexdeltas kerberos kqemu ladspa lcms ldap libcaca lm_sensors mad mbox midi mikmod mime mjpeg mmx mmxext mng mono mozilla moznocompose moznoirc moznomail mozsvg mp3 mpeg mplayer msn mudflap mule ncurses nls nptl nptlonly nsplugin ntfs objc objc++ objc-gc offensive ogg opengl openmp oss pcre pdf perl php plotutils png posix pppd python qt3 qt3support qt4 quicktime rdesktop readline real reflection reiserfs samba sasl scanner sdl session slang sndfile snmp sockets softmmu sox speech speex spell spl sse sse2 ssl subtitles subversion svg svga symlink tcl tcltk tcpd tetex theora threads tiff timidity tk tokenizer toolbar transcode truetype truetype-fonts type1-fonts unicode usb utempter v4l v4l2 vcd vorbis wifi win32codecs wma wmf x86 xcomposite xine xml xorg xpm xv xvid zeroconf zlib" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="radeon vesa fbdev"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-08-16 22:13:31 UTC

*** This bug has been marked as a duplicate of bug 188688 ***