[geos-devel] Gitea 3.10.0dev cmake broken

Roger Bivand Roger.Bivand at nhh.no
Fri May 7 04:10:50 PDT 2021

On Fri, 7 May 2021, Even Rouault wrote:

>>  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.
> I couldn't find the documentation for that, but I suspect that it strips 
> paths that are one of the default linking paths (perhaps related to the ones 
> of /etc/ld.conf.d/*)
> If you manually edit the geos.pc file to modify the -L to be something non 
> standard, you should see the -L reappearing

Edited to libdir=${exec_prefix}/lib32:

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

so this looks like the smoking gun. So both geos.pc and geos-config are 
most likely now OK, but I haven't tested geos.pc in a dependency 



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

More information about the geos-devel mailing list