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
Rockspec fails to install on Mac OS 11 because luarocks does not find pthread:
$ luarocks install lua-llthreads2-0.1.6-1.rockspec
Error: Could not find library file for PTHREAD
No file libpthread.a in /usr/local/lib
No file libpthread.dylib in /usr/local/lib
No file matching libpthread.so.* in /usr/local/lib
No file libpthread.a in /usr/lib
No file libpthread.dylib in /usr/lib
No file matching libpthread.so.* in /usr/lib
No file libpthread.a in /lib
No file libpthread.dylib in /lib
No file matching libpthread.so.* in /lib
You may have to install PTHREAD in your system and/or pass PTHREAD_DIR or PTHREAD_LIBDIR to the luarocks command.
Example: luarocks install lua-llthreads2 PTHREAD_DIR=/usr/local
One workaround could be avoid specifying pthread for mac os, e.g. to replace
Rockspec fails to install on Mac OS 11 because luarocks does not find pthread:
One workaround could be avoid specifying
pthread
for mac os, e.g. to replacewith
See also osch/lua-mtmsg@669812d
The text was updated successfully, but these errors were encountered: