-
Notifications
You must be signed in to change notification settings - Fork 936
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
OpenBSD: ldconfig: unknown option -- n #515
Comments
OpenBSD ldconfig does not have the -n flag, so there's no point in calling ldconfig; the manual symlinks should be good enough. Solves LuaJIT#515
Here's an untested patch. Can you please verify that it works? I don't have an OpenBSD system to test this: |
Thanks. I've wondered where that branch is based on though.. it does not appear to be master/v2.0/v2.1. |
Cool, as long as you can confirm that it works somehow :)
It's based off v2.1 but there's been quite a bit of progress over the last ~9 months so it won't look the same, although I've tried to keep the tree compatible merge-wise for now. This original tree has been dormant for a while now, so there needed to be some place to continue development... |
It's not trivial to test unfortunately - and I just assume that it works (similar to osx). So please go ahead and merge the patch. |
OpenBSD ldconfig does not have the -n flag, so there's no point in calling ldconfig; the manual symlinks should be good enough. Solves LuaJIT#515
Done. |
Thanks!
Are there plans to get this into v2.1 then, or 2.2 even?! I wonder if it's ok/good for e.g. Neovim to go with 2.1 already? (neovim/neovim#10321) |
OpenBSD ldconfig does not have the -n flag, so there's no point in calling ldconfig; the manual symlinks should be good enough. Solves LuaJIT#515
I just pushed this patch into my v2.1 fix update branch. Note that I do not have rights to make changes in this repo.
It should be ok. We have been using 2.1.0-beta3 (with all of my patches) in Fedora for a while now without any issues. |
ldconfig
on OpenBSD does not appear to have support for the "-n" option.From GNU's ldconfig:
For osx this appears to be handled already:
LuaJIT/Makefile
Lines 100 to 105 in f0e865d
Ref: neovim/neovim#10978 (comment)
The text was updated successfully, but these errors were encountered: