Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Compiling Apache 1.3.22 gives error message!

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Hi all I am using on Linux 2.0.36 to compile Apache the following configuration:

./configure --prefix=/usr/local/apache --enable-module=so --disable-module=imap --disable-module=actions --disable-module=alias --disable-module=asis --disable-module=auth --disable-module=cgi --disable-module=env --disable-module=include --disable-module=setenvif --disable-module=status --disable-module=userdir

However when I do a "make" the following error shows up after sometime:
----------------------------------
gcc -DLINUX=20 -DUSE_HSREGEX -DUSE_EXPAT -I./lib/expat-lite `./apaci` -rdynamic -o httpd buildmark.o modules.o modules/standard/libstandard.a main/libmain.a ./os/unix/libos.a ap/libap.a regex/libregex.a lib/expat-lite/libexpat.a -lm
./os/unix/libos.a(os.o): In function `ap_os_dso_load':
os.o(.text+0x1d): undefined reference to `dlopen'
./os/unix/libos.a(os.o): In function `ap_os_dso_unload':
os.o(.text+0x38): undefined reference to `dlclose'
./os/unix/libos.a(os.o): In function `ap_os_dso_sym':
os.o(.text+0x54): undefined reference to `dlsym'
./os/unix/libos.a(os.o): In function `ap_os_dso_error':
os.o(.text+0x6c): undefined reference to `dlerror'
make[2]: *** [target_static] Error 1
make[2]: Leaving directory `/usr/src/apache/apache_1.3.22/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/usr/src/apache/apache_1.3.22'
make: *** [build] Error 2
-------------------------------

What'sup with this? Any help would be greatly appreciated!!
 
Is that the kernel version? Apache 1.3.22 needs at least 2.4 or later. You might try upgrading. I also see that you are disabling a lot of modules. Some modules are depentent on others and may cause this error. Another thing that can cause these errors is not being able to find shared object libraries. You might try "ldconfig -v" before building apache. Sorry I'm not being much help but I have no clue on how your system is configured.
 
Hello again and thanks for the reply to my question above. However how could that be since I have apache 1.3.20 running on this Linux version! You mean to say, there is so much difference in 1.3.22 that it won't compile on this system? Any info would be greatly appreciated Thanks again.
 
Hi,

I think its missing dlfcn.h (at least) which on redhat is provided by glibc-devel . Do you have that rpm installed (rpm -q glibc-devel) ?

Regards
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top