Web Servers on Unix and Linux - Apache 1.3.34 compile error

This is Interesting: Free IT Magazines  
Home > Archive > Web Servers on Unix and Linux > October 2005 > Apache 1.3.34 compile error





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Apache 1.3.34 compile error
Floyd

2005-10-24, 10:31 am


Using exact same configure options as for 1.3.33 I am getting the following
error trying to build Apache 1.3.34. It seems that some settings in Makefiles
having to do with EXPATLIB are not getting configured.

gcc -DLINUX=22 -I/usr/include/db1 -DUSE_HSREGEX `../apaci` -o gen_test_char
gen_test_char.o -lm -lcrypt -lndbm -ldb -lexpat -ldl
../gen_test_char >test_char.h
../gen_test_char: error in loading shared libraries: libexpat.so.0: cannot
open shared object file: No such file or directory
make[3]: *** [test_char.h] Error 127
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory `/usr/local/src/apache/apache_1.3.34/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/usr/local/src/apache/apache_1.3.34'
make: *** [build] Error 2
FAILED
Floyd

2005-10-24, 10:31 am

I have discovered that part of this problem is due to the fact that since
building Apache 1.3.33, a version of libexpat had been installed in
/usr/local/lib. It is found by helpers/TestCompile during configuration
but some part of the build (make) procedure is not finding it.

Perhaps an option like --enable-rule=EXPAT=builtin would be
a way to work around this sort of thing.


On 18 Oct 2005 21:38:00 EDT, I wrote:
>
>Using exact same configure options as for 1.3.33 I am getting the following
>error trying to build Apache 1.3.34. It seems that some settings in Makefiles
>having to do with EXPATLIB are not getting configured.
>
>gcc -DLINUX=22 -I/usr/include/db1 -DUSE_HSREGEX `../apaci` -o gen_test_char
> gen_test_char.o -lm -lcrypt -lndbm -ldb -lexpat -ldl
>./gen_test_char >test_char.h
>./gen_test_char: error in loading shared libraries: libexpat.so.0: cannot
> open shared object file: No such file or directory
>make[3]: *** [test_char.h] Error 127
>make[2]: *** [subdirs] Error 1
>make[2]: Leaving directory `/usr/local/src/apache/apache_1.3.34/src'
>make[1]: *** [build-std] Error 2
>make[1]: Leaving directory `/usr/local/src/apache/apache_1.3.34'
>make: *** [build] Error 2
>FAILED


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com