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.biv...@nhh.no
https://orcid.org/0000-0003-2392-6140
https://scholar.google.no/citations?user=AWeghB0AAAAJ&hl=en
_______________________________________________
geos-devel mailing list
geos-devel@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/geos-devel

Reply via email to