Opened 4 years ago
Closed 4 years ago
#60783 closed defect (invalid)
lua @5.3.5 invalid dylib version
Reported by: | ierofant (Андрей Корнилов) | Owned by: | ierofant (Андрей Корнилов) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.6.2 |
Keywords: | Cc: | ||
Port: | lua |
Description
liblua.dylib not loading
$ sudo port install lua $ lua dyld: Library not loaded: /opt/local/lib/liblua.dylib Referenced from: /opt/local/bin/lua Reason: Incompatible library version: lua requires version 5.3.0 or later, but liblua.dylib provides version 0.0.0 Abort trap: 6
macOS Catalina Version 10.15.5
Xcode 11.3 Build version 11C29
Change History (8)
comment:1 Changed 4 years ago by mf2k (Frank Schima)
comment:2 Changed 4 years ago by mf2k (Frank Schima)
Port: | lua added |
---|
comment:3 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)
I can't reproduce that. It works fine for me:
$ otool -L /opt/local/lib/liblua.dylib /opt/local/bin/lua /opt/local/lib/liblua.dylib: /opt/local/lib/liblua.dylib (compatibility version 5.3.0, current version 5.3.5) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1252.50.4) /opt/local/bin/lua: /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1252.50.4) /opt/local/lib/libreadline.8.dylib (compatibility version 8.0.0, current version 8.0.0) /opt/local/lib/liblua.dylib (compatibility version 5.3.0, current version 5.3.5) $ lua Lua 5.3.5 Copyright (C) 1994-2018 Lua.org, PUC-Rio >
I'm on High Sierra, not Catalina, but I also examined our precompiled binary of lua for Catalina and it looks like it's fine too.
Please try reinstalling lua by running:
$ sudo port clean lua $ sudo port -n upgrade --force lua
comment:4 Changed 4 years ago by ierofant (Андрей Корнилов)
I tried to reinstall and upgrade Lua many times, unfortunately it does not help for me
comment:5 Changed 4 years ago by kencu (Ken)
Please give us the output of:
otool -L /opt/local/lib/liblua.dylib /opt/local/bin/lua
comment:6 Changed 4 years ago by ierofant (Андрей Корнилов)
I found a problem with my system. Is was another liblua. Thank you very much for your help!
comment:7 Changed 4 years ago by ierofant (Андрей Корнилов)
Owner: | set to ierofant |
---|---|
Status: | new → assigned |
comment:8 Changed 4 years ago by kencu (Ken)
Resolution: | → invalid |
---|---|
Status: | assigned → closed |
glad you got it sorted out!
Note: See
TracTickets for help on using
tickets.
In the future, please fill in the Port field and add the port maintainer(s) to Cc (
port info --maintainers lua
), if any.