[GRASS-dev] Errors compiling main on Ubuntu 22.04

Luí­s Moreira de Sousa luis.de.sousa at protonmail.ch
Mon Jul 29 02:25:38 PDT 2024


Dear all,

this morning compiling the main branch I am getting a couple errors:

GRASS GIS 8.5.0dev 4014208b4 compilation log
--------------------------------------------------
Started compilation: ma 29 jul 2024 10:11:18 WEST
--
Errors in:
/home/lads/git/grass/vector/v.profile
/home/lads/git/grass/vector/v.select
--
In case of errors please change into the directory with error and run 'make'.
If you get multiple errors, you need to deal with them in the order they
appear in the error log. If you get an error building a library, you will
also get errors from anything which uses the library.
--
Finished compilation: ma 29 jul 2024 10:15:45 WEST
make: *** [Makefile:71: default] Error 1

I proceeded as instructed:

$ cd /home/lads/git/grass/vector/v.profile
$ make
: && gcc -L/home/lads/git/grass/dist.x86_64-pc-linux-gnu/lib -L/home/lads/git/grass/dist.x86_64-pc-linux-gnu/lib -Wl,--export-dynamic -Wl,-rpath-link,/home/lads/git/grass/dist.x86_64-pc-linux-gnu/lib -Wl,-rpath,/usr/local/grass85/lib -o /home/lads/git/grass/dist.x86_64-pc-linux-gnu/bin/v.profile OBJ.x86_64-pc-linux-gnu/main.o OBJ.x86_64-pc-linux-gnu/processors.o -lgrass_vector.8.5 -lgrass_dbmiclient.8.5 -lgrass_dbmibase.8.5 -lgrass_gis.8.5 -lm
/usr/bin/ld: OBJ.x86_64-pc-linux-gnu/main.o: undefined reference to symbol 'GEOSBufferParams_create'
/usr/bin/ld: /lib/x86_64-linux-gnu/libgeos_c.so.1: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make: *** [../../include/Make/Module.make:18: /home/lads/git/grass/dist.x86_64-pc-linux-gnu/bin/v.profile] Error 1

This discussion at StackOverflow [0] indicates arguments missing to gcc. Compiling v.select returns the same error message.

Could this be something missing from my config? Or is it a real issue that should be reported?

Thank you.
[0] https://stackoverflow.com/questions/19901934/libpthread-so-0-error-adding-symbols-dso-missing-from-command-line

--
Luís Moreira de Sousa
Mastodon: https://mastodon.social/@luis_de_sousa
URL: https://ldesousa.codeberg.page

Sent with [Proton Mail](https://proton.me/) secure email.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20240729/36d2b078/attachment.htm>


More information about the grass-dev mailing list