Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Apache 2.4.16 issue

178 views
Skip to first unread message

The Doctor

unread,
Aug 17, 2015, 4:22:51 PM8/17/15
to
I compiled Apache 2.4.16 finally ,but I cannot start up.

I end up getting


[Wed Dec 31 16:33:46..,0''( 1969] [session_crypto:error] [pid 22045] (20019)DSO load failed: AH01845: The crypto library 'openssl' could not be loaded: File not found (apr_crypto_openssl-1.so: 0)
[Wed Dec 31 16:36:49.(+0-,+ 1969] [session_crypto:error] [pid 25235] (20019)DSO load failed: AH01845: The crypto library 'openssl' could not be loaded: File not found (apr_crypto_openssl-1.so: 0)

First one was solved by compile apr and apr-util inside apache-2.4.16

/usr/contrib/bin/httpd: can't resolve symbol 'apr_crypto_init'
/usr/contrib/bin/httpd: can't resolve symbol 'apr_crypto_init'

This is confusing me. Pointers please.
--
Member - Liberal International This is doctor@@nl2k.ab.ca Ici doctor@@nl2k.ab.ca
God,Queen and country!Never Satan President Republic!Beware AntiChrist rising!
http://www.fullyfollow.me/rootnl2k Look at Psalms 14 and 53 on Atheism
Time for Stephen to move on on Oct 19 2015!!

Dedomen

unread,
Aug 18, 2015, 6:39:15 AM8/18/15
to
On Mon, 17 Aug 2015, The Doctor wrote:

> I compiled Apache 2.4.16 finally ,but I cannot start up.
>
> I end up getting
>
>
> [Wed Dec 31 16:33:46..,0''( 1969] [session_crypto:error] [pid 22045] (20019)DSO load failed:
> AH01845: The crypto library 'openssl' could not be loaded: File not
> found (apr_crypto_openssl-1.so: 0)
> [Wed Dec 31 16:36:49.(+0-,+ 1969] [session_crypto:error] [pid 25235] (20019)DSO load failed:
> AH01845: The crypto library 'openssl' could not be loaded: File not
> found (apr_crypto_openssl-1.so: 0)
>
> First one was solved by compile apr and apr-util inside apache-2.4.16
>
> /usr/contrib/bin/httpd: can't resolve symbol 'apr_crypto_init'
> /usr/contrib/bin/httpd: can't resolve symbol 'apr_crypto_init'
>
> This is confusing me. Pointers please.

May I ask why are you compiling Apache, instead of using precompiled
binary prepared for your distribution? For practice only?

The Doctor

unread,
Aug 18, 2015, 11:18:05 AM8/18/15
to
In article <alpine.DEB.2.10.1...@eeepc.link.ba>,
Because there are no precompiled version for BSD.

Dedomen

unread,
Aug 18, 2015, 11:57:29 AM8/18/15
to
On Tue, 18 Aug 2015, The Doctor wrote:

> In article <alpine.DEB.2.10.1...@eeepc.link.ba>,
> Dedomen <avd...@eeepc.link.ba> wrote:
>> On Mon, 17 Aug 2015, The Doctor wrote:
>>
>>> I compiled Apache 2.4.16 finally ,but I cannot start up.
>>>
>>> I end up getting
>>>
>>>
>>> [Wed Dec 31 16:33:46..,0''( 1969] [session_crypto:error] [pid 22045] (20019)DSO load failed:
>>> AH01845: The crypto library 'openssl' could not be loaded: File not
>>> found (apr_crypto_openssl-1.so: 0)
>>> [Wed Dec 31 16:36:49.(+0-,+ 1969] [session_crypto:error] [pid 25235] (20019)DSO load failed:
>>> AH01845: The crypto library 'openssl' could not be loaded: File not
>>> found (apr_crypto_openssl-1.so: 0)
>>>
>>> First one was solved by compile apr and apr-util inside apache-2.4.16
>>>
>>> /usr/contrib/bin/httpd: can't resolve symbol 'apr_crypto_init'
>>> /usr/contrib/bin/httpd: can't resolve symbol 'apr_crypto_init'
>>>
>>> This is confusing me. Pointers please.
>>
>> May I ask why are you compiling Apache, instead of using precompiled
>> binary prepared for your distribution? For practice only?
>
> Because there are no precompiled version for BSD.

Which BSD?

The Doctor

unread,
Aug 18, 2015, 4:38:29 PM8/18/15
to
FreeBSD and BSD/OS

I R A Darth Aggie

unread,
Sep 2, 2015, 1:38:41 PM9/2/15
to
On Mon, 17 Aug 2015 20:22:50 +0000 (UTC),
The Doctor <doc...@doctor.nl2k.ab.ca>, in
<mqtfqq$1ql$1...@ns2.nl2k.ab.ca> wrote:
> I compiled Apache 2.4.16 finally ,but I cannot start up.
>
> I end up getting
>
>
> [Wed Dec 31 16:33:46..,0''( 1969] [session_crypto:error] [pid 22045] (20019)DSO load failed: AH01845: The crypto library 'openssl' could not be loaded: File not found (apr_crypto_openssl-1.so: 0)
> [Wed Dec 31 16:36:49.(+0-,+ 1969] [session_crypto:error] [pid 25235] (20019)DSO load failed: AH01845: The crypto library 'openssl' could not be loaded: File not found (apr_crypto_openssl-1.so: 0)
>
> First one was solved by compile apr and apr-util inside apache-2.4.16
>
> /usr/contrib/bin/httpd: can't resolve symbol 'apr_crypto_init'
> /usr/contrib/bin/httpd: can't resolve symbol 'apr_crypto_init'
>
> This is confusing me. Pointers please.

It isn't finding this library: apr_crypto_openssl-1.so

https://apr.apache.org/compiling_unix.html

which apparently is provided in apr-util, which can also be downloaded
from that page. I'm surprised the ./configure in your build directory
didn't bark about this not being available.

--
Consulting Minister for Consultants, DNRC
I can please only one person per day. Today is not your day. Tomorrow
isn't looking good, either.
I am BOFH. Resistance is futile. Your network will be assimilated.

The Doctor

unread,
Sep 2, 2015, 6:11:40 PM9/2/15
to
In article <slrnmued10...@invalid.invalid>,
I R A Darth Aggie <no-courtesy-...@invalid.invalid> wrote:
>On Mon, 17 Aug 2015 20:22:50 +0000 (UTC),
>The Doctor <doc...@doctor.nl2k.ab.ca>, in
><mqtfqq$1ql$1...@ns2.nl2k.ab.ca> wrote:
>> I compiled Apache 2.4.16 finally ,but I cannot start up.
>>
>> I end up getting
>>
>>
>> [Wed Dec 31 16:33:46..,0''( 1969] [session_crypto:error] [pid 22045] (20019)DSO load failed: AH01845: The crypto library 'openssl' could not be loaded: File not found (apr_crypto_openssl-1.so: 0)
>> [Wed Dec 31 16:36:49.(+0-,+ 1969] [session_crypto:error] [pid 25235] (20019)DSO load failed: AH01845: The crypto library 'openssl' could not be loaded: File not found (apr_crypto_openssl-1.so: 0)
>>
>> First one was solved by compile apr and apr-util inside apache-2.4.16
>>
>> /usr/contrib/bin/httpd: can't resolve symbol 'apr_crypto_init'
>> /usr/contrib/bin/httpd: can't resolve symbol 'apr_crypto_init'
>>
>> This is confusing me. Pointers please.
>
>It isn't finding this library: apr_crypto_openssl-1.so
>
>https://apr.apache.org/compiling_unix.html
>
>which apparently is provided in apr-util, which can also be downloaded
>from that page. I'm surprised the ./configure in your build directory
>didn't bark about this not being available.
>

Well here are the libraries that I use

/usr/contrib/lib/libapr-0.a /usr/contrib/lib/libapriconv-1.so@
/usr/contrib/lib/libapr-0.la /usr/contrib/lib/libapriconv-1.so.0@
/usr/contrib/lib/libapr-0.so@ /usr/contrib/lib/libapriconv-1.so.0.2.1*
/usr/contrib/lib/libapr-0.so.0@ /usr/contrib/lib/libaprutil-0.a
/usr/contrib/lib/libapr-0.so.0.9.17 /usr/contrib/lib/libaprutil-0.la
/usr/contrib/lib/libapr-0.so.0.9.20 /usr/contrib/lib/libaprutil-0.so@
/usr/contrib/lib/libapr-1.a /usr/contrib/lib/libaprutil-0.so.0@
/usr/contrib/lib/libapr-1.la* /usr/contrib/lib/libaprutil-0.so.0.9.17
/usr/contrib/lib/libapr-1.so@ /usr/contrib/lib/libaprutil-0.so.0.9.20
/usr/contrib/lib/libapr-1.so.0@ /usr/contrib/lib/libaprutil-1.a
/usr/contrib/lib/libapr-1.so.0.2.9* /usr/contrib/lib/libaprutil-1.la*
/usr/contrib/lib/libapr-1.so.0.4.8* /usr/contrib/lib/libaprutil-1.so@
/usr/contrib/lib/libapr-1.so.0.5.0* /usr/contrib/lib/libaprutil-1.so.0@
/usr/contrib/lib/libapr-1.so.0.5.1* /usr/contrib/lib/libaprutil-1.so.0.2.9*
/usr/contrib/lib/libapr-1.so.0.5.2* /usr/contrib/lib/libaprutil-1.so.0.5.2*
/usr/contrib/lib/libapr.a /usr/contrib/lib/libaprutil-1.so.0.5.3*
/usr/contrib/lib/libapr.la* /usr/contrib/lib/libaprutil-1.so.0.5.4*
/usr/contrib/lib/libapr.so@ /usr/contrib/lib/libaprutil.a
/usr/contrib/lib/libapr.so.0@ /usr/contrib/lib/libaprutil.la*
/usr/contrib/lib/libapr.so.0.4.6* /usr/contrib/lib/libaprutil.so@
/usr/contrib/lib/libapr.so.0.5.0* /usr/contrib/lib/libaprutil.so.0@
/usr/contrib/lib/libapr.so.0.5.2* /usr/contrib/lib/libaprutil.so.0.4.1*
/usr/contrib/lib/libapr.so.0.9.20 /usr/contrib/lib/libaprutil.so.0.5.3*
/usr/contrib/lib/libapriconv-1.a /usr/contrib/lib/libaprutil.so.0.5.4*
/usr/contrib/lib/libapriconv-1.la /usr/contrib/lib/libaprutil.so.0.9.20


>--
>Consulting Minister for Consultants, DNRC
>I can please only one person per day. Today is not your day. Tomorrow
>isn't looking good, either.
>I am BOFH. Resistance is futile. Your network will be assimilated.


0 new messages