You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: