Opened 4 years ago
Last modified 4 years ago
#61756 closed defect
Apache php8 module looking for argon2 library in /usr/lib due to wrong rpath — at Version 1
Reported by: | jrcii (John Cornell) | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ||
Port: | argon2 |
Description (last modified by jrcii (John Cornell))
Expected: start apache successfully with mod_php80 in httpd.conf
Observed: apache says that mod_php80 is trying to load @rpath/libargon2.1.dylib
and can't find the image
Steps to reproduce: install apache2, php80, and php80-apache2handler, and try /opt/local/sbin/httpd -k start
Solution: cp /opt/local/lib/libargon2.1.dylib /usr/lib apache starts Someone has to fix the rpath.
I'm reciting these errors, paths, and filenames from memory so sorry if they're a bit off.
Temporary Fix:
sudo install_name_tool -add_rpath /opt/local/lib /opt/local/lib/apache2/modules/mod_php80.so
Change History (1)
comment:1 Changed 4 years ago by jrcii (John Cornell)
Description: | modified (diff) |
---|
Note: See
TracTickets for help on using
tickets.