Re: compiling BAMP (PHP5)

From: Damien Hull <dhull@digitaloverload.net>
Date: Fri Mar 17 2006 - 10:41:42 AKST

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

dhull wrote:
> BAMP = BSD, Apache, MySQL & PHP.
>
> I'm having trouble geting PHP working on OpenBSD
> 1. Apache 2
> 2. MySQL 5 (Static Libraries)
> 3. PHP5
>
> PROBLEM
> I configure PHP with "apxs2" and "--with-mysql=/usr/local/mysql". It compiles but make install can't find "libphp5.so". If I compile without MySQL support it works fine.
>
> I tested PHP4 and got the same thing. If I add MySQL support I don't get "libphp4.so".
>
> My guess is that there is something going on with MySQL. Maybe it's the static libraries. I could try shared libraries but I can't get MySQL to work with shared libraries. It's a BSD thing. Shared libraries work fin on Linux.
>
> I could switch to Linux but I've spent a few days on this problem and I don't want to give in now. Pleas help!!
> ---------
> To unsubscribe, send email to <aklug-request@aklug.org>
> with 'unsubscribe' in the message body.
>
>
>

Looks like PHP doesn't like static libraries. I'll recompile MySQL
without static libraries and see what happens.

I only compiled it with static libraries because I couldn't get MySQL to
work with shared libraries. Fix one problem and you get another.

Well, I'll be watching code scroll by all day.

- --
You can get my public PGP key at https://keyserver.pgp.com
http://www.digitaloverload.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFEGxD2+rNhalK/8UURAjfJAJ946k0EYq+OXEn7PeuMU8tFbqDuSwCeOQfd
UPetGgMyVS+W0HeeJ/jJFTs=
=TKqe
-----END PGP SIGNATURE-----
---------
To unsubscribe, send email to <aklug-request@aklug.org>
with 'unsubscribe' in the message body.
Received on Fri Mar 17 10:42:07 2006

This archive was generated by hypermail 2.1.8 : Fri Mar 17 2006 - 10:42:07 AKST