we have DF 2.1 on a centos 6 installed without using the Bitnami image,
the problem we are facing is that whenever we make GET request to a server side script, DF goes down with the below error, but any other requests to any table works fine.
/usr/local/zend/bin/php: symbol lookup error: /usr/local/zend/lib/php_extensions/v8js.so: undefined symbol: _ZNSt6chrono3_V212system_clock3nowEv
which shared library provides the symbol that is failing?
so we can try to inspect.
here’s the script we trying to call: // check for required body var body = event.request.parameters; var required = ["card_serial"]; lodash._.each( required, function( element ) { if (!body.hasOwnProperty(element) || !body[element]) { throw new Error( "Missing '" + element + "' in body\n" ); } });
Finally we fixed it, that was somehow complicated issue …
The v8js version required by dreamfactory requires a version of GCC that is newer than supplied with CentOS by default. So I used the Software Collection (SC) repos to get newer dev tools.
However, these dev tools are too new for the v8js version. That is why this failed.
The workaround was to link older headers for the failing functions but compile them with the newer compilers.