Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. ArcGIS SDK in linux with Qt opening only executable-shared library error
Forum Updated to NodeBB v4.3 + New Features

ArcGIS SDK in linux with Qt opening only executable-shared library error

Scheduled Pinned Locked Moved Solved Qt Creator and other tools
4 Posts 3 Posters 548 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    Jyothi
    wrote on 16 Nov 2020, 14:03 last edited by
    #1

    Hii.

    I have developed an application using ArcGIS with Qt. Application is running successfully with program in qt. But without using QT(or program), iam trying to run only executable. but it is throwing an error like shared library libesricommonqt.so. no such file or directory. i have pasted the libesricommonqt.so in the executable folder. but still exe not opening and throwing same error.

    Thanks in advance

    J 1 Reply Last reply 16 Nov 2020, 14:39
    0
    • J Jyothi
      16 Nov 2020, 14:03

      Hii.

      I have developed an application using ArcGIS with Qt. Application is running successfully with program in qt. But without using QT(or program), iam trying to run only executable. but it is throwing an error like shared library libesricommonqt.so. no such file or directory. i have pasted the libesricommonqt.so in the executable folder. but still exe not opening and throwing same error.

      Thanks in advance

      J Offline
      J Offline
      JonB
      wrote on 16 Nov 2020, 14:39 last edited by
      #2

      @Jyothi
      You are supposed to use something like linuxdeployqt to install your executable, so that dependencies are dealt with.

      Try something like ldd libesricommonqt.so on that file in the executable folder to see if it has further dependencies which are missing. That can lead to the error message only complaining about libesricommonqt.so when there is an underlying error.

      1 Reply Last reply
      1
      • L Offline
        L Offline
        ldanzinger
        wrote on 9 Dec 2020, 22:38 last edited by
        #3

        libesricommonqt.so depends on libruntimecore.so - please make sure both are in your LD_LIBRARY_PATH

        1 Reply Last reply
        0
        • J Offline
          J Offline
          Jyothi
          wrote on 4 Jun 2021, 07:46 last edited by
          #4

          hi,
          thanks for the reply. it is solved by linking the library through batch file.

          i have created one script(.sh) file and the file has the content as

          export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:./exe_folder_name/
          ./exe_folder_name/exe_name

          where, exe_folder_name contains the libraries to run application.

          now, simply run the above script file through command prompt.

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved