Bug 61333 - undefined symbol: apr_siphash48_auth
Summary: undefined symbol: apr_siphash48_auth
Status: NEEDINFO
Alias: None
Product: APR
Classification: Unclassified
Component: APR (show other bugs)
Version: HEAD
Hardware: PC Linux
: P2 normal (vote)
Target Milestone: ---
Assignee: Apache Portable Runtime bugs mailinglist
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-07-24 16:39 UTC by James
Modified: 2017-07-24 21:57 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description James 2017-07-24 16:39:32 UTC
after downloading and installing apache2, it complained about APR so I downloaded and installed it (/usr/local/apr) so I tried the recompile of apache2 and then it complained about apr-utils  so I downloaded it and installed it.  went back to apache2 and it compiled fine and I installed it /usr/local/apache2. everything went fine till I /usr/local/apache2/bin/apachectl start then I get 
/usr/local/apache2/bin/httpd: symbol lookup error: /usr/local/apache2/bin/httpd: undefined symbol: apr_siphash48_auth

where did I go wrong?  how do I get past this... Ive checked the FAQ, bug reports etc and am at a loss... Ive looked at log files with nothing, Ive looked through the config files and still nothing.

Please help
James
Comment 1 Yann Ylavic 2017-07-24 21:57:15 UTC
Looks like your httpd is still linked against an "old" APR (1.5.x) at runtime.

What does:
  $ ldd /usr/local/apache2/bin/httpd
shows?

You may need to start httpd with "LD_LIBRARY_PATH=/path/to/new/apr/lib", such that the new libs take precedence over the system ones at startup, i.e.:
  $ LD_LIBRARY_PATH=/path/to/new/apr/lib ldd /usr/local/apache2/bin/httpd
should be better.

Or maybe also, build httpd with something like:
  ./configure "LDFLAGS=-Wl,-rpath,/path/to/new/apr/lib" ...
so that it's fixed at compile time.