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

run resgui failed #1

Open
jwzl opened this issue Sep 15, 2021 · 3 comments
Open

run resgui failed #1

jwzl opened this issue Sep 15, 2021 · 3 comments

Comments

@jwzl
Copy link

jwzl commented Sep 15, 2021

I run rescuegui and found the error!
lua_swupdate.so: undefined symbol: pthread_sigmask

can lua support call C shared library with depenecy?
I found the lua_swupdate.so has a dependcy for pthread?

how to fix this,
thank you very much!

@jwzl
Copy link
Author

jwzl commented Sep 16, 2021

@sbabic thanks!

@jwzl
Copy link
Author

jwzl commented Sep 16, 2021

@Andrzej Szczepański

@sbabic
Copy link
Owner

sbabic commented Sep 16, 2021

This was an issue discussed some time ago on Lua mailing list. Lua does not link pthread and when a module is loaded using pthread, there is this issue. One way is to link the Lua interpreter with libpthread, but this was discouraged in the discussion because it is duty of the user and not of the language (that can run on other OS as Linux) to provide this.
You can easy start before by preloading the libpthread library, that is:

export LD_PRELOAD=/lib/libpthread.so.0
exec SWUpdateGUI.lua

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