You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Julian Grunnell <jg...@firstnet.net.uk> on 2002/07/03 12:49:36 UTC
Help compiling mod_ssl / apache 1.3.23 + mod_auth_mysql / php
Hi - Can anyone help pls with my Apache build?
Platform = Linux / RedHat
Mod_auth_mysql = ./configure --with-apache=../apache_1.3.23
--with-mysql=/usr/local/mysql
Php (DSO) = ./configure --enable-dbase --enable-ftp --with-gd
--with-mysql=/usr/local/mys
ql --with-xml --enable-track-vars --with-apxs=/usr/local/apache/bin/apxs
--with-
pdflib --with-zlib-dir=/usr/local/lib
Mod_ssl=./configure \
"--prefix=/usr/local/apache" \
"--enable-module=most" \
"--enable-shared=max" \
"--with-apache=/root/progs/apache_1.3.23" \
"--activate-module=src/modules/auth_mysql/libauth_mysql.a" \
"--with-ssl=/usr/local/openssl-0.9.6d"
Without the activate-module for auth_mysql included the build works
fine. But with this line I get the following errors after I have run the
configure stage for mod_ssl and I'm prompted to change to the Apache
folder and run make / make certificate + make install.
Make=
<snip>...
my_compress.o(.text+0x9a): undefined reference to `uncompress'
/usr/local/mysql/lib/libmysqlclient.a(my_compress.o): In function
`my_compress_alloc':
my_compress.o(.text+0x12a): undefined reference to `compress'
collect2: ld returned 1 exit status
make[2]: *** [target_static] Error 1
make[2]: Leaving directory `/root/progs/apache_1.3.23/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/root/progs/apache_1.3.23'
make: *** [build] Error 2
Any help would be gratefully appreciated - J.
- Julian Grunnell BSc, 3rd Line Technical Support - Firstnet Services
Limited
- tel: 0113 292 7739 : http://www.firstnet.net.uk
<http://www.firstnet.net.uk/>
- [ This message subject to: http://www.firstnet.net.uk/disclaimer.html
]
Re: Help compiling mod_ssl / apache 1.3.23 + mod_auth_mysql / php
Posted by Jeff Beard <je...@cyberxape.com>.
Just a guess but it looks like maybe your missing libz.so, which is a
library for compression routines. Very odd, though, since I believe it
usually installs in a Redhat base install. Also odd that mysql would
build without it.
Look for the file libz.so and either add the path to its home in
/etc/ld.so.conf and run ldconfig or put it in the env var LD_LIBRARY_PATH.
--Jeff
Julian Grunnell wrote:
> Hi - Can anyone help pls with my Apache build?
>
> Platform = Linux / RedHat
>
> Mod_auth_mysql = ./configure --with-apache=../apache_1.3.23
> --with-mysql=/usr/local/mysql
>
> Php (DSO) = ./configure --enable-dbase --enable-ftp --with-gd
> --with-mysql=/usr/local/mys
> ql --with-xml --enable-track-vars --with-apxs=/usr/local/apache/bin/apxs
> --with-
> pdflib --with-zlib-dir=/usr/local/lib
>
> Mod_ssl=./configure \
> "--prefix=/usr/local/apache" \
> "--enable-module=most" \
> "--enable-shared=max" \
> "--with-apache=/root/progs/apache_1.3.23" \
> "--activate-module=src/modules/auth_mysql/libauth_mysql.a" \
> "--with-ssl=/usr/local/openssl-0.9.6d"
>
> Without the activate-module for auth_mysql included the build works
> fine. But with this line I get the following errors after I have run the
> configure stage for mod_ssl and I'm prompted to change to the Apache
> folder and run make / make certificate + make install.
>
> Make=
> <snip>...
> my_compress.o(.text+0x9a): undefined reference to `uncompress'
> /usr/local/mysql/lib/libmysqlclient.a(my_compress.o): In function
> `my_compress_alloc':
> my_compress.o(.text+0x12a): undefined reference to `compress'
> collect2: ld returned 1 exit status
> make[2]: *** [target_static] Error 1
> make[2]: Leaving directory `/root/progs/apache_1.3.23/src'
> make[1]: *** [build-std] Error 2
> make[1]: Leaving directory `/root/progs/apache_1.3.23'
> make: *** [build] Error 2
>
> Any help would be gratefully appreciated - J.
>
> - Julian Grunnell BSc, 3rd Line Technical Support - Firstnet Services
> Limited
>
> - tel: 0113 292 7739 : _____http://www.firstnet.net.uk_
> <http://www.firstnet.net.uk/>
>
> - [ This message subject to: _http://www.firstnet.net.uk/disclaimer.html_ ]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org