Summary: | www/apache24: mod_ssl.so: Can't locate structure ssl_module | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | theis |
Component: | Individual Port(s) | Assignee: | freebsd-apache (Nobody) <apache> |
Status: | Closed Not A Bug | ||
Severity: | Affects Only Me | CC: | ohauer |
Priority: | --- | Flags: | bugzilla:
maintainer-feedback?
(apache) |
Version: | Latest | ||
Hardware: | Any | ||
OS: | Any |
Description
theis
2019-01-24 08:31:03 UTC
2 Updates: I went back to 2.4.35 but same problem. So it looks it is not something with the port itself but build infrastructure, ... I did "nm mod_ssl.so" and it shows a line 0000000000035020 d ssl_module as if the symbol is there, but not exported. On the other hand, "nm mod_session.so" shows a line 0000000000004018 D session_module Another update: In the build log I found some suspicious lines: eval: /usr/local/bin/nm: not found They appear for some modules only, one of them my mod_ssl. I checked mod_https, which I don't enable, and that was also missing the symbol http2_module. After I copied /usr/bin/nm to /usr/local/bin/nm the build was OK and I could use mod_ssl again. So: why does the build look for nm in /usr/local/bin and not /usr/bin? And what does it need nm for? And why won't it export the symbols if nm is missing? It is possible your devel/apr was build while nm was installed as package apache includes some files from the apr package during the build, and if nm, grep, or other tools where installed during apr build the location is recorded in the files located in /usr/local/share/apr/build-1/. Change the path there (e.g. in /usr/local/share/apr/build-1/libtool) should fix your issue. YES! I reinstalled devel/apr1 and now the build was OK. It looks like nm was installed from devel/binutils, but with the upgrade to 12.0 I cleaned up the ports which where no longer required. |