Note that there are some explanatory texts on larger screens.

plurals
  1. POhow do I build postgis2.1, make check failing
    primarykey
    data
    text
    <p>I downloaded postgis-2.1.0SVN, autogen, configured and make, but 'make check' fails and the logs end with</p> <blockquote> <p>psql:/home/admin/postgis-2.1.0SVN/regress/00-regress-install/share/contrib/postgis/postgis.sql:47: ERROR: could not load library "/home/admin/postgis-2.1.0SVN/regress/00-regress-install/lib/postgis-2.1.so": /home/admin/postgis-2.1.0SVN/regress/00-regress-install/lib/postgis-2.1.so: undefined symbol: json_tokener_errors</p> </blockquote> <p>I ran ldd on postgis-2.1.so and got</p> <pre><code>linux-vdso.so.1 =&gt; (0x00007fff055ff000) libgeos_c.so.1 =&gt; /usr/local/lib/libgeos_c.so.1 (0x00007ffcc79fd000) libproj.so.0 =&gt; /usr/lib/libproj.so.0 (0x00007ffcc77ac000) libxml2.so.2 =&gt; /usr/lib/x86_64-linux-gnu/libxml2.so.2 (0x00007ffcc7450000) libc.so.6 =&gt; /lib/x86_64-linux-gnu/libc.so.6 (0x00007ffcc7091000) libgeos-3.3.6.so =&gt; /usr/local/lib/libgeos-3.3.6.so (0x00007ffcc6d08000) libstdc++.so.6 =&gt; /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007ffcc6a07000) libgcc_s.so.1 =&gt; /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007ffcc67f1000) libm.so.6 =&gt; /lib/x86_64-linux-gnu/libm.so.6 (0x00007ffcc64f5000) libdl.so.2 =&gt; /lib/x86_64-linux-gnu/libdl.so.2 (0x00007ffcc62f0000) libz.so.1 =&gt; /lib/x86_64-linux-gnu/libz.so.1 (0x00007ffcc60d9000) /lib64/ld-linux-x86-64.so.2 (0x00007ffcc7ecb000 </code></pre> <p>I have json-c built and installed from the github project</p> <p>the ./configure response ended with:</p> <pre><code> PostGIS is now configured for x86_64-unknown-linux-gnu -------------- Compiler Info ------------- C compiler: gcc -g -O2 C++ compiler: g++ -g -O2 SQL preprocessor: /usr/bin/cpp -traditional-cpp -P -------------- Dependencies -------------- GEOS config: /usr/local/bin/geos-config GEOS version: 3.3.6 PostgreSQL config: /usr/bin/pg_config PostgreSQL version: PostgreSQL 9.1.6 PROJ4 version: 48 Libxml2 config: /usr/bin/xml2-config Libxml2 version: 2.7.8 JSON-C support: yes PostGIS debug level: 0 Perl: /usr/bin/perl --------------- Extensions --------------- PostGIS Raster: disabled PostGIS Topology: enabled </code></pre> <p>but I am suspicious of this last line from the configure output:</p> <pre><code>checking json/json.h usability... yes checking json/json.h presence... yes checking for json/json.h... yes checking for json_object_get in -ljson... no </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload