php/apache install

Matthew Ryan Fuerst fuerstma@pilot.msu.edu
Sat, 25 Aug 2001 21:46:19 -0400 (EDT)


Greetings,

I am trying to do a PHP/Apache install. I am following the directions I found
on DevShed at http://www.devshed.com/Server_Side/PHP/SoothinglySeamless/

I have been doing this since 12 pm... I think I am very close. I am doing the
apache install step right now (not for the first time, mind you, but I think I
have almost got it...)

Basically, I cd-ed to my apache source directory. I have done my configure
succesfully with a command similar to:
SSL_BASE=../openssl-0.9.6b \
./configure \
--enable-module=ssl \
--activate-module=src/modules/php4/libphp4.a \
--enable-module=php4 \
--prefix=/usr/local/apache \
--enable-shared=ssl

That all works great.... I think do my make..

Here is the output of the tail of my make...

/usr/local/mysql/lib/libmysqlclient.a(my_compress.o): In function
'my_compress_alloc':
my_compress.o(.text+0x12a): undefined referece to 'compress'
collect2: ld returned 1 exit status
mak[2]: *** [target_static] Error 1
make[1]: *** [build-std] Error 2
make: *** [build] Error 2

I did a google on this error and it looked like a few other people were getting
this error, someone responded to do this:

Change /usr/lib/mysql/libmysqlclient.a to -L/usr/lib/mysql -lmysqllient (if
you have shared library) or add -lz (or /usr/lib/libz.a )

I really am not too sure what that means.

I am trying to install apache 1.3.20, php 4.06, openssl 0.9.6b, mod_ssl 2.8,
thats about it...

additional, i left my mail client at home on, so this any responses will get
sucked down at home.. could you cc mdshield@oakland.edu that is my cohort who I
am trying to set this up with....

Thanks so much for ANY help!

matt


   -- Matt Fuerst

fuerstma@msu.edu
Computer Guru
http://www.msu.edu/~fuerstma