MapInfo Pro

 View Only
  • 1.  Segmentation fault (core dumped) for EFAL_SDK and EFALvDriver for gdal 3.0.x for ubuntu 20.04

    Employee
    Posted 02-14-2023 02:04
    Edited by Divyanshu Sen 02-14-2023 02:34

    I have installed efal_19.0 from https://support.precisely.com/product-downloads/item/mapinfo-efal-sdk-download/ this link in order to support nativeX format. After configuring efal in bashrc with efal driver and SDK i am getting Segmentation fault (core dumped) .I have followed the official documentation in efal_sdk_driver.

     Steps to Replicate the issue:
    1.On ubuntu 20.04 install gdal-bin 3.04 version.
    2. Download both SDK and driver from above link.
    3. Download driver folder
    4./home/user/gdal3_efal_drv
    5. Extract EFAL_19 zip file and copy contents of export/common to export uu64
    6. Edit bashrc like this ```

    1. export EFAL_SDK_DIR=/home/user/Downloads/EFAL_19.0/export/uu64
    2. export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$EFAL_SDK_DIR
    3. export GDAL_DRIVER_PATH=/home/user/efal/drv
    4. cp /home/user/gdal3_efal_drv/ogr_EFAL.so $GDAL_DRIVER_PATH ```
    5. source ~/.bashrc 
    6. ogrinfo –formats” lists “MapInfo EFAL -vector- (rw+): on top 
       But after trying to convert any file using ogr2ogr command.```ogr2ogr -f GeoJSON --debug ON output.geojson usa.TAB```.
    7. It is showing Segmentation fault (core dumped)
    8. Is there any problem with EFAL_SDK or EFAL_driver here for ubuntu.
    9. gdal -v :3.0.4 python 3.8 for python3, 



    ------------------------------
    Divyanshu Sen
    Knowledge Community Shared Account
    ------------------------------



  • 2.  RE: Segmentation fault (core dumped) for EFAL_SDK and EFALvDriver for gdal 3.0.x for ubuntu 20.04
    Best Answer

    Employee
    Posted 02-21-2023 04:55

    Done. i have renamed NTv2.xml file. this resolved that issue.



    ------------------------------
    Divyanshu Sen
    Knowledge Community Shared Account
    ------------------------------



  • 3.  RE: Segmentation fault (core dumped) for EFAL_SDK and EFALvDriver for gdal 3.0.x for ubuntu 20.04

    Employee
    Posted 02-21-2023 07:45

    Thanks for posting the solution, Divyanshu.

    And just for clarification, you just had to rename the file NTv2.xml from the EFAL binary folder to something else.



    ------------------------------
    Peter Horsbøll Møller
    Principal Presales Consultant | Distinguished Engineer
    Precisely | Trust in Data
    ------------------------------



  • 4.  RE: Segmentation fault (core dumped) for EFAL_SDK and EFALvDriver for gdal 3.0.x for ubuntu 20.04

    Employee
    Posted 03-10-2023 00:56

    Yes in the binary folder i just renamed it to NTv3.xml from NTv2.xml in uu64 folder



    ------------------------------
    Divyanshu Sen
    Knowledge Community Shared Account
    ------------------------------