Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 707588 - dev-lang/luajit fails to create library symlinks on systems that do not have ldconfig
Summary: dev-lang/luajit fails to create library symlinks on systems that do not have ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Rafael Martins (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-01-31 17:21 UTC by Wolfgang Müller
Modified: 2020-02-01 22:01 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Wolfgang Müller 2020-01-31 17:21:14 UTC
As reported in https://github.com/gentoo/musl/issues/293 and upstream in https://github.com/LuaJIT/LuaJIT/issues/552, the current version of luajit will not properly create symlinks to its library files if ldconfig is unavailable. This will happen on musl-based systems, for example.

The following commit fixes the issue and should be included in current stable ebuilds: https://github.com/LuaJIT/LuaJIT/commit/18c9cf7d3788a8f7408df45df92fc4ae3bcc0d80

Reproducible: Always

Steps to Reproduce:
1. Emerge dev-lang/luajit on a system that does not have ldconfig
2. Run a program linked against luajit
Actual Results:  
The program fails, not finding the library.

Expected Results:  
The program starts.
Comment 1 Rafael Martins (RETIRED) gentoo-dev 2020-02-01 22:01:51 UTC
fixed. thanks for reporting!