Hi, 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. -- Martin
hi Which version (and arch) of FreeBSD do you use? Did you try the latest version of sqlite3?
Hi, 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. -- Martin
Hi, 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. -- Martin
Created attachment 189921 [details] v1 Hi there Here you can see the build error with SQLIT3=on: https://people.freebsd.org/~tcberner/logs/lua52-luadbi-0.6.log A possible fix is to add USES=localbase:ldflags to the SQLITE3_USES list. mfg Tobias
Tried the patch and it does fix it. Currently still broken in ports without this patch
A commit references this bug: Author: mfechner Date: Thu Feb 7 09:59:43 UTC 2019 New revision: 492355 URL: https://svnweb.freebsd.org/changeset/ports/492355 Log: Fixed linker error if option sqlite3 is enable. PR: 224224 Submitted by: tcberner Reported by: martin@sugioarto.com Changes: head/databases/luadbi/Makefile
Committed thanks!