New Installation / Apache Compile Error

MattM

New member
Joined
Oct 20, 2005
Messages
2
Hey Everyone,
I'm trying to install DA on Centos 4.2 and I'm getting the following error under ./build apache_mod_ssl.

My setup is a bit different but shouldn't change anything. /usr is a symlink to /mnt/share/usr which is mounted off NFS. Other than this error, the entire system works perfectly fine.

####################
<=== src/modules
gcc -c -I./os/unix -I./include -DLINUX=22 -DHAVE_SET_DUMPABLE -DNO_DBM_REWRITEMAP -DMOD_SSL=208125 -DUSE_HSREGEX -DEAPI `./apaci` modules.c
gcc -c -I./os/unix -I./include -DLINUX=22 -DHAVE_SET_DUMPABLE -DNO_DBM_REWRITEMAP -DMOD_SSL=208125 -DUSE_HSREGEX -DEAPI `./apaci` buildmark.c
gcc -DLINUX=22 -DHAVE_SET_DUMPABLE -DNO_DBM_REWRITEMAP -DMOD_SSL=208125 -DUSE_HSREGEX -DEAPI `./apaci` -rdynamic \
-o httpd buildmark.o modules.o modules/standard/libstandard.a modules/extra/libextra.a main/libmain.a ./os/unix/libos.a ap/libap.a regex/libregex.a -lm -lcrypt -lexpat -ldl
./os/unix/libos.a(os.o)(.text+0x1c): In function `ap_os_dso_load':
: warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/mnt/share/usr/bin/../lib/gcc/i386-redhat-linux/3.4.4/../../../libdl.a(dlopen.o)(.text+0x10): In function `dlopen':
: undefined reference to `__dlopen'
/mnt/share/usr/bin/../lib/gcc/i386-redhat-linux/3.4.4/../../../libdl.a(dlclose.o)(.text+0x5): In function `dlclose':
: undefined reference to `__dlclose'
/mnt/share/usr/bin/../lib/gcc/i386-redhat-linux/3.4.4/../../../libdl.a(dlsym.o)(.text+0xd): In function `dlsym':
: undefined reference to `__dlsym'
/mnt/share/usr/bin/../lib/gcc/i386-redhat-linux/3.4.4/../../../libdl.a(dlerror.o)(.text+0x5): In function `dlerror':
: undefined reference to `__dlerror'
collect2: ld returned 1 exit status
make[2]: *** [target_static] Error 1
make[2]: Leaving directory `/mnt/share/usr/local/directadmin/customapache/apache_1.3.34/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/mnt/share/usr/local/directadmin/customapache/apache_1.3.34'
make: *** [build] Error 2
####################

I've tried reinstalling/updating all the main libraries I can think of but nothing changes. I've tried googling and there's very little information. Can anyone make sense of this error?

Thanks,
Matt
 
I should have been more exact with the error. Here's the exact line that it errors on:

####### ERROR COMMAND
gcc -DLINUX=22 -DHAVE_SET_DUMPABLE -DNO_DBM_REWRITEMAP -DMOD_SSL=208125 -DUSE_HSREGEX -DEAPI `./apaci` -rdynamic \
> -o httpd buildmark.o modules.o modules/standard/libstandard.a modules/extra/libextra.a main/libmain.a ./os/unix/libos.a ap/libap.a regex/libregex.a -lm -lcrypt -lexpat -ldl
####### ERROR COMMAND

####### ERROR RESULT
./os/unix/libos.a(os.o)(.text+0x1c): In function `ap_os_dso_load':
: warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/mnt/share/usr/bin/../lib/gcc/i386-redhat-linux/3.4.4/../../../libdl.a(dlopen.o)(.text+0x10): In function `dlopen':
: undefined reference to `__dlopen'
/mnt/share/usr/bin/../lib/gcc/i386-redhat-linux/3.4.4/../../../libdl.a(dlclose.o)(.text+0x5): In function `dlclose':
: undefined reference to `__dlclose'
/mnt/share/usr/bin/../lib/gcc/i386-redhat-linux/3.4.4/../../../libdl.a(dlsym.o)(.text+0xd): In function `dlsym':
: undefined reference to `__dlsym'
/mnt/share/usr/bin/../lib/gcc/i386-redhat-linux/3.4.4/../../../libdl.a(dlerror.o)(.text+0x5): In function `dlerror':
: undefined reference to `__dlerror'
collect2: ld returned 1 exit status
####### ERROR RESULT

It's a linker error but my /usr/bin/ld and /usr/lib/libdl.a are the latest glibc and glibc-devel.

If anyone has *ANY* ideas i'll be more than happy to try them.

Thanks.
 
Back
Top