Open miaojianxin opened 6 years ago
It sounds like you didn't compile against the correct version of yajl. You need to use my (git@github.com:nkhorman/yajl.git) forked version instead, as the up line project has not accepted my pull-request for enhancements that I've made.
thank you, I have checked once more, the yajl i used is this:https://github.com/nkhorman/yajl.git git clone https://github.com/nkhorman/yajl.git is it right? the error is like this: ERROR: could not load library "/opt/pg10/lib/postgresql/json_fdw.so": /opt/pg10/lib/postgresql/json_fdw.so: undefined symbol: yajl_tree_parse_file
in head file, i can find this function, compile is ok, but error got when create extension. the file /etc/ld.so.conf has the lib path.
make,make install all ok the lib path has been add to /etc/ld.conf file and execute ldconfig, but error like this got when create extension json_fdw. undefined symbol ytp_GetPath find, how to do with it? thank you, may it a env problem?