[geos-devel] Gitea 3.10.0dev cmake broken

Roger Bivand Roger.Bivand at nhh.no
Fri May 7 03:55:40 PDT 2021


On Fri, 7 May 2021, Even Rouault wrote:

> Roger,
>>  $ pkg-config geos --libs
>>  -L/usr/local/lib -lgeos_c
>>
>>  which remains curious.
>
> Check if you don't have a /usr/local/lib/pkgconfig/geos.pc file

Yes, of course you are right, thanks! After removing it and with 
/usr/local/lib64/pkgconfig on the path (it was there before, but after 
/usr/local/lib/pkgconfig):

$ pkg-config geos --libs
-lgeos_c
$ pkg-config geos --libs-only-L

$ pkg-config geos --libs-only-l
-lgeos_c
$ pkg-config geos --static --libs
-lgeos_c

which still looks curious.

Roger

>
> and/or set PKG_CONFIG_PATH=/usr/local/lib64/pkgconfig
>
> Even
>
>

-- 
Roger Bivand
Emeritus Professor
Department of Economics, Norwegian School of Economics,
Postboks 3490 Ytre Sandviken, 5045 Bergen, Norway.
e-mail: Roger.Bivand at nhh.no
https://orcid.org/0000-0003-2392-6140
https://scholar.google.no/citations?user=AWeghB0AAAAJ&hl=en


More information about the geos-devel mailing list