[MacPorts] #64376: lighttpd @1.4.63_2+ssl: build fails on MacOS 10.15.7, linker complains about for x86_64 undefined symbols

MacPorts noreply at macports.org
Sun Jan 9 15:58:25 UTC 2022


#64376: lighttpd @1.4.63_2+ssl: build fails on MacOS 10.15.7, linker complains
about for x86_64 undefined symbols
-----------------------+------------------------
  Reporter:  Gandoon   |      Owner:  ryandesign
      Type:  defect    |     Status:  closed
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.7.1
Resolution:  fixed     |   Keywords:  catalina
      Port:  lighttpd  |
-----------------------+------------------------

Comment (by Gandoon):

 Replying to [comment:4 ryandesign]:

 . . .

 > and later it links with the unversioned lua library with `-llua`.
 >
 > If I install the lua52 port, then I can get lighttpd to fail to build as
 you did.
 >
 > So we need to tell the build system to use the unversioned lua library,
 since that's the one we're declaring a dependency on.

 Right, that make sense…

 >
 > The reason why the build "worked" when you made the modification you did
 is that you commented out all of the configure arguments, including the
 one that enables lua support. Portfiles are written in the Tcl language,
 and in Tcl a backslash at the end of a line continues that line to the
 next one—even comment lines.

 Ah, I did indeed overlook that (I am not using Tcl very often, so that one
 would be on me)… I will indeed make sure I check so that things work
 correctly knowing this.
 Thank you for the effort.

 I should evidently revisit my lua and make sure it is healthy. It is not
 the first time it has caused me troubles (mpv comes to mind…).

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


More information about the macports-tickets mailing list