[GRASS-dev] Errors compiling main on Ubuntu 22.04
Luís Moreira de Sousa
luis.de.sousa at protonmail.ch
Mon Jul 29 02:58:07 PDT 2024
Salut Edouard,
thank you for the swift reply. Indeed that sorted things out.
Best.
--
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.
On Monday, July 29th, 2024 at 10:41 AM, Edouard Choinière <e.chs at outlook.com> wrote:
> Could you try cleaning with « make libsclean clean distclean » beforehand? (The libsclean is the part I want you to try)
>
> Edouard Choinière
>
>> Le 29 juill. 2024 à 05:35, Luís Moreira de Sousa via grass-dev <grass-dev at lists.osgeo.org> a écrit :
>
>>
>> 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. _______________________________________________
>> grass-dev mailing list
>> grass-dev at lists.osgeo.org
>> https://lists.osgeo.org/mailman/listinfo/grass-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20240729/464482e8/attachment-0001.htm>
More information about the grass-dev
mailing list