[MacPorts] #70420: neovim @0.10.0_1: error loading module 'nlua0' from file 'libnlua0.so'

MacPorts noreply at macports.org
Thu Aug 8 19:00:17 UTC 2024


#70420: neovim @0.10.0_1: error loading module 'nlua0' from file 'libnlua0.so'
---------------------+----------------------
  Reporter:  wryfi   |      Owner:  l2dy
      Type:  defect  |     Status:  assigned
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:  2.9.3
Resolution:          |   Keywords:
      Port:  neovim  |
---------------------+----------------------

Comment (by rbeyer):

 I recently had to re-install my system and macports on my macOS 14 / Apple
 Silicon system and ran into this exact problem with installing neovim
 (whereas earlier this spring on initial installation, it worked just
 fine).  I was excited to see wryfi's explanation of performing a `port
 uninstall` of the lua53 ports that got neovim working, but that did not
 happen for me.  My experience was identical, with the `symbol not found in
 flat namespace '_luaL_prepbuffsize'` error in the log.  I did the same:

 {{{
   $> sudo port reclaim
   $> sudo port clean --all (of the two remaining lua ports: luametatex and
 texlive-luatex
   $> sudo port install neovim (which errors, just as reported in the OP)
   $> sudo port uninstall lua53-luarocks (with the same warning as reported
 above)
   $> sudo port uninstall lua53
   $> sudo port install neovim
 }}}

 And I was expecting that last `port install neovim` to work as wryfi's
 experience did, but it did not, and these namespace errors are still in
 the new log file:

 {{{
 :info:build /opt/macports/bin/luajit: error loading module 'nlua0' from
 file
 '/opt/macports/var/macports/build/_opt_macports_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_editors_neovim/neovim/work/build/lib/libnlua0.so':
 :info:build
 dlopen(/opt/macports/var/macports/build/_opt_macports_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_editors_neovim/neovim/work/build/lib/libnlua0.so,
 0x0006): symbol not found in flat namespace '_luaL_prepbuffsize'
 :info:build stack traceback:
 :info:build     [C]: at 0x0100664fb0
 :info:build     [C]: in function 'require'
 :info:build
 ...eovim/work/neovim-0.10.0/src/nvim/generators/preload.lua:9: in main
 chunk
 :info:build     [C]: at 0x0100611bb4
 }}}

 I'm not sure what wryfi did that I didn't.

-- 
Ticket URL: <https://trac.macports.org/ticket/70420#comment:10>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list