Re: module fails to load on Apache 2.0 under Yellow Dog Linux

Artur Jasowicz <[email protected]> Mon, 31 Jan 2005 13:58:24 -0600
Newsgroups gmane.comp.apache.mod-log-sql
Message-ID <[email protected]>
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 <[email protected]>
> 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-7qY7E20V6GW73k+5HYS8LQqVMODqnSLI@public.gmane.org

_______________________________________________
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-7qY7E20V6GW73k+5HYS8LQqVMODqnSLI@public.gmane.org