Hey all,
I've been beating my head on this problem for the last week.  I have a
Redhat 6.2 box running on a Sparc.  I've setup MySQL, Apache, and I've
started on PHP.  I'm running into the following error when I do the make
after the "./configure --activate-module=src/modules/php4/libphp4.a", I
get the following error:
gcc  -DLINUX=2 -I/root/files/php-4.0.4pl1 -I/root/files/php-4.0.4pl1/main
-I/root/files/php-4.0.4pl1/main -I/root/files/php-4.0.4pl1/Zend
-I/root/files/php-4.0.4pl1/Zend -I/root/files/php-4.0.4pl1/TSRM
-I/root/files/php-4.0.4pl1/TSRM -I/root/files/php-4.0.4pl1 -DUSE_EXPAT
-I./lib/expat-lite -DNO_DL_NEEDED `./apaci`    \
      -o httpd buildmark.o modules.o modules/standard/libstandard.a
modules/php4/libphp4.a main/libmain.a ./os/unix/libos.a ap/libap.a
lib/expat-lite/libexpat.a  -Wl,-rpath,/home/mysql/lib  -rdynamic
-L/home/mysql/lib -Lmodules/php4 -L../modules/php4 -L../../modules/php4
-lmodphp4  -lpam  -ldl -lmysqlclient -lresolv -lm -ldl -lcrypt -lnsl
-lresolv   -lm -lcrypt
/home/mysql/lib/libmysqlclient.a(my_compress.o): In function
`my_uncompress':
my_compress.o(.text+0x9c): undefined reference to `uncompress'
/home/mysql/lib/libmysqlclient.a(my_compress.o): In function
`my_compress_alloc':
my_compress.o(.text+0x130): undefined reference to `compress'
collect2: ld returned 1 exit status

Now, I know other people have had this error, and I have gone through the
PHP-Install archives and tried other peoples suggestions.  I've updated
zlib, etc.  The one thing I am wondering is this.  I have a ld.so.cache on
the server, but I had to make an ld.so.conf file.  I'm wondering if I'm
missing a package on the server.
Also, I saw in a past email that someone said the mysql install might be
broken, how do I check this?  In addition, I have both apache and mysql
running under the /home partition (and I'd rather not run them under
/usr/local or whatever).

Any suggestions on what else to try?

Thanks ahead of time,
Tom


-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to