[Mod_log_sql] module fails to load on Apache 2.0 under Yellow Dog Linux

Artur Jasowicz arturj_logsql at hoytpub.com
Mon Jan 31 14:58:24 EST 2005


Actually, current install of PHP was compiled with 
--with-mysql=shared,/usr. This makes me think that it was the real lib 
that was used. I rebuilt the RPM with -fPIC now but this did not make 
any difference. I am still getting the same error message. Anything 
else I can try to figure out what is causing the problem?

On Jan 28, 2005, at 10:02 AM, Edward Rudd wrote:

> On Fri, 2005-01-28 at 10:34, Artur Jasowicz wrote:
>> Bingo! Thank you Sir, that did it. So now I have to recompile php to
>> use MySQL's real library, not the built-in one and repackage it into 
>> an
>> RPM. Is there by any chance a Howto available on how to do this right
>> or am I on my own?
>
> It should be as simple as downloading the existing src.RPM from
> yellowdog, installing it.. (which will by default install to something
> like /usr/src/redhat) edit the SPEC file and change the line where it
> runs configure and change the --with-mysql  to --with-mysql=/usr
>
> Look through the mod_log_sql archives about PHP (this is a common
> problem unfortunately) as well as reading the mod_log_sql manual on the
> issue.
>
> And DO post a bug to the yellow doc maintainers to NOT use the built-in
> mysql libs in php.  It will make everyones day easier.
>
> [snip]
> -- 
> Edward Rudd <urkle at outoforder.cc>
> Website http://www.outoforder.cc/
> _______________________________________________
> Download the latest version at 
> http://www.outoforder.cc/projects/apache/mod_log_sql/
>
> To unsubscribe send an e-mail to
> mod_log_sql-unsubscribe at lists.outoforder.cc

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/enriched
Size: 1648 bytes
Desc: not available
Url : http://lists.outoforder.cc/pipermail/mod_log_sql/attachments/20050131/2bfd9086/attachment.bin 


More information about the Mod_log_sql mailing list