I get this when running php scripts from the command line:

PHP Warning: Unknown(): Unable to load dynamic library '/usr/lib/php4/pgsql.so' - libpq.so.3: cannot open shared object file: No such file or directory in Unknown on line 0

The file '/usr/lib/php4/pgsql.so' does exist however.. ? Anyone have an idea how to fix this without disabling php warnings? Thanks,