<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div>Hi,</div><div><br></div><div>This error was seen earlier in the year but it seems it was never resolved. Now i'm experiencing it on "Amazon Linux AMI release 2012.03" and I'm stumped so far.</div><div><br></div><div>"make install" succeeds yet:</div><div><br></div><div><div><blockquote style="margin: 0px 0px 0px 40px; border: none; padding: 0px; "><font face="Courier New">$ psql -d yourdatabase -f postgis.sql</font></blockquote></div><blockquote style="margin: 0px 0px 0px 40px; border: none; padding: 0px; ">...</blockquote><div><blockquote style="margin: 0px 0px 0px 40px; border: none; padding: 0px; "><font face="Courier New">psql:postgis.sql:47: ERROR:  could not load library "/usr/lib64/pgsql/postgis-2.0.so": /usr/lib64/pgsql/postgis-2.0.so: undefined symbol: json_tokener_errors</font></blockquote></div></div><div><font face="Courier New"><br></font></div><div>Additionally, "make check" results in the same:</div><div><br></div></div><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;"><div><div><font face="Courier New">$ cat /tmp/pgis_reg/regress_log </font></div></div><div><div><font face="Courier New">SET</font></div></div><div><div><font face="Courier New">BEGIN</font></div></div><div><div><font face="Courier New">psql:/home/ec2-user/postgis-2.0.1/regress/00-regress-install/share/contrib/postgis/postgis.sql:47: ERROR:  could not load library "/home/ec2-user/postgis-2.0.1/regress/00-regress-install/lib/postgis-2.0.so": /home/ec2-user/postgis-2.0.1/regress/00-regress-install/lib/postgis-2.0.so: undefined symbol: json_tokener_errors</font></div></div></blockquote><div><blockquote style="margin: 0px 0px 0px 40px; border: none; padding: 0px; "><br></blockquote></div><div><div>I'm building on a free, Micro Amazon Linux EC2 instance and it should be reproducible using this Gist (it takes several hours to build everything on a Micro instance):</div><blockquote style="margin: 0px 0px 0px 40px; border: none; padding: 0px; "><a href="https://gist.github.com/3824423">https://gist.github.com/3824423</a></blockquote><div><br></div><blockquote style="margin: 0px 0px 0px 40px; border: none; padding: 0px; "></blockquote></div><div>I have the "./configure", "make", and "make check" output in this Gist:</div><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;"><div><a href="https://gist.github.com/3824387">https://gist.github.com/3824387</a></div></blockquote><div><br></div><div>I also have a test file to verify that linking against libjson-c does indeed work:</div><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;"><div><a href="https://gist.github.com/3824400">https://gist.github.com/3824400</a></div></blockquote><div><br></div><div>Does this imply something still misconfigured for this distribution or my environment causing the build's configure or link commands to generate incomplete/incorrect statements?</div><div><br></div><div><br></div><div>Lastly, some useful configuration info:</div><div><br></div><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;"><div><div><font face="Courier New">$ cat /etc/ld.so.conf</font></div></div><div><div><font face="Courier New">include ld.so.conf.d/*.conf</font></div></div><div><div><font face="Courier New">/usr/local/lib</font></div></div><div><div><font face="Courier New"><br></font></div></div><div><div><font face="Courier New">$ ldconfig -p | grep json</font></div></div><div><div><font face="Courier New">        libjson.so.0 (libc6,x86-64) => /usr/local/lib/libjson.so.0</font></div></div><div><div><font face="Courier New">        libjson.so (libc6,x86-64) => /usr/local/lib/libjson.so</font></div></div><div><div><font face="Courier New">        libjson-c.so.2 (libc6,x86-64) => /usr/local/lib/libjson-c.so.2</font></div></div><div><div><font face="Courier New">        libjson-c.so (libc6,x86-64) => /usr/local/lib/libjson-c.so</font></div></div></blockquote><div><br></div><div>It'll be much appreciated if someone can help me resolve this.</div><div>Thanks,</div><div>Robert</div></body></html>