Re: Compile error

Salvador Caballe <[email protected]>
Newsgroups gmane.comp.apache.mod-ssl.user
Message-ID <[email protected]>
A Dijous 07 Juliol 2005 20:12, Salvador Caballe va escriure:
> I just download the latest mod_ssl version, to upgrade
> my apache server.
>
>
> I installed and compiled the previous versions without problems, but I have
> this errors when compile apache program with mod_ssl:
>
> gcc -c  -I./os/unix -I./include   -DLINUX=22 -DHAVE_SET_DUMPABLE
> -DMOD_SSL=208123 -DUSE_HSREGEX -DEAPI -DUSE_EXPAT -I./lib/expat-lite
> -DNO_DL_NEEDED `./apaci` modules.c gcc -c  -I./os/unix -I./include  
> -DLINUX=22 -DHAVE_SET_DUMPABLE -DMOD_SSL=208123 -DUSE_HSREGEX -DEAPI
> -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED `./apaci` buildmark.c gcc 
> -DLINUX=22 -DHAVE_SET_DUMPABLE -DMOD_SSL=208123 -DUSE_HSREGEX -DEAPI
> -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED `./apaci`
> -L/home/users/scaballe/openssl-0.9.8   \ -o httpd buildmark.o modules.o
> modules/standard/libstandard.a modules/ssl/libssl.a main/libmain.a
> ./os/unix/libos.a ap/libap.a regex/libregex.a lib/expat-lite/libexpat.a 
> -lm -lcrypt  -lssl -lcrypto
>
> #/openssl-0.9.8/libcrypto.a(dso_dlfcn.o)(.text+0x35): In function 
`dlfcn_load':
> : undefined reference to `dlopen'
>
> #/openssl-0.9.8/libcrypto.a(dso_dlfcn.o)(.text+0x95): In function 
`dlfcn_load':
> : undefined reference to `dlclose'
>
> #/openssl-0.9.8/libcrypto.a(dso_dlfcn.o)(.text+0xbc): In function 
`dlfcn_load':
> : undefined reference to `dlerror'
>
> #/openssl-0.9.8/libcrypto.a(dso_dlfcn.o)(.text+0x147): In function 
`dlfcn_bind_var':
> : undefined reference to `dlsym'
>
> #/openssl-0.9.8/libcrypto.a(dso_dlfcn.o)(.text+0x172): In function 
`dlfcn_bind_var':
> : undefined reference to `dlerror'
>
> #/openssl-0.9.8/libcrypto.a(dso_dlfcn.o)(.text+0x237): In function 
`dlfcn_bind_func':
> : undefined reference to `dlsym'
>
> #/openssl-0.9.8/libcrypto.a(dso_dlfcn.o)(.text+0x262): In function 
`dlfcn_bind_func':
> : undefined reference to `dlerror'
>
> #/openssl-0.9.8/libcrypto.a(dso_dlfcn.o)(.text+0x50b): In function 
`dlfcn_unload':
> : undefined reference to `dlclose'
>
> collect2: ld returned 1 exit status
> make[2]: *** [target_static] Error 1
> make[2]: Leaving directory `#/apache_1.3.33/src'
> make[1]: *** [build-std] Error 2
> make[1]: Leaving directory `#/apache_1.3.33'
> make: *** [build] Error 2
> #apache_1.3.33#
>

 I found the solution in the list archives:

http://marc.theaimsgroup.com/?l=apache-modssl&m=102865024908732&w=2

Salvador

-- 

 

APRS on line:
http://www.ea3bkz.com/aprs.html

______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl)                   www.modssl.org
User Support Mailing List                      [email protected]
Automated List Manager                            [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.