Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 77753

Summary: Upgrade of ImageMagick to 6.1.3.4 breaks php
Product: Gentoo Linux Reporter: Tony Fannin <tony>
Component: [OLD] ServerAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: Sparc   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Tony Fannin 2005-01-12 16:12:56 UTC
After upgrading ImageMagick to 6.1.3.4 there is no longer a /usr/lib/libltd.so.3. Apache2 fails to start with a php library error.

Reproducible: Always
Steps to Reproduce:
1. Emerge ImageMagick 6.1.3.4
2. Try to start Apache2
3. 

Actual Results:  
www lib # /etc/init.d/apache2 start
 * Apache2 has detected a syntax error in your configuration files:
Syntax error on line 6 of /usr/lib/apache2/conf/modules.d/70_mod_php.conf:
Cannot load /usr/lib/apache2/extramodules/libphp4.so into server: libltdl.so.3:
cannot open shared object file: No such file or directory

Apache2 will not start with PHP enabled with this error.

Expected Results:  
Clean startup of Apache2

Emerge info output:
www lib # emerge info
Portage 2.0.51-r3 (default-linux/sparc/sparc64/2004.3, gcc-3.3.5,
glibc-2.3.3.20040420-r2, 2.4.28-sparc-r1 sparc64)
=================================================================
System uname: 2.4.28-sparc-r1 sparc64 sun4u
Gentoo Base System version 1.4.16
distcc 2.16 sparc-unknown-linux-gnu (protocols 1 and 2) (default port 3632)
[enabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.92.0.2-r1
Headers:  sys-kernel/linux-headers-2.4.23
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="sparc"
AUTOCLEAN="yes"
CFLAGS="-O2 -pipe -mcpu=ultrasparc"
CHOST="sparc-unknown-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/usr/X11R6/lib/X11/xkb"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -pipe -mcpu=ultrasparc"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distcc distlocks sandbox"
GENTOO_MIRRORS="ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/
http://mirror.usu.edu/mirrors/gentoo/ ftp://ftp.ndlug.nd.edu/pub/gentoo/"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="sparc X apache2 arts avi berkdb bitmap-fonts crypt cups encode esd f77
fbcon foomaticdb fortran gcc64 gdbm gif gpm gtk gtk2 imagemagick imlib jpeg kde
libwww mad mikmod motif mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib
perl png python qt readline sdl spell ssl tcltk tcpd tiff truetype xml xml2 xmms
xv zlib"
Comment 1 Tony Fannin 2005-01-13 17:07:36 UTC
Seems to be related to a gcc upgrade now that I look deeper. emerging apache2 and php over seems to have fixed it.
Comment 2 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2005-01-13 17:57:13 UTC
look at revdep-rebuild and /sbin/fix_libtool_files.sh to fix your machine.