enigma1

msg:4434714 | 10:13 am on Mar 29, 2012 (gmt 0) |
Is there a config.log file and what it says?
|
sanjivus

msg:4435034 | 11:01 pm on Mar 29, 2012 (gmt 0) |
Appreciate your response. sorry about the delayd response, I was busy to find the solution. I tried several different things but nothing is working. Here is the config.log file. I am getting the error message that the post is too large. I am going to paste it in parts.
|
sanjivus

msg:4435036 | 11:07 pm on Mar 29, 2012 (gmt 0) |
My config file is 36 pages long. This portal does not allow me to paste all the text and there is no way to attach the text file. Id there any way that I can email this file to you?
|
sanjivus

msg:4436323 | 6:23 pm on Apr 2, 2012 (gmt 0) |
come on, I am sure there are many apache gurus gone thru this...!
|
enigma1

msg:4436326 | 6:28 pm on Apr 2, 2012 (gmt 0) |
it's strange, are you receiving notifications from this forum on PMs or not?
|
sanjivus

msg:4436403 | 8:50 pm on Apr 2, 2012 (gmt 0) |
sorry, I did not see the PM. I just sent you the config.log file.
|
sanjivus

msg:4436496 | 3:45 am on Apr 3, 2012 (gmt 0) |
I wanted to provide some more info: Same install script works with OpenSSL-1.0.0e OpenSSL-1.0.0f OpenSSL-1.0.0g But I get the same error with OpenSSL-1.0.0h and OpenSSL-1.0.1. So I was able to upgrade from httpd-2.2.21/OpenSSL-1.0.0e to httpd-2.2.22/OpenSSL-1.0.0g. I would like to upgrade to OpenSSL-1.0.1
|
enigma1

msg:4436566 | 7:45 am on Apr 3, 2012 (gmt 0) |
Looks like the openssl library is the problem. I see in the log dso_dlfcn.c:(.text+0x2d): undefined reference to `dlopen' dso_dlfcn.c:(.text+0x43): undefined reference to `dlsym' dso_dlfcn.c:(.text+0x4d): undefined reference to `dlclose' /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_pathbyaddr': dso_dlfcn.c:(.text+0x8f): undefined reference to `dladdr' dso_dlfcn.c:(.text+0xe8): undefined reference to `dlerror' /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_bind_func': dso_dlfcn.c:(.text+0x43d): undefined reference to `dlsym' dso_dlfcn.c:(.text+0x514): undefined reference to `dlerror' /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_bind_var': dso_dlfcn.c:(.text+0x5a1): undefined reference to `dlsym' dso_dlfcn.c:(.text+0x67d): undefined reference to `dlerror' /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_unload': dso_dlfcn.c:(.text+0x6e3): undefined reference to `dlclose' /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_load': dso_dlfcn.c:(.text+0x7b7): undefined reference to `dlopen' dso_dlfcn.c:(.text+0x828): undefined reference to `dlclose' dso_dlfcn.c:(.text+0x86d): undefined reference to `dlerror' collect2: ld returned 1 exit status So something is wrong with the LIBS argument that you setup.
|
sanjivus

msg:4436690 | 2:29 pm on Apr 3, 2012 (gmt 0) |
Thanks for taking a look at the log file. I am not really sure what I am doing wrong. I am using the same script to install OpenSSL as well as Apache. As I mentioned earlier that things went fine with OpenSSL-1.0.0e, OpenSSL-1.0.0f and OpenSSL-1.0.0g. This problem started to appear with OpenSSL-1.0.0h and OpenSSL-1.0.1. Same thing is happening on around 10+ servers. Any further steps to troubleshoot/fix would be much appreciated.
|
enigma1

msg:4436717 | 3:31 pm on Apr 3, 2012 (gmt 0) |
seems the openssl you use seems has a dependency on the libdl, so see if it builds by setting LIBS=-ldl
|
sanjivus

msg:4436772 | 5:25 pm on Apr 3, 2012 (gmt 0) |
Thanks again for the reply. I am sorry, I am not clear about what you are trying to say. Are you saying that I should try to build OpenSSL with LIBS=-ldl or with httpd. I tried with both and i got the following responses. [root@indb2 openssl-1.0.0h]> ./config --LIBS=-ldl Operating system: i686-whatever-linux2 Configuring for linux-elf Usage: ....... [root@indb2 httpd-2.2.22]> ./configure --with-ssl=/usr/local/ssl --enable-ssl --enable-modules="all" --enable-mods-shared="most" --LIBS=-ldl configure: error: unrecognized option: `--LIBS=-ldl' Try `./configure --help' for more information.
|
enigma1

msg:4436821 | 6:58 pm on Apr 3, 2012 (gmt 0) |
that's for the httpd to be built with libdl env LDFLAGS="-ldl" ./configure --with-ssl=/usr/local/ssl --enable-ssl --enable-modules="all" --enable-mods-shared="most" what happens if you try to configure with the above?
|
sanjivus

msg:4437169 | 6:29 pm on Apr 4, 2012 (gmt 0) |
That did the trick. You are a genius my friend. Can you please explain what really happened?
|
enigma1

msg:4437366 | 8:24 am on Apr 5, 2012 (gmt 0) |
There are functions in libdl used for dynamic linking and it was required to be present from the logs. It may not be the only problem though. You have to check the functionality of the apache you just built.
|
sanjivus

msg:4437511 | 2:52 pm on Apr 5, 2012 (gmt 0) |
So far everything is working fine. Is there anything specific you want me to test/check?
|
enigma1

msg:4437556 | 4:21 pm on Apr 5, 2012 (gmt 0) |
Ok it's possible that everything works just keep an eye in the server logs.
|
sanjivus

msg:4437657 | 7:07 pm on Apr 5, 2012 (gmt 0) |
Thanks, appreciate your valuable help. I will let you know if anything is wrong.
|
|