Skip to content

Mudlet 4.17 can't find rex_pcre on macOS #6668

@vadi2

Description

@vadi2

Brief summary of issue / Description of requested feature:

[ ERROR ] - Cannot find Lua module rex_pcre.
            Lua error: error loading module 'rex_pcre' from file '/Applications/Mudlet.
app/Contents/MacOS/rex_pcre.so':
                    dlopen(/Applications/Mudlet.app/Contents/MacOS/rex_pcre.so, 0x0002): Library 
not loaded: @executable_path/../Frameworks/libpcre.1.dylib
              Referenced from: <396C0E65-82B7-3540-AE7D-453728309F82> /Applications/Mudlet.
app/Contents/MacOS/rex_pcre.so
              Reason: tried: '/Applications/Mudlet.app/Contents/Frameworks/libpcre.1.dylib' (no 
such file), '/System/Volumes/Preboot/Cryptexes/OS@executable_path/../Frameworks/libpcre.1.dylib' 
(no such file), '/Applications/Mudlet.app/Contents/Frameworks/libpcre.1.dylib' (no such file), 
'/usr/local/lib/libpcre.1.dylib' (no such file), '/usr/lib/libpcre.1.dylib' (no such file, not in 
dyld cache)
            Some functions may not be available.
[  OK  ]  - Lua module sqlite3 loaded.
[  OK  ]  - Lua module lua-utf8 loaded.
[  OK  ]  - Lua module yajl loaded.
[ ERROR ] - Couldn't find, load and successfully run LuaGlobal.lua - your Mudlet is broken!
            Tried these locations:
            /Applications/Mudlet.app/Contents/MacOS/../Resources/mudlet-lua/lua/LuaGlobal.lua 
([string "-- Mudlet Lua packages loader..."]:178: ...t.app/Contents/Resources/mudlet-
lua/lua/GUIUtils.lua:2012: attempt to index global 'rex' (a nil value))
            /Applications/Mudlet.app/Contents/MacOS/mudlet-lua/lua/LuaGlobal.lua (doesn't exist)
            /Applications/Mudlet.app/Contents/MacOS/../src/mudlet-lua/lua/LuaGlobal.lua (doesn't 
exist)
            /Applications/Mudlet.app/Contents/MacOS/../../src/mudlet-lua/lua/LuaGlobal.lua (doesn't 
exist)
            /Applications/Mudlet.app/Contents/MacOS/../../mudlet/src/mudlet-lua/lua/LuaGlobal.lua 
(doesn't exist)
            /usr/local/share/mudlet/lua/LuaGlobal.lua (doesn't exist)

Steps to reproduce the issue / Reasons for adding feature:

  1. Launch 4.17 on macOS

Error output / Expected result of feature

It should launch fine as before

Extra information, such as the Mudlet version, operating system and ideas for how to solve / implement:

Questionable testing on release day by me

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions