I'm building netxms with PostgreSQL support but get the following error, looks like the sqlite library's are hardcoded somewhere. ------------- ===> Installing for netxms-2.0.7 ===> netxms-2.0.7 depends on file: /usr/local/lib/libcrypto.so.9 - found ===> netxms-2.0.7 depends on package: perl5>=5.26<5.27 - found ===> netxms-2.0.7 depends on shared library: libcurl.so - found (/usr/local/lib/libcurl.so) ===> netxms-2.0.7 depends on shared library: libexpat.so - found (/usr/local/lib/libexpat.so) ===> netxms-2.0.7 depends on shared library: libjansson.so - found (/usr/local/lib/libjansson.so) ===> netxms-2.0.7 depends on shared library: libtre.so - found (/usr/local/lib/libtre.so) ===> netxms-2.0.7 depends on shared library: libpq.so.5 - found (/usr/local/lib/libpq.so.5) ===> Checking if netxms already installed ===> Registering installation for netxms-2.0.7 pkg-static: Unable to access file /usr/ports/net-mgmt/netxms/work/stage/usr/local/lib/libnxsqlite.so:No such file or di rectory pkg-static: Unable to access file /usr/ports/net-mgmt/netxms/work/stage/usr/local/lib/libnxsqlite.so.2:No such file or directory pkg-static: Unable to access file /usr/ports/net-mgmt/netxms/work/stage/usr/local/lib/libnxsqlite.so.2.0.0:No such file or directory *** Error code 74 Stop. make[1]: stopped in /usr/ports/net-mgmt/netxms *** Error code 1 Stop. make: stopped in /usr/ports/net-mgmt/netxms ---------- silly work around from my end : touch /usr/ports/net-mgmt/netxms/work/stage/usr/local/lib/libnxsqlite.so touch /usr/ports/net-mgmt/netxms/work/stage/usr/local/lib/libnxsqlite.so.2 touch /usr/ports/net-mgmt/netxms/work/stage/usr/local/lib/libnxsqlite.so.2.0.0 make install rm /usr/local/lib/libnxsqlite.so*
Can you please tell me which FreeBSD version ?
My version is FreeBSD 11.0-RELEASE-p1 #0 r306420
A commit references this bug: Author: bofh Date: Wed Jan 10 18:03:26 UTC 2018 New revision: 458668 URL: https://svnweb.freebsd.org/changeset/ports/458668 Log: net-mgmt/netxms: Update version 2.0.7=>2.2.2 - Update MASTERSITES - Remove options SQLITE as it is default now [1] - Add option SSH PR: 220204 [1] Submitted by: peter@icebear.net [1] Changes: head/net-mgmt/netxms/Makefile head/net-mgmt/netxms/distinfo head/net-mgmt/netxms/pkg-plist