Insert /usr/local/lib in /etc/ld.so.conf
Test & Hack
Now you need to restart Apache
Copy pdfclock.php in your httpd directory... test... and That's all.
To get working PDFLib with fonts you must pay attention to the UPR section of the PDFLib manual.
A simple way to use fonts with PDFLib is to copy the standard UPR description file included in PDFLib tarball,
(fonts/pdflib.upr) into your working directory.