PHP5 GD Error: cannot open shared object file

Posted On Jun 07, 2009 at 9:38 pm

Do you have GD and the PHP GD extension installed and yet it's not getting loaded into your PHP? If you getting the following error logged to your php error log, then the source of the problem is simple.

PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/extensions/' - cannot open shared object file: No such file or directory in Unknown on line 0.

This error means that you do not have the t1lib (t one lib) package installed. Search for this package within your distribution's software manager (apt, yast, etc) or you can download it from

This topic has the following tags: