-
Notifications
You must be signed in to change notification settings - Fork 814
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
error while loading shared libraries: libcriterion.so.3: cannot enable executable stack as shared object requires: Invalid argument #2562
Comments
Did you try clearing the executeable stack flag? |
Yes I tried do that but after I recompile and try to rerun the program, the program hangs without any error or warning messages. |
Then it most likely actually requires executable stack. Which won't be supported by design on WSL. To be sure that is what is happening you could try to build your project on an actual ubuntu machine where you cleared the executable flag on the library and see if it works there. See: #286 |
Well implementing workarounds aren't good and the teams implementing it are wrong. They should just not use libraries that are still using executable stack. It`s a security risk. |
I've rebuilt my project on an actual Ubuntu machine and the library I'm using works as intended. Its unfortunate I can't use libraries that require the use of an executable stack. |
You cleared the executable flag on your actual ubuntu machine and everything works? If that is the case then this is indeed a bug. Just write to the maintainer of the iibrary. Almost no one actually required executable stack. |
I did not need to clear the executable flag on the ubuntu machine. Everything works as intended when I install the library regularly. |
This issue has been automatically closed since it has not had any activity for the past year. If you're still experiencing this issue please re-file this as a new issue or feature request. Thank you! |
Hi,
I am using the Criterion, which is a C Unit Testing Framework (https://github.com/Snaipe/Criterion). After I finished installing the Criterion package, I wanted to test out if the package was installed properly by typing up the following:
The file compiles regularly as expected using:
However whenever the I attempt to run the executable
test
it gives the following error:I have already tried a possible solution found here: ##916 but has not worked for me.
The text was updated successfully, but these errors were encountered: