Skip to main content
Post Undeleted by PolyGeo
Post Deleted by slaicha
Post Reopened by MrXsquared, TomazicM, PolyGeo
added 588 characters in body
Added to review
Source Link

I followed different tutorials onlineI'm trying to install GDAL with ECW support on Ubuntu 22.04.4, but none worked for me. Most tutorials use ECW SDK 5.4 from Hexagon but only 5.5 is available now on their download page, and I can't find posts that use the 5.5 version. For GDAL, I tried the latest version 3.9, and two earlier ones 3.5.3 and 3.1.3. I couldn't compile the first one. For, the last two versions, I gotI'm getting an error that I can't figure out after running the "make" command below.

How do I get this to work?

This is an extract from the error:

/usr/bin/ld: /home/as1233/gdal-3.1.3/.libs/libgdal.so: undefined reference to `NCSFreeFileInfo'
/usr/bin/ld: /home/as1233/gdal-3.1.3/.libs/libgdal.so: undefined reference to `NCS::CThreadPool::CJob::LockStatus()'
/usr/bin/ld: /home/as1233/gdal-3.1.3/.libs/libgdal.so: undefined reference to `NCS::CView::GetParameterInternal(char const*, __va_list_tag*)'
/usr/bin/ld: /home/as1233/gdal-3.1.3/.libs/libgdal.so: undefined reference to `NCS::CString::CString()'
/usr/bin/ld: /usr/bin/ld/home/as1233/gdal-3.1.3/.libs/libgdal.so: : undefined reference to `/home/as1233/gdal-3.1.3/.libs/libgdal.so: undefined reference to `NCS::CThreadPool::CJob::LockStatus()NCS::CView::GetCompressionMemoryRequirementsBytes()'
/usr/bin/ld'
: /home/as1233/gdal-3.1.3/.libs/libgdal.so: undefined reference to `NCS::CView::SetParameter(char const*, ...)'

I followed the steps from this tutorial Installing QGIS with ECW support on ubuntu 20.04:

  • Downloaded the ECW SDK 5.5 from Hexagon (that's the only version currently available) and run the bin file
  • Copied the installed files to /usr/local/hexagon
  • Made symbolic link to libs like libNCSEcw.so.**

sudo ln -s /usr/local/hexagon/lib/cpp11abi/x64/release/* /usr/local/lib/

  • Downloaded and installed PROJ version
  • Downloaded and compiled GDAL. I tried both versions 3.5.3 and 3.1.3

./configure --with-ecw=/usr/local/hexagon

export LD_LIBRARY_PATH=//usr/local/hexagon/lib/cpp11abi/x64/release:$LD_LIBRARY_PATH

sudo make

I got the error above after running the "make" command.

How do I get this to work?

This issue deals with the same error https://github.com/OSGeo/gdal/issues/2657. I'm not sure if it's helpful.

I followed different tutorials online to install GDAL with ECW support on Ubuntu 22.04.4, but none worked for me. Most tutorials use ECW SDK 5.4 from Hexagon but only 5.5 is available now on their download page, and I can't find posts that use the 5.5 version. For GDAL, I tried the latest version 3.9, and two earlier ones 3.5.3 and 3.1.3. I couldn't compile the first one. For, the last two versions, I got an error that I can't figure out.

How do I get this to work?

This is an extract from the error:

/usr/bin/ld: /home/as1233/gdal-3.1.3/.libs/libgdal.so: undefined reference to `NCSFreeFileInfo'
/usr/bin/ld: /home/as1233/gdal-3.1.3/.libs/libgdal.so: undefined reference to `NCS::CThreadPool::CJob::LockStatus()'
/usr/bin/ld: /home/as1233/gdal-3.1.3/.libs/libgdal.so: undefined reference to `NCS::CView::GetParameterInternal(char const*, __va_list_tag*)'
/usr/bin/ld: /home/as1233/gdal-3.1.3/.libs/libgdal.so: undefined reference to `NCS::CString::CString()'
/usr/bin/ld: /usr/bin/ld/home/as1233/gdal-3.1.3/.libs/libgdal.so: : undefined reference to `/home/as1233/gdal-3.1.3/.libs/libgdal.so: undefined reference to `NCS::CThreadPool::CJob::LockStatus()NCS::CView::GetCompressionMemoryRequirementsBytes()'
/usr/bin/ld'
: /home/as1233/gdal-3.1.3/.libs/libgdal.so: undefined reference to `NCS::CView::SetParameter(char const*, ...)'

I'm trying to install GDAL with ECW support on Ubuntu 22.04.4, but I'm getting an error I can't figure out after running the "make" command below. This is an extract from the error:

/usr/bin/ld: /home/as1233/gdal-3.1.3/.libs/libgdal.so: undefined reference to `NCSFreeFileInfo'
/usr/bin/ld: /home/as1233/gdal-3.1.3/.libs/libgdal.so: undefined reference to `NCS::CThreadPool::CJob::LockStatus()'
/usr/bin/ld: /home/as1233/gdal-3.1.3/.libs/libgdal.so: undefined reference to `NCS::CView::GetParameterInternal(char const*, __va_list_tag*)'
/usr/bin/ld: /home/as1233/gdal-3.1.3/.libs/libgdal.so: undefined reference to `NCS::CString::CString()'
/usr/bin/ld: /usr/bin/ld/home/as1233/gdal-3.1.3/.libs/libgdal.so: : undefined reference to `/home/as1233/gdal-3.1.3/.libs/libgdal.so: undefined reference to `NCS::CThreadPool::CJob::LockStatus()NCS::CView::GetCompressionMemoryRequirementsBytes()'
/usr/bin/ld'
: /home/as1233/gdal-3.1.3/.libs/libgdal.so: undefined reference to `NCS::CView::SetParameter(char const*, ...)'

I followed the steps from this tutorial Installing QGIS with ECW support on ubuntu 20.04:

  • Downloaded the ECW SDK 5.5 from Hexagon (that's the only version currently available) and run the bin file
  • Copied the installed files to /usr/local/hexagon
  • Made symbolic link to libs like libNCSEcw.so.**

sudo ln -s /usr/local/hexagon/lib/cpp11abi/x64/release/* /usr/local/lib/

  • Downloaded and installed PROJ version
  • Downloaded and compiled GDAL. I tried both versions 3.5.3 and 3.1.3

./configure --with-ecw=/usr/local/hexagon

export LD_LIBRARY_PATH=//usr/local/hexagon/lib/cpp11abi/x64/release:$LD_LIBRARY_PATH

sudo make

I got the error above after running the "make" command.

How do I get this to work?

This issue deals with the same error https://github.com/OSGeo/gdal/issues/2657. I'm not sure if it's helpful.

Post Closed as "Needs details or clarity" by user2856, TomazicM, Vince, PolyGeo
removed helpm
Source Link
Vince
  • 20.3k
  • 16
  • 48
  • 65

GDAL with ECW support on ubuntuUbuntu

I followed different tutorials online to install GDAL with ECW support on ubuntuUbuntu 22.04.4, but none worked for me. Most tutorials use ECW SDK 5.4 from hexagonHexagon but only 5.5 is available now on their download page, and I can't find posts that use the 5.5 version. For GDAL, I tried the latest version 3.9, and two earlier ones 3.5.3 and 3.1.3. I couldn't compile the first one. For, the last two versions, I got an error that I can't figure out.

Can you help me with itHow do I get this to work?

This is an extract from the error:

/usr/bin/ld: /home/as1233/gdal-3.1.3/.libs/libgdal.so: undefined reference to `NCSFreeFileInfo'
/usr/bin/ld: /home/as1233/gdal-3.1.3/.libs/libgdal.so: undefined reference to `NCS::CThreadPool::CJob::LockStatus()'
/usr/bin/ld: /home/as1233/gdal-3.1.3/.libs/libgdal.so: undefined reference to `NCS::CView::GetParameterInternal(char const*, __va_list_tag*)'
/usr/bin/ld: /home/as1233/gdal-3.1.3/.libs/libgdal.so: undefined reference to `NCS::CString::CString()'
/usr/bin/ld: /usr/bin/ld/home/as1233/gdal-3.1.3/.libs/libgdal.so: : undefined reference to `/home/as1233/gdal-3.1.3/.libs/libgdal.so: undefined reference to `NCS::CThreadPool::CJob::LockStatus()NCS::CView::GetCompressionMemoryRequirementsBytes()'
/usr/bin/ld'
: /home/as1233/gdal-3.1.3/.libs/libgdal.so: undefined reference to `NCS::CView::SetParameter(char const*, ...)'

GDAL with ECW support on ubuntu

I followed different tutorials online to install GDAL with ECW support on ubuntu 22.04.4, but none worked for me. Most tutorials use ECW SDK 5.4 from hexagon but only 5.5 is available now on their download page, and I can't find posts that use the 5.5 version. For GDAL, I tried the latest version 3.9, and two earlier ones 3.5.3 and 3.1.3. I couldn't compile the first one. For, the last two versions, I got an error that I can't figure out.

Can you help me with it?

This is an extract from the error:

/usr/bin/ld: /home/as1233/gdal-3.1.3/.libs/libgdal.so: undefined reference to `NCSFreeFileInfo'
/usr/bin/ld: /home/as1233/gdal-3.1.3/.libs/libgdal.so: undefined reference to `NCS::CThreadPool::CJob::LockStatus()'
/usr/bin/ld: /home/as1233/gdal-3.1.3/.libs/libgdal.so: undefined reference to `NCS::CView::GetParameterInternal(char const*, __va_list_tag*)'
/usr/bin/ld: /home/as1233/gdal-3.1.3/.libs/libgdal.so: undefined reference to `NCS::CString::CString()'
/usr/bin/ld: /usr/bin/ld/home/as1233/gdal-3.1.3/.libs/libgdal.so: : undefined reference to `/home/as1233/gdal-3.1.3/.libs/libgdal.so: undefined reference to `NCS::CThreadPool::CJob::LockStatus()NCS::CView::GetCompressionMemoryRequirementsBytes()'
/usr/bin/ld'
: /home/as1233/gdal-3.1.3/.libs/libgdal.so: undefined reference to `NCS::CView::SetParameter(char const*, ...)'

GDAL with ECW support on Ubuntu

I followed different tutorials online to install GDAL with ECW support on Ubuntu 22.04.4, but none worked for me. Most tutorials use ECW SDK 5.4 from Hexagon but only 5.5 is available now on their download page, and I can't find posts that use the 5.5 version. For GDAL, I tried the latest version 3.9, and two earlier ones 3.5.3 and 3.1.3. I couldn't compile the first one. For, the last two versions, I got an error that I can't figure out.

How do I get this to work?

This is an extract from the error:

/usr/bin/ld: /home/as1233/gdal-3.1.3/.libs/libgdal.so: undefined reference to `NCSFreeFileInfo'
/usr/bin/ld: /home/as1233/gdal-3.1.3/.libs/libgdal.so: undefined reference to `NCS::CThreadPool::CJob::LockStatus()'
/usr/bin/ld: /home/as1233/gdal-3.1.3/.libs/libgdal.so: undefined reference to `NCS::CView::GetParameterInternal(char const*, __va_list_tag*)'
/usr/bin/ld: /home/as1233/gdal-3.1.3/.libs/libgdal.so: undefined reference to `NCS::CString::CString()'
/usr/bin/ld: /usr/bin/ld/home/as1233/gdal-3.1.3/.libs/libgdal.so: : undefined reference to `/home/as1233/gdal-3.1.3/.libs/libgdal.so: undefined reference to `NCS::CThreadPool::CJob::LockStatus()NCS::CView::GetCompressionMemoryRequirementsBytes()'
/usr/bin/ld'
: /home/as1233/gdal-3.1.3/.libs/libgdal.so: undefined reference to `NCS::CView::SetParameter(char const*, ...)'
highlighting
Source Link
PolyGeo
  • 65.4k
  • 29
  • 114
  • 345

GDAL with ECW support on ubuntu 22.04.4

I followed different tutorials online to install GDAL with ECW support on ubuntu 22.04.4, but none worked for me. Most tutorials use ECW SDK 5.4 from hexagon but only 5.5 is available now on their download page, and I can't find posts that use the 5.5 version. For GDAL, I tried the latest version 3.9, and two earlier ones 3.5.3 and 3.1.3. I couldn't compile the first one. For, the last two versions, I got an error that I can't figure out, and would appreciate it if someone could.

Can you help me with it.?

This is an extract from the error:

/usr/bin/ld: /home/as1233/gdal-3.1.3/.libs/libgdal.so: undefined reference to `NCSFreeFileInfo'
/usr/bin/ld: /home/as1233/gdal-3.1.3/.libs/libgdal.so: undefined reference to `NCS::CThreadPool::CJob::LockStatus()'
/usr/bin/ld: /home/as1233/gdal-3.1.3/.libs/libgdal.so: undefined reference to `NCS::CView::GetParameterInternal(char const*, __va_list_tag*)'
/usr/bin/ld: /home/as1233/gdal-3.1.3/.libs/libgdal.so: undefined reference to `NCS::CString::CString()'
/usr/bin/ld: /usr/bin/ld/home/as1233/gdal-3.1.3/.libs/libgdal.so: : undefined reference to `/home/as1233/gdal-3.1.3/.libs/libgdal.so: undefined reference to `NCS::CThreadPool::CJob::LockStatus()NCS::CView::GetCompressionMemoryRequirementsBytes()'
/usr/bin/ld'
: /home/as1233/gdal-3.1.3/.libs/libgdal.so: undefined reference to `NCS::CView::SetParameter(char const*, ...)'

GDAL with ECW support on ubuntu 22.04.4

I followed different tutorials online to install GDAL with ECW support on ubuntu, but none worked for me. Most tutorials use ECW SDK 5.4 from hexagon but only 5.5 is available now on their download page, and I can't find posts that use the 5.5 version. For GDAL, I tried the latest version 3.9, and two earlier ones 3.5.3 and 3.1.3. I couldn't compile the first one. For, the last two versions, I got an error that I can't figure out, and would appreciate it if someone could help me with it.

This is an extract from the error:

/usr/bin/ld: /home/as1233/gdal-3.1.3/.libs/libgdal.so: undefined reference to `NCSFreeFileInfo'
/usr/bin/ld: /home/as1233/gdal-3.1.3/.libs/libgdal.so: undefined reference to `NCS::CThreadPool::CJob::LockStatus()'
/usr/bin/ld: /home/as1233/gdal-3.1.3/.libs/libgdal.so: undefined reference to `NCS::CView::GetParameterInternal(char const*, __va_list_tag*)'
/usr/bin/ld: /home/as1233/gdal-3.1.3/.libs/libgdal.so: undefined reference to `NCS::CString::CString()'
/usr/bin/ld: /usr/bin/ld/home/as1233/gdal-3.1.3/.libs/libgdal.so: : undefined reference to `/home/as1233/gdal-3.1.3/.libs/libgdal.so: undefined reference to `NCS::CThreadPool::CJob::LockStatus()NCS::CView::GetCompressionMemoryRequirementsBytes()'
/usr/bin/ld'
: /home/as1233/gdal-3.1.3/.libs/libgdal.so: undefined reference to `NCS::CView::SetParameter(char const*, ...)'

GDAL with ECW support on ubuntu

I followed different tutorials online to install GDAL with ECW support on ubuntu 22.04.4, but none worked for me. Most tutorials use ECW SDK 5.4 from hexagon but only 5.5 is available now on their download page, and I can't find posts that use the 5.5 version. For GDAL, I tried the latest version 3.9, and two earlier ones 3.5.3 and 3.1.3. I couldn't compile the first one. For, the last two versions, I got an error that I can't figure out.

Can you help me with it?

This is an extract from the error:

/usr/bin/ld: /home/as1233/gdal-3.1.3/.libs/libgdal.so: undefined reference to `NCSFreeFileInfo'
/usr/bin/ld: /home/as1233/gdal-3.1.3/.libs/libgdal.so: undefined reference to `NCS::CThreadPool::CJob::LockStatus()'
/usr/bin/ld: /home/as1233/gdal-3.1.3/.libs/libgdal.so: undefined reference to `NCS::CView::GetParameterInternal(char const*, __va_list_tag*)'
/usr/bin/ld: /home/as1233/gdal-3.1.3/.libs/libgdal.so: undefined reference to `NCS::CString::CString()'
/usr/bin/ld: /usr/bin/ld/home/as1233/gdal-3.1.3/.libs/libgdal.so: : undefined reference to `/home/as1233/gdal-3.1.3/.libs/libgdal.so: undefined reference to `NCS::CThreadPool::CJob::LockStatus()NCS::CView::GetCompressionMemoryRequirementsBytes()'
/usr/bin/ld'
: /home/as1233/gdal-3.1.3/.libs/libgdal.so: undefined reference to `NCS::CView::SetParameter(char const*, ...)'
Source Link
Loading