nitefly,
Do you have the source for the linked library?
Can you be entirely sure that it was compiled for use with your system?
Basically - have you tried to compile a standard linux application using your library?
Here is some information on static libraries, if you have the source, have you considered compiling it as a shared library?
http://www.dwheeler.com/program-library/Program-Library-HOWTO/x26.html
I havn't done much with PHP extensions, mainly I use it for items like math calculations that are better suited using C versus PHP, perhaps someone can answer if PHP needs to have a shared library?
I am only thinking this since PHP itself is invoked sevral times, and from what I know, all of the other PHP extensions are compiled as shared.
I hope this helps a bit... worst case scenario if you can post SOME code (obviously nothing proprietry) I can try to help.