luadbi does not build in Poudriere. It gives me a linker error that points to -lsqlite3.
The Lua version I use is 5.1. Poudriere tries to build lua51-luadbi-0.6.
Which version (and arch) of FreeBSD do you use?
Did you try the latest version of sqlite3?
it is FreeBSD-11.1-p4 on amd64.
The build is in Poudriere. It should install the most recent databases/sqlite3 port transparently as dependency for me, even without me asking for it explicitly. For some reason, it does not.
the port does not compile with portmaster, either, by the way. But I managed to compile lua51-luadbi with SQLite3 by adding -L/usr/local/lib before -lsqlite3 in the Makefile.
I hope it helps.
Created attachment 189921 [details]
Here you can see the build error with SQLIT3=on:
A possible fix is to add USES=localbase:ldflags to the SQLITE3_USES list.
Tried the patch and it does fix it. Currently still broken in ports without this patch
A commit references this bug:
Date: Thu Feb 7 09:59:43 UTC 2019
New revision: 492355
Fixed linker error if option sqlite3 is enable.
Submitted by: tcberner
Reported by: email@example.com