Stephan Ferraro wrote: > I can't use on my snv_106 the library gd in PHP. > I get the following error when I start my apache 2.2 server in a zone: > PHP Warning: PHP Startup: Unable to load dynamic library > '/usr/php/5.2/modules/gd.so' - ld.so.1: httpd: fatal: libX11.so.4: open > failed: No such file or directory in Unknown on line 0 > PHP Warning: PHP Startup: Unable to load dynamic library > '/usr/php/5.2/modules/pdo_pgsql.so' - ld.so.1: httpd: fatal: > /usr/php/5.2/modules/pdo_pgsql.so: open failed: No such file or directory in > Unknown on line 0 > PHP Warning: PHP Startup: Unable to load dynamic library > '/usr/php/5.2/modules/pgsql.so' - ld.so.1: httpd: fatal: > /usr/php/5.2/modules/pgsql.so: open failed: No such file or directory in > Unknown on line 0 > > How could I fix this problem? > some required packages haven't yet been installed in the zone
you can run "pkg search -r FILENAME" to find out which package delivers a file missing libX11.so.4: SUNWxwrtl missing pdo_pgsql.so and pgsql.so: SUNWphp52-pgsql