[php-maint] Bug#425084: Bug#425084: Bug#425084: php5 prints ugly message if php5-gd is deinstalled with config files remaining

Steve Langasek vorlon at debian.org
Sat May 19 08:49:29 UTC 2007

On Sat, May 19, 2007 at 10:13:25AM +0200, sean finney wrote:
> On Fri, 2007-05-18 at 19:48 -0400, Joey Hess wrote:

> > joey at kodama:~>php5
> > PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php5/20060613+lfs/gd.so' - /usr/lib/php5/20060613+lfs/gd.so: cannot open shared object file: No such file or directory in Unknown on line 0

> > joey at kodama:~>dpkg -s php5-gd
> > Package: php5-gd
> > Status: deinstall ok config-files

> > I guess that the config files lead to this ugly behavior if the package
> > is removed but not purged. Reporting it since it was a real "WTF?" moment
> > for me.

> right.  the only real solution is to put the config files somewhere
> else, and manage them with symlinks during install/remove.  we briefly
> discussed doing this but decided it was maybe a little overengineered.

Hrm, either I missed that discussion or I was in a fugue at the time (either
is possible thanks to etch). :)  I don't think it would be overengineered at
all, given the high annoyance factor of this error message.

Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
vorlon at debian.org                                   http://www.debian.org/

More information about the pkg-php-maint mailing list