Opened 3 years ago

Closed 3 years ago

#63804 closed defect (invalid)

neovim @0.5.1: dyld: symbol not found in flat namespace '_luaL_checkversion_'

Reported by: Ranguvar (Devin Cofer) Owned by: raimue (Rainer Müller)
Priority: Normal Milestone:
Component: ports Version: 2.7.1
Keywords: monterey arm64 Cc: l2dy (Zero King)
Port: neovim

Description

M1 Max MacBook Pro running macOS Monterey 12.0.1

Using MacPorts 2.7.1 from the installer package and trying to build neovim 0.5.1 Tried with both luajit 2.1.0-beta3_4 as well as luajit-openresty 2.1-20210510_1

main.log attached as well as main-openresty.log for the build with luajit-openresty

Python 3.10 and 3.9 are installed from MacPorts, 3.10 is selected, tried with 3.9 selected to no avail

Attachments (4)

main.log (796.2 KB) - added by Ranguvar (Devin Cofer) 3 years ago.
build log with normal luajit
main-openresty.log (796.2 KB) - added by Ranguvar (Devin Cofer) 3 years ago.
build log with luajit-openresty
neovim.luajit-2.1.0-beta3_5.log (798.2 KB) - added by Ranguvar (Devin Cofer) 3 years ago.
neovim-devel-20211106_0.luajit-2.1.0-beta3_5.log (85.6 KB) - added by Ranguvar (Devin Cofer) 3 years ago.

Change History (12)

Changed 3 years ago by Ranguvar (Devin Cofer)

Attachment: main.log added

build log with normal luajit

Changed 3 years ago by Ranguvar (Devin Cofer)

Attachment: main-openresty.log added

build log with luajit-openresty

comment:1 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: l2dy added
Keywords: monterey arm64 added; neovim monteray aarch64 arm64e apple_silicon luajit removed
Owner: set to raimue
Status: newassigned
Summary: neovim 0.5.1 fails to build on macOS Monterey 12.0.1 with M1 Pro/Maxneovim @0.5.1: dyld: symbol not found in flat namespace '_luaL_checkversion_'

comment:2 Changed 3 years ago by l2dy (Zero King)

Please try luajit @2.1.0-beta3_5, and if it doesn't work, try neovim-devel @20211106 with upgraded luajit.

comment:3 Changed 3 years ago by Ranguvar (Devin Cofer)

luajit @2.1.0-beta3_5 does not seem to improve matters See clean build neovim.luajit-2.1.0-beta3_5.log

neovim-devel @20211106_0 with the same upgraded luajit appears to install but fails to run See clean build neovim-devel-20211106_0.luajit-2.1.0-beta3_5.log

When attempting to run nvim from nvim-devel, the return code is 134 The output is as follows:

dyld[30844]: symbol not found in flat namespace '_luaL_checkversion_' zsh: abort nvim

Changed 3 years ago by Ranguvar (Devin Cofer)

Changed 3 years ago by Ranguvar (Devin Cofer)

comment:4 Changed 3 years ago by l2dy (Zero King)

Did you upgrade your OS from Big Sur or an earlier version? If so, did you follow the migration instructions?

comment:5 Changed 3 years ago by Ranguvar (Devin Cofer)

No, it’s a fresh install of 12.0 upgraded to 12.0.1, this computer does not support Big Sur.

Fresh install of MacPorts 2.7.1 as well.

comment:6 Changed 3 years ago by l2dy (Zero King)

Looks similar to https://github.com/openzfsonosx/openzfs/pull/75, which means it could be an upstream issue specific to newer OS and/or Xcode.

comment:7 Changed 3 years ago by Ranguvar (Devin Cofer)

After removing all dependencies, upgrading all ports, and re-attempting neovim @0.5.1_0, it is both building and running successfully

I am using luajit-openresty @2.1-20210510_1

Thanks for your attention!

comment:8 Changed 3 years ago by l2dy (Zero King)

Resolution: invalid
Status: assignedclosed

I guess the problem was specific to your environment then, closing as invalid.

Note: See TracTickets for help on using tickets.