pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/46309: apache-2.2.21nb1 fails to run due to missing libexpat.so.1
>Number: 46309
>Category: pkg
>Synopsis: apache-2.2.21nb1 fails to run due to missing libexpat.so.1
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Apr 07 19:55:00 +0000 2012
>Originator: Jan Schaumann
>Release: NetBSD 5.1.2
>Organization:
>Environment:
NetBSD domU-12-31-39-06-69-29.compute-1.internal 5.1.2 NetBSD 5.1.2
(XEN3PAE_DOMU) #0: Thu Feb 2 17:18:36 UTC 2012
builds%b6.netbsd.org@localhost:/home/builds/ab/netbsd-5-1-2-RELEASE/i386/201202021012Z-obj/home/builds/ab/netbsd-5-1-2-RELEASE/src/sys/arch/i386/compile/XEN3PAE_DOMU
i386
>Description:
NetBSD-5.1.2 cannot run the httpd binary provided by apache-2.2.21.nb1 from
ftp://ftp.netbsd.org/pub/pkgsrc/packages/NetBSD/i386/5.1/All/ -- it fails with
the following
error message:
$ /etc/rc.d/apache start
Starting apache.
Shared object "libexpat.so.1" not found
$ pkg_info
pkg_install-20110805 Package management and administration tools for pkgsrc
perl-5.14.2nb1 Practical Extraction and Report Language
apr-1.4.5 Apache Portable Runtime
apr-util-1.3.12nb1 Apache Portable Runtime utilities
apache-2.2.21nb1 Apache HTTP (Web) server, version 2.2
$ ldd /usr/pkg/sbin/httpd
/usr/pkg/sbin/httpd:
-lm.0 => /usr/lib/libm.so.0
-lc.12 => /usr/lib/libc.so.12
-laprutil-1.0 => /usr/pkg/lib/libaprutil-1.so.0
-lexpat.1 => not found
-lapr-1.0 => /usr/pkg/lib/libapr-1.so.0
-lcrypt.0 => /usr/lib/libcrypt.so.0
-lpthread.0 => /usr/lib/libpthread.so.0
-lexpat.1 => not found
>How-To-Repeat:
ec2-run-instances ami-230fdf4a
ssh hostname
$ pkg_add apache
pkg_add: Error: package `apache-2.2.21nb1' was built with a newer pkg_install
version
pkg_add: 1 package addition failed
$ ftp http://ftp.netbsd.org/pub/pkgsrc/stable/pkgsrc.tar.bz2
$ tar jxf pkgsrc.tar.bz2 -C /usr
$ cd /usr/pkgsrc/pkgtools/pkg_install
$ make install clean
$ /usr/pkg/sbin/pkg_add apache
$ /usr/pkg/sbin/httpd
Shared object "libexpat.so.1" not found
$
>Fix:
$ pkg_add expat
pkg_add: Warning: package `expat-2.0.1nb2' was built for a platform:
pkg_add: NetBSD/i386 5.1 (pkg) vs. NetBSD/i386 5.1.2 (this host)
$ ldd /usr/pkg/sbin/httpd
/usr/pkg/sbin/httpd:
-lm.0 => /usr/lib/libm.so.0
-lc.12 => /usr/lib/libc.so.12
-laprutil-1.0 => /usr/pkg/lib/libaprutil-1.so.0
-lexpat.1 => /usr/pkg/lib/libexpat.so.1
-lapr-1.0 => /usr/pkg/lib/libapr-1.so.0
-lcrypt.0 => /usr/lib/libcrypt.so.0
-lpthread.0 => /usr/lib/libpthread.so.0
$
Ie, add a dependency on textproc/expat, I guess.
>Unformatted:
Home |
Main Index |
Thread Index |
Old Index