Re: GDAL Code Dump

2020-09-12 Thread George N. White III
On Fri, 11 Sep 2020 at 21:05, Clifford Snow  wrote:

> I have two libgdal
> /usr/gdal30/lib/libgdal.so.26 -> libgdal.so.26.0.4
> /usr/lib64/libgdal.so.26.0.4
>
> Removing the gdal30 version solved the problem. Interesting - I grep gdal
> from dnf list installed and gdal30 never showed up.
>

Maybe related to postgis:

https://gis.stackexchange.com/questions/349039/cannot-create-extension-postgis-raster-on-centos-7-6

Linux is starting to suffer from the Windows disease where apps install a
version of gdal configured with some feature that the distro left out.
I use software from the European Space Agency that installs private
versions of gdal2 and gdal3. It may be that /usr/gdal30 was meant to be
$APPDIR/usr/gdal30 but $APPDIR was lost.

Windows is much worse because the first dynamic library that gets loaded
will be used by other apps.  Windows GIS users may have more than
6 different gdal installations, so depending on which app was used first
different things break.

You should check /etc/ld.so.conf and the referenced files for undesirable
changes.


>
> Thank you very much.
>

Glad I could help.  I fear this sort of issue is becoming all too common on
linux.


-- 
 George N. White III
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: GDAL Code Dump

2020-09-11 Thread Samuel Sieb

On 9/11/20 5:05 PM, Clifford Snow wrote:

I have two libgdal
/usr/gdal30/lib/libgdal.so.26 -> libgdal.so.26.0.4
/usr/lib64/libgdal.so.26.0.4

Removing the gdal30 version solved the problem. Interesting - I grep 
gdal from dnf list installed and gdal30 never showed up.


If that's where it was, it wasn't installed with dnf or it came from 
some other third party source..

___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: GDAL Code Dump

2020-09-11 Thread Clifford Snow
I have two libgdal
/usr/gdal30/lib/libgdal.so.26 -> libgdal.so.26.0.4
/usr/lib64/libgdal.so.26.0.4

Removing the gdal30 version solved the problem. Interesting - I grep gdal
from dnf list installed and gdal30 never showed up.

Thank you very much.

Clifford


On Fri, Sep 11, 2020 at 4:45 PM George N. White III 
wrote:

> On Fri, 11 Sep 2020 at 19:16, Clifford Snow 
> wrote:
>
>> I'm getting a core dump using any of the gdal utilities on F32. For
>> example running orginfo --help returns
>>
>> Usage: ogrinfo [--help-general] [-ro] [-q] [-where
>> restricted_where|@filename]
>>[-spat xmin ymin xmax ymax] [-geomfield field] [-fid fid]
>>[-sql statement|@filename] [-dialect sql_dialect] [-al]
>> [-rl] [-so] [-fields={YES/NO}]
>>[-geom={YES/NO/SUMMARY}] [[-oo NAME=VALUE] ...]
>>[-nomd] [-listmdd] [-mdd domain|`all`]*
>>[-nocount] [-noextent] [-wkt_format WKT1|WKT2|...]
>>datasource_name [layer [layer ...]]
>> free(): invalid pointer
>> Aborted (core dumped)
>>
>
> I can't reproduce this. I have:
>
>  % sudo dnf info gdal
> Last metadata expiration check: 2:23:09 ago on Fri 11 Sep 2020 05:45:35 PM.
> Installed Packages
> Name : gdal
> Version  : 3.0.4
> Release  : 2.fc32
> Architecture : x86_64
> Size : 768 k
> Source   : gdal-3.0.4-2.fc32.src.rpm
> Repository   : @System
> From repo: fedora
> Summary  : GIS file format library
> URL  : http://www.gdal.org
> License  : MIT
> Description  : Geospatial Data Abstraction Library (GDAL/OGR) is a cross
> platform
>  : C++ translator library for raster and vector geospatial
> data formats.
>  : As a library, it presents a single abstract data model to
> the calling
>  : application for all supported formats. It also comes with a
> variety of
>  : useful commandline utilities for data translation and
> processing.
>  :
>  : It provides the primary data access engine for many
> applications.
>  : GDAL/OGR is the most widely used geospatial data access
> library.
>>
>>
>> I tried reinstalling all components but still have the same problem.
>> Bugzilla doesn't show any open bugs. Is anyone else experiencing problems
>> with GDAL?
>>
>
> I installed GDAL 3.1.0dev-ecdba6e855, released 2020/01/08, from source on
> Fedora 31 to /usr/local, then recently upgraded to Fedora 32, which added
> gdal-3.0.4, but after upgrading to Fedora 32, I was getting:
>
>  % ldd /usr/bin/ogrinfo | grep libgdal
> libgdal.so.26 => /usr/local/lib/libgdal.so.26 (0x7fde1863b000)
>
> Do you have some older libgdal hanging around?
>
> --
> George N. White III
>
> ___
> users mailing list -- users@lists.fedoraproject.org
> To unsubscribe send an email to users-le...@lists.fedoraproject.org
> Fedora Code of Conduct:
> https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives:
> https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
>


-- 
@osm_washington
www.snowandsnow.us
OpenStreetMap: Maps with a human touch
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: GDAL Code Dump

2020-09-11 Thread George N. White III
On Fri, 11 Sep 2020 at 19:16, Clifford Snow  wrote:

> I'm getting a core dump using any of the gdal utilities on F32. For
> example running orginfo --help returns
>
> Usage: ogrinfo [--help-general] [-ro] [-q] [-where
> restricted_where|@filename]
>[-spat xmin ymin xmax ymax] [-geomfield field] [-fid fid]
>[-sql statement|@filename] [-dialect sql_dialect] [-al]
> [-rl] [-so] [-fields={YES/NO}]
>[-geom={YES/NO/SUMMARY}] [[-oo NAME=VALUE] ...]
>[-nomd] [-listmdd] [-mdd domain|`all`]*
>[-nocount] [-noextent] [-wkt_format WKT1|WKT2|...]
>datasource_name [layer [layer ...]]
> free(): invalid pointer
> Aborted (core dumped)
>

I can't reproduce this. I have:

 % sudo dnf info gdal
Last metadata expiration check: 2:23:09 ago on Fri 11 Sep 2020 05:45:35 PM.
Installed Packages
Name : gdal
Version  : 3.0.4
Release  : 2.fc32
Architecture : x86_64
Size : 768 k
Source   : gdal-3.0.4-2.fc32.src.rpm
Repository   : @System
>From repo: fedora
Summary  : GIS file format library
URL  : http://www.gdal.org
License  : MIT
Description  : Geospatial Data Abstraction Library (GDAL/OGR) is a cross
platform
 : C++ translator library for raster and vector geospatial data
formats.
 : As a library, it presents a single abstract data model to
the calling
 : application for all supported formats. It also comes with a
variety of
 : useful commandline utilities for data translation and
processing.
 :
 : It provides the primary data access engine for many
applications.
 : GDAL/OGR is the most widely used geospatial data access
library.
>
>
> I tried reinstalling all components but still have the same problem.
> Bugzilla doesn't show any open bugs. Is anyone else experiencing problems
> with GDAL?
>

I installed GDAL 3.1.0dev-ecdba6e855, released 2020/01/08, from source on
Fedora 31 to /usr/local, then recently upgraded to Fedora 32, which added
gdal-3.0.4, but after upgrading to Fedora 32, I was getting:

 % ldd /usr/bin/ogrinfo | grep libgdal
libgdal.so.26 => /usr/local/lib/libgdal.so.26 (0x7fde1863b000)

Do you have some older libgdal hanging around?

-- 
George N. White III
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: GDAL Code Dump

2020-09-11 Thread Ed Greshko
On 2020-09-12 06:15, Clifford Snow wrote:
> I'm getting a core dump using any of the gdal utilities on F32. For example 
> running orginfo --help returns
>
> Usage: ogrinfo [--help-general] [-ro] [-q] [-where restricted_where|@filename]
>                [-spat xmin ymin xmax ymax] [-geomfield field] [-fid fid]
>                [-sql statement|@filename] [-dialect sql_dialect] [-al] [-rl] 
> [-so] [-fields={YES/NO}]
>                [-geom={YES/NO/SUMMARY}] [[-oo NAME=VALUE] ...]
>                [-nomd] [-listmdd] [-mdd domain|`all`]*
>                [-nocount] [-noextent] [-wkt_format WKT1|WKT2|...]
>                datasource_name [layer [layer ...]]
> free(): invalid pointer
> Aborted (core dumped)
>
>
> I tried reinstalling all components but still have the same problem. Bugzilla 
> doesn't show any open bugs. Is anyone else experiencing problems with GDAL? 
>

Installed gdal on 2 F32 VM's.  Once Workstation the other KDE.

Both work just fine.

[egreshko@f32g ~]$  ogrinfo --help
Usage: ogrinfo [--help-general] [-ro] [-q] [-where restricted_where|@filename]
   [-spat xmin ymin xmax ymax] [-geomfield field] [-fid fid]
   [-sql statement|@filename] [-dialect sql_dialect] [-al] [-rl] 
[-so] [-fields={YES/NO}]
   [-geom={YES/NO/SUMMARY}] [[-oo NAME=VALUE] ...]
   [-nomd] [-listmdd] [-mdd domain|`all`]*
   [-nocount] [-noextent] [-wkt_format WKT1|WKT2|...]
   datasource_name [layer [layer ...]]
[egreshko@f32g ~]$


-- 
The key to getting good answers is to ask good questions.
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


GDAL Code Dump

2020-09-11 Thread Clifford Snow
I'm getting a core dump using any of the gdal utilities on F32. For example
running orginfo --help returns

Usage: ogrinfo [--help-general] [-ro] [-q] [-where
restricted_where|@filename]
   [-spat xmin ymin xmax ymax] [-geomfield field] [-fid fid]
   [-sql statement|@filename] [-dialect sql_dialect] [-al]
[-rl] [-so] [-fields={YES/NO}]
   [-geom={YES/NO/SUMMARY}] [[-oo NAME=VALUE] ...]
   [-nomd] [-listmdd] [-mdd domain|`all`]*
   [-nocount] [-noextent] [-wkt_format WKT1|WKT2|...]
   datasource_name [layer [layer ...]]
free(): invalid pointer
Aborted (core dumped)


I tried reinstalling all components but still have the same problem.
Bugzilla doesn't show any open bugs. Is anyone else experiencing problems
with GDAL?

Thanks,
Clifford

-- 
@osm_washington
www.snowandsnow.us
OpenStreetMap: Maps with a human touch
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org