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

sean finney seanius at seanius.net
Sat May 19 08:13:25 UTC 2007


merge 425084 422173
thanks

hi joey,

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.
alternatively the error message could maybe be made a little more
sensible.

anyway, i'd be open to talking about patches for either way.



	sean
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: This is a digitally signed message part
Url : http://lists.alioth.debian.org/pipermail/pkg-php-maint/attachments/20070519/7c47e07f/attachment.pgp 


More information about the pkg-php-maint mailing list