Bug 191476 - lang/luajit not linked against pthread
Summary: lang/luajit not linked against pthread
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Sergey A. Osokin
Depends on:
Reported: 2014-06-29 13:07 UTC by justin
Modified: 2019-02-25 14:16 UTC (History)
2 users (show)

See Also:

svn-diff-luajit-pthread (948 bytes, patch)
2018-02-13 21:22 UTC, Walter Schwarzenfeld
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description justin 2014-06-29 13:07:48 UTC
The Lua port was changed to link against pthread

But the luajit one was not. Unfortunately that means that if you open a library linked to pthread in luajit it just hangs forever in a kernel mutex which is not very helpful. This means that I have to compile my own luajit instead, and not use the one that pkg installs which is annoying.

(or someone could fix the underlying issue of an executable not linked to pthread not being able to dlopen a library linked to it...)
Comment 1 Walter Schwarzenfeld freebsd_triage 2018-01-10 21:02:07 UTC
Maintainer feedback?
Comment 2 Walter Schwarzenfeld freebsd_triage 2018-02-13 21:22:34 UTC
Created attachment 190597 [details]

As option?
Comment 3 Walter Schwarzenfeld freebsd_triage 2019-02-25 14:16:39 UTC