[openssl-users] Build from source; library not found?

2017-05-17 Thread Hiran Chaudhuri
Hi there. I have been building Openssl for quite some time now. Just recently I switched to shared mode that will also create shared libraries. What I am wondering about: After configure/make/make install I find the expected libraries in the desired output directory. Why can ldd not resolve a

Re: [openssl-users] Build from source; library not found?

2017-05-17 Thread Hiran Chaudhuri
Hi Richard. Thank you for the fast response. Am 17-May-2017 15:40:27 +0200 schrieb levi...@openssl.org: The are two ways to handle this. One is with the usual setting of LD_LIBRARY_PATH: $ LD_LIBRARY_PATH=`pwd` ldd libssl.so.1.0.0 Yes, this seems to work. Somehow I'd like to avoid

Re: [openssl-users] Build from source; library not found?

2017-05-17 Thread Hiran Chaudhuri
I just verified. The required shared libraries and runpath settings are part of the dynamic section in elf files. readelf -d openssl displays a runpath, while readelf -d libssl.so.1.0.0 does not show a runpath. Therefore my test was wrong. I cannot check shared libraries directly. Am

Re: [openssl-users] Build from source; library not found?

2017-05-20 Thread Hiran Chaudhuri
Am 19-May-2017 00:36:18 +0200 schrieb openssl-us...@dukhovni.org: > hiran.chaudhuri> Now this is interesting. Yes, openssl can find both the > libraries > hiran.chaudhuri> libssl and libcrypto. Would that imply that rpath is only a > setting > hiran.chaudhuri> for application (executables)

Re: [openssl-users] Build from source; library not found?

2017-05-23 Thread Hiran Chaudhuri
Hello Victor. So you manage to build OpenSSL with rpaths. Would you like to let me know how this can be achieved? Is CFLAGS the only change required? (from the documentation mentioned earlier it seems I would have to modify the configure script). Hiran Am 21-May-2017 06:51:55 +0200

Re: [openssl-users] automating my CA

2017-05-20 Thread Hiran Chaudhuri
Check out "let's encrypt" and the ACME protocol. There is also a free O SS implementation available. Hiran Am 19. Mai 2017 14:13:55 MESZ schrieb Jannis Ohms : >Hi, > >I need some kind of API which accepts CSRs and signs them > >Alot of Online certificate providers

Re: [openssl-users] Build from source; library not found?

2017-05-28 Thread Hiran Chaudhuri
com>: >On Sun, May 28, 2017 at 5:16 PM, Hiran Chaudhuri ><hiran.chaudh...@mail.de> wrote: >> It seems I misread the referenced documentation the first time. >> >> This stuff contains the answer, it just was not clear to me that also >wor

Re: [openssl-users] Build from source; library not found?

2017-05-28 Thread Hiran Chaudhuri
It seems I misread the referenced documentation the first time. This stuff contains the answer, it just was not clear to me that also works on Linux. https://wiki.openssl.org/index.php/Compilation_and_Installation#Using_RPATHs. With that, the libraries have run paths that show the correct