| Ticket Hash: | b70cf07009643b0a0192935774de1da2f77b90e6 | |||
| Title: | tests are linked against system-installed library | |||
| Status: | Closed | Type: | Build_Problem | |
| Severity: | Critical | Priority: | Immediate | |
| Subsystem: | Resolution: | Not_A_Bug | ||
| Last Modified: | 2017-06-02 14:49:29 | |||
| Version Found In: | ||||
| User Comments: | ||||
strk added on 2016-09-06 10:26:36:
The tests under test/ are linked against a system installed libspatialite, so they fail to test the just-built code, testing instead some arbitrarily old spatialite version. An example result of that, on "make check": /usr/bin/ld: warning: librttopo.so.0, needed by /usr/local/lib/libspatialite.so, not found (try using -rpath or -rpath-link) check_sequence.o: In function `test_capi': /usr/src/spatialite/libspatialite/test/check_sequence.c:291: undefined reference to `gaiaCreateSequence' sandro added on 2017-06-02 14:49:29: successfully running the test coverage depends on libtool. if libtool is correctly installed then the locally built shared library will be called, not the system-wide installed one. AFAIK the problem seems to be strictly related to Debian and Debian-like systems, but after installing the "libtool-bin" system package anything runs as expected. | ||||