[MacPorts] #61756: Apache php8 module looking for argon2 library in /usr/lib due to wrong rpath

MacPorts noreply at macports.org
Sun Dec 6 00:09:49 UTC 2020


#61756: Apache php8 module looking for argon2 library in /usr/lib due to wrong
rpath
-----------------------------------+-------------------------------
  Reporter:  jrcii                 |      Owner:  (none)
      Type:  defect                |     Status:  new
  Priority:  Normal                |  Milestone:
 Component:  ports                 |    Version:
Resolution:                        |   Keywords:  php apache2 httpd
      Port:  php80-apache2handler  |
-----------------------------------+-------------------------------
Description changed by jrcii:

Old description:

> 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`

New description:

 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`


 Temporary Fix:
 `sudo install_name_tool -add_rpath /opt/local/lib
 /opt/local/lib/apache2/modules/mod_php80.so`

 I'm reciting these errors, paths, and filenames from memory so sorry if
 they're a bit off.

--

-- 
Ticket URL: <https://trac.macports.org/ticket/61756#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list