Score:0

/usr/sbin/apache2: undefined symbol: apr_crypto_init

us flag

This is making little sense. Updated to 22.04 about a month ago. Inside /usr/lib/x86_64-linux-gnu I have libaprutil-1.so.0

nm -D libaprutil-1.so.0 | grep apr_crypto_init

So I added /usr/lib/x86_64-linux-gnu to my LD_LIBRARY_PATH and I still get this error:

(base) /usr/lib/x86_64-linux-gnu$ /usr/sbin/apachectl start
/usr/sbin/apache2: symbol lookup error: /usr/sbin/apache2: undefined symbol: apr_crypto_init
Action 'start' failed.
The Apache error log may have more information.

There is nothing showing in /var/log/apache2/error.log

This is my ultimate issue:

$ systemctl status apache2.service
× apache2.service - The Apache HTTP Server
     Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)
     Active: failed (Result: exit-code) since Sun 2023-03-12 00:22:40 EST; 15s ago
       Docs: https://httpd.apache.org/docs/2.4/
    Process: 708193 ExecStart=/usr/sbin/apachectl start (code=exited, status=127)
        CPU: 31ms

Mar 12 00:22:40 coyote-HP-250-G5-Notebook-PC systemd[1]: Starting The Apache HTTP Server...
Mar 12 00:22:40 coyote-HP-250-G5-Notebook-PC apachectl[708196]: /usr/sbin/apache2: symbol lookup error: /usr/sbin/apache2: undefined symbol: apr_crypto_init
Mar 12 00:22:40 coyote-HP-250-G5-Notebook-PC apachectl[708193]: Action 'start' failed.
Mar 12 00:22:40 coyote-HP-250-G5-Notebook-PC apachectl[708193]: The Apache error log may have more information.
Mar 12 00:22:40 coyote-HP-250-G5-Notebook-PC systemd[1]: apache2.service: Control process exited, code=exited, status=127/n/a
Mar 12 00:22:40 coyote-HP-250-G5-Notebook-PC systemd[1]: apache2.service: Failed with result 'exit-code'.
Mar 12 00:22:40 coyote-HP-250-G5-Notebook-PC systemd[1]: Failed to start The Apache HTTP Server.

OK I checked the library linkage and it was linking to my /usr/local/lib/libaprutil-1.so.0 probably when I was practicing configure apache2 on my own back on version 20.04:

$ ldd /usr/sbin/apache2
        linux-vdso.so.1 (0x00007ffc9ad9e000)
        libpcre.so.3 (0x00007f85378f4000)
        libaprutil-1.so.0 => /usr/local/lib/libaprutil-1.so.0 (0x00007f85378c6000)
        libapr-1.so.0 => /usr/local/lib/libapr-1.so.0 (0x00007f8537887000)
        libc.so.6 (0x00007f853765f000)
        libpthread.so.0 (0x00007f8537658000)
        libexpat.so.1 (0x00007f8537627000)
        libcrypt.so.1 (0x00007f85375ed000)
        libuuid.so.1 (0x00007f85375e4000)
        libdl.so.2 (0x00007f85375df000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f8537a26000)


I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.