I forgot to add some other important details:

I have tried setting both LD_LIBRARY_PATH and LD_RUN_PATH to include the mysql dir I set up before compliation/execution.

In the binaries provided by mysql, there is only libmysqlclient.a (no .so). So, what it seems to me is that I need libphp5.so to use the .a instead of the old .so.

Since php works, it would seem that it is using the correct library...

Reply via email to