Hi folks,
I'm having difficulties building PHP4 with MySQL support on a HP-UX 11.00 machine using gcc 2.95.2.
I've tried building it as DSO first, but I get lots of "inter-library dependancy" warnings when building it, and Apache fails when attempting to load the DSO at run time. The errors complain about being unable to resolve the Mysql symbols).
Next I tried building it as a statically linked Apache module, but I get errors complaining that some code in the MySQL libraries is not position independent code (despite having built everything using the -fpic option)
I will post exact runtime errors, warning/error messages from the build and my configure options for PHP4, MySQL and Apache if somebody feels this will help resolve the problem, but mostly I'd just like to get confirmation that what I'm trying to do is possible. And if some kind soul has this exact config working, could you please consider posting the configure options for PHP, MySQL, and Apache, and any other required prerequisities to get this to work.
I have seen in the archives of this list that somebody else had a simliar problem (see the thread in the archives at: http://www.phpbuilder.com/forum/archives/3/2000/08/1/100723) but their solution of disabling mysql support in PHP4 is obviously not a useful solution for me.
Thanks in advance,
Morgan