Gustaf,
I've installed rl_json and called it into NS environment, as in:
package require rl_json
Then, it returned errors related to librl_json0.9.11.so
Error: couldn't load file "/usr/local/ns/lib/rl_json0.9.11/librl_json0.9.11.so": /usr/local/ns/lib/rl_json0.9.11/librl_json0.9.11.so: undefined
It seems TCL 8.6 is required to run rl_json. However, I installed Naviserver using install-ns scripts (from your GIT repository), and the script installs TCL 8.5.19 from tarball.
Now, I need to remove TCL 8.5.19 manually, and then install TCL8.6, using apt-get this time :)
Will I run into problems with NS, removing TCL 8.5.19 and installing TCL 8.6? I believe NS won't be aware of TCL installation.
If so, I wonder if I could just amend install-ns script, replacing TCL 8.5.19 with TCL 8.6, then I'd simply run install-ns again, overwriting everything. And "Voià!"
What do you think?
Best wishes
[08/Mar/2018:08:00:27][1877.7f92267af700][-conn:evex:0-] Notice: ignore non-existing or untrusted host header, fall back to
[08/Mar/2018:08:00:27][1877.7f92267af700][-conn:evex:0-] Error: couldn't load file "/usr/local/ns/lib/rl_json0.9.11/librl_json0.9.11.so": /usr/local/ns/lib/rl_json0.9.11/librl_json0.9.11.so: undefined symbol: Tcl_NREvalObj
while executing
"load /usr/local/ns/lib/rl_json0.9.11/librl_json0.9.11.so rl_json"
("package ifneeded rl_json 0.9.11" script)
invoked from within
"package require rl_json "
("uplevel" body line 44)
invoked from within
"uplevel {
ad_page_contract {
} {
{token}
{content_type}
{item_type ""}
{event_types ""}
{location ""}
{neighbourhoods ""}..."
(procedure "code::tcl::/var/www/evex/packages/evex-rest/www/itemsListReq..." line 2)
invoked from within
"code::tcl::$__adp_stub"
("uplevel" body line 12)
invoked from within
"uplevel {
if { [file exists $__adp_stub.tcl] } {
# ensure that data source preparation procedure exists and is up-to-date
..."
(procedure "adp_prepare" line 2)
invoked from within
"adp_prepare"
invoked from within
"template::adp_parse [file rootname [ad_conn file]] {}"
(procedure "adp_parse_ad_conn_file" line 6)
invoked from within
"$handler"
("uplevel" body line 2)
invoked from within
"uplevel $code"
invoked from within