Running FreeBSD 11 current (either official image or a slightly newer that I compiled yesterday) on a Raspberry Pi 2: `pkg install security/luasec` says itβs installed. I can build and install Prosody just fine, but get this error when I try to run it: Prosody was unable to find LuaSec This package can be obtained in the following ways: Source: http://www.inf.puc-rio.br/~brunoos/luasec/ Debian/Ubuntu: http://prosody.im/download/start#debian_and_ubuntu luarocks: luarocks install luasec SSL/TLS support will not be available More help can be found on our website, at http://prosody.im/doc/depends Possibly related to bug #207130.
The patch suggested in bug #207130 had no effect on this issue.
Created attachment 166905 [details] use CC for linking The problem is in security/luasec and the root cause is the same: direct use of LD: https://github.com/brunoos/luasec/blob/master/src/Makefile#L52 The attached patch against security/luasec should fix the problem. lx@ do you want me to open a PR for luasec?
No need, I'll go ahead and apply to luasec. Thanks!
A commit references this bug: Author: lx Date: Tue May 17 22:15:32 UTC 2016 New revision: 415419 URL: https://svnweb.freebsd.org/changeset/ports/415419 Log: Don't use ld directly. PR: 207131 Submitted by: mikael.urankar@gmail.com Reported by: Daniel <code@daniel.priv.no> Changes: head/security/luasec/Makefile
Committed, thanks!