Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to run Geos on Pangea 3 with shared libraries #3305

Closed
acitrain opened this issue Aug 27, 2024 · 3 comments · Fixed by #3307
Closed

Unable to run Geos on Pangea 3 with shared libraries #3305

acitrain opened this issue Aug 27, 2024 · 3 comments · Fixed by #3307
Assignees
Labels
type: bug Something isn't working type: new A new issue has been created and requires attention

Comments

@acitrain
Copy link
Contributor

Describe the bug
Since the merge of PR #3282 we are unable to run GEOS on Pangea3 due to issue on a powerpc architecture to run with shared libraries. We get the follopwing error at the execution:

geos: error while loading shared libraries: libmainInterface.so: cannot open shared object file: No such file or directory

And sometimes we are unable to compile (error at the link edition)

Platform (please complete the following information):

  • Machine Pangea 3
  • Compiler gcc/8.4.1
@acitrain acitrain added type: bug Something isn't working type: new A new issue has been created and requires attention labels Aug 27, 2024
@Algiane
Copy link
Contributor

Algiane commented Aug 27, 2024

Only the pygeosx.so shared library is installed in the $CMAKE_INSTALL_PREFIX/lib directory so the other shared libraries against which is built pygeosx are not found.
It can be solved:

  • by adding the path toward the other libs to the LD_LIBRARY_PATH variable (so the build directory). It is not clean and not usual as it means that the build directory cannot be deleted without breaking the runtime;
  • by installing all the shared libs in the same location (usual way)

@rrsettgast
Copy link
Member

The install command was accidentally removed. I will create a quick patch.

@acitrain
Copy link
Contributor Author

Thanks Randy!

I'll close my PR linked with this issue when the patch will be operational

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working type: new A new issue has been created and requires attention
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants