Gentoo Archives: gentoo-user

From: Michael Decker <MDecker@×××××.de>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Apache / libexpat.so.0 not found / After emerge mod_security
Date: Fri, 14 Jul 2006 13:30:01
Message-Id: 44B79720.5040901@tesis.de
1 Hi!
2
3 I followed the desciption http://gentoo-wiki.com/Apache_Modules_mod_security
4
5 And after running "emerge -vauD mod_security" I get this error (w/o "-D
6 SECURITY"):
7 --- SNIP ---
8 # /etc/init.d/apache2 start
9 * Apache2 has detected a syntax error in your configuration files:
10 /usr/sbin/apache2: error while loading shared libraries: libexpat.so.0:
11 cannot open shared object file: No such file or directory
12 --- SNAP ---
13
14 How should I fix this?
15
16 I've tried with
17 --- SNIP ---
18 # emerge dev-libs/expat
19 --- SNAP ---
20
21 But that build no module... THis doesn't help, too:
22 --- SNIP ---
23 # emerge --update apache
24 --- SNAP ---
25
26 Thanks a lot!
27
28 Here some additional information:
29 --- SNIP ---
30 # emerge --info
31 Portage 2.1.1_pre2-r4 (hardened/x86/2.6, gcc-3.4.6/hardened,
32 glibc-2.3.6-r4, 2.6.14-rsbac-r1-rsbac i686)
33 =================================================================
34 System uname: 2.6.14-rsbac-r1-rsbac i686 Intel(R) Pentium(R) D CPU 3.00GHz
35 Gentoo Base System version 1.6.13
36 dev-lang/python: 2.4.3-r1
37 dev-python/pycrypto: 2.0.1-r5
38 dev-util/ccache: [Not Present]
39 dev-util/confcache: [Not Present]
40 sys-apps/sandbox: 1.2.18.1
41 sys-devel/autoconf: 2.13, 2.60
42 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
43 sys-devel/binutils: 2.17
44 sys-devel/gcc-config: 2.0.0_rc1
45 sys-devel/libtool: 1.5.22
46 virtual/os-headers: 2.6.11-r5
47 ACCEPT_KEYWORDS="x86 ~x86"
48 AUTOCLEAN="yes"
49 CBUILD="i386-pc-linux-gnu"
50 CFLAGS="-O2 -march=pentium4"
51 CHOST="i386-pc-linux-gnu"
52 CONFIG_PROTECT="/etc"
53 CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler
54 /etc/gconf /etc/java-config/vms/ /etc/terminfo"
55 CXXFLAGS="-O2 -march=pentium4"
56 DISTDIR="/usr/portage/distfiles"
57 FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
58 GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/
59 http://ftp.uni-erlangen.de/pub/mirrors/gentoo
60 http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/
61 http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
62 http://pandemonium.tiscali.de/pub/gentoo/ http://gentoo.intergenia.de
63 http://files.gentoo.org http://ftp.ntua.gr/pub/linux/gentoo/ "
64 MAKEOPTS="-j2"
65 PKGDIR="/usr/portage//packages/x86/"
66 PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times
67 --compress --force --whole-file --delete --delete-after --stats
68 --timeout=180 --exclude='/distfiles' --exclude='/local'
69 --exclude='/packages'"
70 PORTAGE_TMPDIR="/var/tmp"
71 PORTDIR="/usr/portage/"
72 SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
73 USE="apache2 berkdb bzip2 clamav crypt dlloader doc hardened java ldap
74 mysql nls pam pic readline ssl tcpd threads userlocales x86 xml xorg
75 zlib elibc_glibc input_devices_mouse input_devices_keyboard kernel_linux
76 userland_GNU"
77 Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL,
78 LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
79 --- SNAP ---
80 --
81 Michael Decker Michael.Decker@×××××.de
82 TESIS SYSware GmbH http://www.tesis.de
83 Baierbrunnerstr. 15 * 81379 Muenchen * Tel. +49 89 747377-0
84
85 --
86 gentoo-user@g.o mailing list

Replies