[GRASS-user] [GRASS-dev] GRASS 7.8.5 compile errors
Thomas Adams
tea3rd at gmail.com
Thu Aug 12 10:05:03 PDT 2021
Thank you. Even! I'll check my GDAL...
Tom
On Thu, Aug 12, 2021 at 1:03 PM Even Rouault <even.rouault at spatialys.com>
wrote:
> It might be possible that your GDAL build is linking against libgeotiff
> and/or libspatialite built against libproj.so.15
> Le 12/08/2021 à 19:00, Thomas Adams a écrit :
>
> Hi Māris,
>
> Thank you. I did earlier find that I did have two proj libraries, so I
> removed libproj.so.15. I also ran sudo ldconfig. I also tried removing from
> my config anything that I had not explicitly compiled from source against
> proj that I compiled, giving:
>
> CFLAGS="-O2 -Wall" LDFLAGS="-s" ./configure \
> --enable-64bit \
> --with-cxx \
> --enable-largefile=yes \
> --with-nls \
> --with-readline \
> --with-pthread \
> --with-gdal=/usr/local/bin/gdal-config \
> --with-proj --with-proj-share=/usr/local/share/proj \
> --with-proj-includes=/usr/local/include \
> --with-proj-libs=/usr/local/lib \
> --with-geos=/usr/local/bin/geos-config \
> --with-wxwidgets=/usr/local/bin/wx-config \
> --with-cairo \
> --with-opengl-libs=/usr/include/GL \
> --with-freetype=yes \
> --with-freetype-includes=/usr/include/freetype2/ \
> --with-postgres=yes \
> --with-postgres-includes=/usr/local/include \
> --with-sqlite=yes \
> --with-mysql=yes \
> --with-mysql-includes=/usr/include/mysql \
> --with-odbc=no \
> --with-netcdf=/usr/local/bin/nc-config \
> --with-zstd \
> --with-zstd-includes=/usr/local/include \
> --with-zstd-libs=/usr/local/lib
>
> Still I get the errors and when I run ldd, I get...
>
> teaiii at tea-Leopard-WS:~/grass-7.8.5$ ldd
> /home/teaiii/grass-7.8.5/dist.x86_64-pc-linux-gnu/lib/libgrass_gproj.so |
> grep proj
> libproj.so.19 => /usr/local/lib/libproj.so.19 (0x00007fb0030a1000)
> libproj.so.15 => not found
> libproj.so.15 => not found
> libproj.so.15 => not found
>
> It's a mystery where libproj.so.15 references are coming from. I have
> never had this kind of problem before.
>
> Tom
>
> On Thu, Aug 12, 2021 at 12:39 PM Maris Nartiss <maris.gis at gmail.com>
> wrote:
>
>> Hello Thomas,
>> I gave you a wrong path. Try this one:
>> ldd
>> /home/teaiii/grass-7.8.5/dist.x86_64-pc-linux-gnu/lib/libgrass_gproj.so
>>
>> The problem still boils down to having different incompatible system
>> libraries during compilation and runtime. You can also search for
>> libproj.so files in /usr/lib(64) or just dpkg -l | grep proj and if
>> you see multiple proj versions, remove one.
>>
>> Māris.
>>
>> 2021-08-12 13:11 GMT+03:00, Thomas Adams <tea3rd at gmail.com>:
>> > Hi Māris,
>> >
>> > When I run the command ldd
>> /home/teaiii/grass-7.8.5/lib/libgrass_gproj.so |
>> > grep proj , I get:
>> >
>> > ldd: /home/teaiii/grass-7.8.5/lib/libgrass_gproj.so: No such file or
>> > directory
>> >
>> > There is no libgrass_gproj.so file in /home/teaiii/grass-7.8.5/lib/l in
>> > fact just subdirectories along with Makefile and README
>> >
>> > Tom
>> >
>>
>
>
> --
> Thomas E Adams, III
> 207 Chowning Place
> Blacksburg, VA 24060
> tea3rd at gmail.com (personal)
> tea at terrapredictions.org (work)
>
> 1 (513) 739-9512 (cell)
>
>
> _______________________________________________
> grass-dev mailing listgrass-dev at lists.osgeo.orghttps://lists.osgeo.org/mailman/listinfo/grass-dev
>
> -- http://www.spatialys.com
> My software is free, but my time generally not.
>
>
--
Thomas E Adams, III
207 Chowning Place
Blacksburg, VA 24060
tea3rd at gmail.com (personal)
tea at terrapredictions.org (work)
1 (513) 739-9512 (cell)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20210812/f973e0be/attachment-0001.html>
More information about the grass-user
mailing list