modssl setp-by-step installation won"t compile

modssl setp-by-step installation won"t compile

am 22.11.2006 23:40:02 von Jesse Gordon

Hello,

This is my first post. I am trying to get modssl to work by carefully
following the directions at:
http://www.modssl.org/example/
but I get the following errors when I try to perform a make in apache.
I'm using all the exact versions of the specified programs.
It must be that one of my libs is too old or too new but one of the
configure scripts isn't checking it.

I'm new to working with ssl and would greatly apreciate any suggestions.

The command which failed is the 'make' in step 3 "Build and install the
SSL-aware Apache" on the above referenced example page.

Note that if I reconfigure apache with ./configure --disable-module=ssl then
it compiles just fine -- but of course then I don't have ssl support. (This
command is of course not in the example, but I tried it after the example
failed in order to test.)

Thanks!

-Jesse


<=== src/modules/ssl
<=== src/modules
gcc -c -I./os/unix -I./include -DLINUX=22 -DHAVE_SET_DUMPABLE -DMOD_SSL=208128
-DUSE_HSREGEX -DEAPI -DNO_DL_NEEDED `./apaci` modules.c
gcc -c -I./os/unix -I./include -DLINUX=22 -DHAVE_SET_DUMPABLE -DMOD_SSL=208128
-DUSE_HSREGEX -DEAPI -DNO_DL_NEEDED `./apaci` buildmark.c
gcc -DLINUX=22 -DHAVE_SET_DUMPABLE -DMOD_SSL=208128 -DUSE_HSREGEX -DEAPI -DNO_DL_NEEDED
`./apaci` -L/usr/src/testmodssl/openssl-0.9.8b \
-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 -lm -lcrypt -lssl -lcrypto -lexpat
/usr/src/testmodssl/openssl-0.9.8b/libcrypto.a(dso_dlfcn.o)( .text+0x35): In
function `dlfcn_load':
: undefined reference to `dlopen'
/usr/src/testmodssl/openssl-0.9.8b/libcrypto.a(dso_dlfcn.o)( .text+0x95): In
function `dlfcn_load':
: undefined reference to `dlclose'
/usr/src/testmodssl/openssl-0.9.8b/libcrypto.a(dso_dlfcn.o)( .text+0xbc): In
function `dlfcn_load':
: undefined reference to `dlerror'
/usr/src/testmodssl/openssl-0.9.8b/libcrypto.a(dso_dlfcn.o)( .text+0x147): In
function `dlfcn_bind_var':
: undefined reference to `dlsym'
/usr/src/testmodssl/openssl-0.9.8b/libcrypto.a(dso_dlfcn.o)( .text+0x172): In
function `dlfcn_bind_var':
: undefined reference to `dlerror'
/usr/src/testmodssl/openssl-0.9.8b/libcrypto.a(dso_dlfcn.o)( .text+0x237): In
function `dlfcn_bind_func':
: undefined reference to `dlsym'
/usr/src/testmodssl/openssl-0.9.8b/libcrypto.a(dso_dlfcn.o)( .text+0x262): In
function `dlfcn_bind_func':
: undefined reference to `dlerror'
/usr/src/testmodssl/openssl-0.9.8b/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 `/usr/src/testmodssl/apache_1.3.37/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/usr/src/testmodssl/apache_1.3.37'
make: *** [build] Error 2
root@reports:/usr/src/testmodssl/apache_1.3.37#


____________________________________________________________ __________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List modssl-users@modssl.org
Automated List Manager majordomo@modssl.org

Re: modssl setp-by-step installation won"t compile

am 23.11.2006 04:57:37 von Jesse Gordon

Just disregard my complaint about apache not compiling, please.

I gave up. All I needed anyway was the scripts for making self signed
certificates for learning and such.

I found a tutorial on the web which tells how to make a self signed CA root
certificate which can then sign certificate singing requests for other
domains -- but the company name must always be the same.

But the snakeoil demo that comes with apache does a similar thing, except
the 'issued to' and 'issued by' company names are different -- but I can't
figure out how to change the snakeoil company name.

Could someone please point me to a tutorial which demonstrates this?

Yeah, yeah, I know that in order for my ssl site to be automatically
accepted by all browsers I must pay verisign or godaddy or whatnot -- but I
just want to learn how it all works. I don't care if my viewers get popups
and the like. They are few and can, if they wish, install my certificate so
their browsers stop complaining.

Thanks very much!

-Jesse

An old linux user but a new modssl user.



----- Original Message -----
From: "Jesse Gordon"
To:
Sent: Wednesday, November 22, 2006 2:40 PM
Subject: modssl setp-by-step installation won't compile


> Hello,
>
> This is my first post. I am trying to get modssl to work by carefully
> following the directions at:
> http://www.modssl.org/example/
> but I get the following errors when I try to perform a make in apache.
> I'm using all the exact versions of the specified programs.
> It must be that one of my libs is too old or too new but one of the
> configure scripts isn't checking it.
>
> I'm new to working with ssl and would greatly apreciate any suggestions.
>
> The command which failed is the 'make' in step 3 "Build and install the
> SSL-aware Apache" on the above referenced example page.
>
> Note that if I reconfigure apache with ./configure --disable-module=ssl
> then it compiles just fine -- but of course then I don't have ssl support.
> (This command is of course not in the example, but I tried it after the
> example failed in order to test.)
>
> Thanks!
>
> -Jesse
>
>
> <=== src/modules/ssl
> <=== src/modules
> gcc -c -I./os/unix -I./include -DLINUX=22 -DHAVE_SET_DUMPABLE -DMOD_SSL=208128
> -DUSE_HSREGEX -DEAPI -DNO_DL_NEEDED `./apaci` modules.c
> gcc -c -I./os/unix -I./include -DLINUX=22 -DHAVE_SET_DUMPABLE -DMOD_SSL=208128
> -DUSE_HSREGEX -DEAPI -DNO_DL_NEEDED `./apaci` buildmark.c
> gcc -DLINUX=22 -DHAVE_SET_DUMPABLE -DMOD_SSL=208128 -DUSE_HSREGEX -DEAPI
> -DNO_DL_NEEDED `./apaci` -L/usr/src/testmodssl/openssl-0.9.8b \
> -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 -lm -lcrypt -lssl -lcrypto -lexpat
> /usr/src/testmodssl/openssl-0.9.8b/libcrypto.a(dso_dlfcn.o)( .text+0x35):
> In function `dlfcn_load':
> : undefined reference to `dlopen'
> /usr/src/testmodssl/openssl-0.9.8b/libcrypto.a(dso_dlfcn.o)( .text+0x95):
> In function `dlfcn_load':
> : undefined reference to `dlclose'
> /usr/src/testmodssl/openssl-0.9.8b/libcrypto.a(dso_dlfcn.o)( .text+0xbc):
> In function `dlfcn_load':
> : undefined reference to `dlerror'
> /usr/src/testmodssl/openssl-0.9.8b/libcrypto.a(dso_dlfcn.o)( .text+0x147):
> In function `dlfcn_bind_var':
> : undefined reference to `dlsym'
> /usr/src/testmodssl/openssl-0.9.8b/libcrypto.a(dso_dlfcn.o)( .text+0x172):
> In function `dlfcn_bind_var':
> : undefined reference to `dlerror'
> /usr/src/testmodssl/openssl-0.9.8b/libcrypto.a(dso_dlfcn.o)( .text+0x237):
> In function `dlfcn_bind_func':
> : undefined reference to `dlsym'
> /usr/src/testmodssl/openssl-0.9.8b/libcrypto.a(dso_dlfcn.o)( .text+0x262):
> In function `dlfcn_bind_func':
> : undefined reference to `dlerror'
> /usr/src/testmodssl/openssl-0.9.8b/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 `/usr/src/testmodssl/apache_1.3.37/src'
> make[1]: *** [build-std] Error 2
> make[1]: Leaving directory `/usr/src/testmodssl/apache_1.3.37'
> make: *** [build] Error 2
> root@reports:/usr/src/testmodssl/apache_1.3.37#
>
>
> ____________________________________________________________ __________
> Apache Interface to OpenSSL (mod_ssl) www.modssl.org
> User Support Mailing List modssl-users@modssl.org
> Automated List Manager majordomo@modssl.org
>


____________________________________________________________ __________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List modssl-users@modssl.org
Automated List Manager majordomo@modssl.org

Re: modssl setp-by-step installation won"t compile -- all happy now

am 23.11.2006 08:46:45 von Jesse Gordon

I solved second problem too.

I found this great site here:

http://iain.cx/ssl/?openssl

which explained exactly what I wanted to know!

Thanks!

-Jesse

----- Original Message -----
From: "Jesse Gordon"
To:
Sent: Wednesday, November 22, 2006 7:57 PM
Subject: Re: modssl setp-by-step installation won't compile


> Just disregard my complaint about apache not compiling, please.
>
> I gave up. All I needed anyway was the scripts for making self signed
> certificates for learning and such.
>
> I found a tutorial on the web which tells how to make a self signed CA
> root certificate which can then sign certificate singing requests for
> other domains -- but the company name must always be the same.
>
> But the snakeoil demo that comes with apache does a similar thing, except
> the 'issued to' and 'issued by' company names are different -- but I can't
> figure out how to change the snakeoil company name.
>
> Could someone please point me to a tutorial which demonstrates this?
>
> Yeah, yeah, I know that in order for my ssl site to be automatically
> accepted by all browsers I must pay verisign or godaddy or whatnot -- but
> I just want to learn how it all works. I don't care if my viewers get
> popups and the like. They are few and can, if they wish, install my
> certificate so their browsers stop complaining.
>
> Thanks very much!
>
> -Jesse
>
> An old linux user but a new modssl user.
>
>
>
> ----- Original Message -----
> From: "Jesse Gordon"
> To:
> Sent: Wednesday, November 22, 2006 2:40 PM
> Subject: modssl setp-by-step installation won't compile
>
>
>> Hello,
>>
>> This is my first post. I am trying to get modssl to work by carefully
>> following the directions at:
>> http://www.modssl.org/example/
>> but I get the following errors when I try to perform a make in apache.
>> I'm using all the exact versions of the specified programs.
>> It must be that one of my libs is too old or too new but one of the
>> configure scripts isn't checking it.
>>
>> I'm new to working with ssl and would greatly apreciate any suggestions.
>>
>> The command which failed is the 'make' in step 3 "Build and install the
>> SSL-aware Apache" on the above referenced example page.
>>
>> Note that if I reconfigure apache with ./configure --disable-module=ssl
>> then it compiles just fine -- but of course then I don't have ssl
>> support. (This command is of course not in the example, but I tried it
>> after the example failed in order to test.)
>>
>> Thanks!
>>
>> -Jesse
>>
>>
>> <=== src/modules/ssl
>> <=== src/modules
>> gcc -c -I./os/unix -I./include -DLINUX=22 -DHAVE_SET_DUMPABLE -DMOD_SSL=208128
>> -DUSE_HSREGEX -DEAPI -DNO_DL_NEEDED `./apaci` modules.c
>> gcc -c -I./os/unix -I./include -DLINUX=22 -DHAVE_SET_DUMPABLE -DMOD_SSL=208128
>> -DUSE_HSREGEX -DEAPI -DNO_DL_NEEDED `./apaci` buildmark.c
>>
>> cc -DLINUX=22 -DHAVE_SET_DUMPABLE -DMOD_SSL=208128 -DUSE_HSREGEX -DEAPI
>> -DNO_DL_NEEDED `./apaci` -L/usr/src/testmodssl/openssl-0.9.8b \
>> -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 -lm -lcrypt -lssl -lcrypto -lexpat
>> /usr/src/testmodssl/openssl-0.9.8b/libcrypto.a(dso_dlfcn.o)( .text+0x35):
>> In function `dlfcn_load':
>> : undefined reference to `dlopen'
>> /usr/src/testmodssl/openssl-0.9.8b/libcrypto.a(dso_dlfcn.o)( .text+0x95):
>> In function `dlfcn_load':
>> : undefined reference to `dlclose'
>> /usr/src/testmodssl/openssl-0.9.8b/libcrypto.a(dso_dlfcn.o)( .text+0xbc):
>> In function `dlfcn_load':
>> : undefined reference to `dlerror'
>> /usr/src/testmodssl/openssl-0.9.8b/libcrypto.a(dso_dlfcn.o)( .text+0x147):
>> In function `dlfcn_bind_var':
>> : undefined reference to `dlsym'
>> /usr/src/testmodssl/openssl-0.9.8b/libcrypto.a(dso_dlfcn.o)( .text+0x172):
>> In function `dlfcn_bind_var':
>> : undefined reference to `dlerror'
>> /usr/src/testmodssl/openssl-0.9.8b/libcrypto.a(dso_dlfcn.o)( .text+0x237):
>> In function `dlfcn_bind_func':
>> : undefined reference to `dlsym'
>> /usr/src/testmodssl/openssl-0.9.8b/libcrypto.a(dso_dlfcn.o)( .text+0x262):
>> In function `dlfcn_bind_func':
>> : undefined reference to `dlerror'
>> /usr/src/testmodssl/openssl-0.9.8b/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 `/usr/src/testmodssl/apache_1.3.37/src'
>> make[1]: *** [build-std] Error 2
>> make[1]: Leaving directory `/usr/src/testmodssl/apache_1.3.37'
>> make: *** [build] Error 2
>> root@reports:/usr/src/testmodssl/apache_1.3.37#
>>
>>
>> ____________________________________________________________ __________
>> Apache Interface to OpenSSL (mod_ssl) www.modssl.org
>> User Support Mailing List modssl-users@modssl.org
>> Automated List Manager majordomo@modssl.org
>>
>
>
> ____________________________________________________________ __________
> Apache Interface to OpenSSL (mod_ssl) www.modssl.org
> User Support Mailing List modssl-users@modssl.org
> Automated List Manager majordomo@modssl.org
>


____________________________________________________________ __________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List modssl-users@modssl.org
Automated List Manager majordomo@modssl.org