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

Cannot open shared library file libcrm.so #22

Open
andypbarrett opened this issue Dec 12, 2023 · 3 comments
Open

Cannot open shared library file libcrm.so #22

andypbarrett opened this issue Dec 12, 2023 · 3 comments

Comments

@andypbarrett
Copy link
Owner

[From Lael Perez]

Please find attached the screenshot error, and I tried to run it in a virtual machine (virtual box) with Ubuntu 22.04.3.
If I'm right, it's trying to open the ./libcrm.so file, but it doesn't exist.

image

@andypbarrett
Copy link
Owner Author

You will need to compile the fortran code. I've added instructions to the README for how to do this. You will need gfortran installed.

@IaelP
Copy link

IaelP commented Dec 13, 2023

Hi,
Thank you for your help. But I still get an error, when I run make I get the following:

Error_compiling

@andypbarrett
Copy link
Owner Author

think I have solved it.

Those errors were occuring on MacOS but not on Ubuntu. I've just tested a fresh install on my Ubuntu and got the same issue. However, there is a solution.

I added -fallow-argument-mismatch to the compiler flags in the makefile and also added code to move libcrm.so to the expected path.

Running pytest at the top directory passes.

You can pull the updated repo and let me know what happens. Don't hesitate to get in contact if it doesn't work.

Andy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants