Hi,<br>Hi have compiled postgis from SVN on a Unix (RedHat ES6 64 bit).<br><br>Now I have some problem in the "make check" phase with the CUnit library.<br><br>When I do the Configure phase the CUnit was correctly find and setting.<br>
And also in the make phase no problem was reported.<br><br>But when <br>try the "make check" <br>it report don't find the CUnit library: as reported here:<br><br>------ from log ----<br>[postgres@artu postgis-svn]$ make check > ris_check.log<br>
cu_surface.c:244: warning: âcheck_tgeomâ defined but not used<br>./cu_tester: error while loading shared libraries: libcunit.so.1: cannot open shared object file: No such file or directory<br>make[2]: *** [check] Error 127<br>
make[1]: *** [check] Error 2<br>make: *** [check] Error 1<br>[postgres@artu postgis-svn]$ more ris_check.log<br>for s in liblwgeom libpgcommon regress postgis loader utils raster topology; do<br>\<br>                echo "---- Making all in ${s}"; \<br>
                make -C ${s} all || exit 1; \<br>        done;<br>---- Making all in liblwgeom<br><br>--- end log ----<br><br>I see the <br>libcunit.so.1<br>was present in the path<br>/usr/local/lib<br>and that path is declared in the /etc/ld.conf.d/..<br>
<br>I guess the "make check" ignore the ld.conf.d settings ?<br><br>So, how is possible to say to the "make check" where find the "libcunit ?<br><br>thx,<br><br>-- <br>-----------------<br>Andrea Peri<br>
. . . . . . . . . <br>qwerty àèìòù<br>-----------------<br><br>