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

Function dlopen() seems not to be supported on your platform. #266

Open
JupyterJones opened this issue Oct 17, 2018 · 1 comment
Open

Function dlopen() seems not to be supported on your platform. #266

JupyterJones opened this issue Oct 17, 2018 · 1 comment

Comments

@JupyterJones
Copy link

JupyterJones commented Oct 17, 2018

Installing Lua version: LUAJIT21
CMake Error at exe/luajit-rocks/luajit-2.1/CMakeLists.txt:156 (MESSAGE):
Cannot compile a useful lua.

Function dlopen() seems not to be supported on your platform.

Apparently you are not on a Windows platform as well.

So lua has no way to deal with shared libraries!


I discovered the reason so I thought I would explain it here.
As I searched the web, this seems to be a very common problem: ' finding dlopen '
Although I can not answer it a 100% cure on all computers, I found the problem was
when I updated to Ubuntu 18.04 bionic it also updated my gcc to version 8. No matter what I did I could not get version gcc:8.0.0 to find dlopen() when I was installing torch. I installed gcc-4.9.0 and everything worked fine. Torch was not the only program that could not compile because of the upgrade and gcc-8

@sohamirian
Copy link

It doesn't work for me :(

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