Problems installing Ring 1.24 MacOs

182 views
Skip to first unread message

Philip Specht

unread,
Nov 4, 2025, 1:32:46 PM11/4/25
to The Ring Programming Language
Hi, I wanted to have a look at the Ring Language. Unfortunately I wasn't able to install it on my M1-Mac-
First way, I tried is downloading the Apple Silicon Package, but as soon as I want to start ring it gives me the following error message:

pspecht@iMac tools % ring
dyld[3567]: Library not loaded: /Users/runner/work/BuildingRingUsingGitHubWorkflows/BuildingRingUsingGitHubWorkflows/ring/language/src/../../lib/libring.dylib
  Referenced from: <7BF5B49A-50F7-335C-983D-97A4626DC4CB> /Users/pspecht/RingFormacOS/ring/bin/ring
  Reason: tried: '/Users/runner/work/BuildingRingUsingGitHubWorkflows/BuildingRingUsingGitHubWorkflows/ring/language/src/../../lib/libring.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/runner/work/BuildingRingUsingGitHubWorkflows/BuildingRingUsingGitHubWorkflows/ring/language/src/../../lib/libring.dylib' (no such file), '/Users/runner/work/BuildingRingUsingGitHubWorkflows/BuildingRingUsingGitHubWorkflows/ring/language/src/../../lib/libring.dylib' (no such file)
zsh: abort      ring

Then I tried the manual build, unfortunately this also didn't work. The complete build output is the following:
pspecht@iMac ~ % cd ring/build
pspecht@iMac build % ./buildclang.sh
Building Ring for macOS...
Building Compiler/VM...
Password:
Building Extensions...
Building RingAllegro...
Building RingFreeGLUT...
Building RingMurmurHash...
Building RingQt (Core)...
Building RingQt (LightGUILib)...
Building RingQt (GUILib)...
Building RingStbimage...
Building RingZip...
Building RingHTTPLib...
Building RingMySQL...
Building RingRayLib...
Building RingThreads...
Building RingCJSON...
Building RingInternet...
Building RingODBC...
Building RingRogueUtil...
Building RingConsoleColors...
Building RingLibUI...
Building RingOpenGL...
Building RingCurl...
Building RingLibuv...
Building RingOpenSSL...
Building RingSockets...
Building RingPDFGen...
Building RingFastPro...
Building RingPostgreSQL...
Building RingSQLite...
Building Tools...
Building Ring2EXE...
Building RingPM...
Building RingREPL...
Building RingFmt...
Building Folder2QRC...
Installing Ring...
Building Ring Tests...
Check for required Ring dylibs in ../lib
Missing: libringqt.dylib
Missing: libringqt_core.dylib
Missing: libringqt_light.dylib
Missing: libring_libui.dylib
One or more files are missing.

I can find all the missing libraries in the package folder from try no. 1, except the libring_libui.dylib. When I try to compile it manually, it gives me the following linker error message:
pspecht@iMac ringlibui % ./buildclang.sh
ld: warning: ignoring file 'macOS/libui.dylib': found architecture 'x86_64', required architecture 'arm64'
Undefined symbols for architecture arm64:
  "_uiAllocControl", referenced from:
      _ring_uiAllocControl in ring_libui.o
  "_uiAreaBeginUserWindowMove", referenced from:
      _ring_uiAreaBeginUserWindowMove in ring_libui.o
  "_uiAreaBeginUserWindowResize", referenced from:
      _ring_uiAreaBeginUserWindowResize in ring_libui.o
  "_uiAreaQueueRedrawAll", referenced from:
      _ring_uiAreaQueueRedrawAll in ring_libui.o
....

Maybe one of you guys can help me in getting Ring running....

Ilir Liburn

unread,
Nov 4, 2025, 2:16:39 PM11/4/25
to The Ring Programming Language
Hello Philip,

Message found architecture 'x86_64', required architecture 'arm64' is telling you required libraries are not native to Apple silicon.

Are you getting this message after downloading archive below?


Greetings,
Ilir

Philip Specht

unread,
Nov 4, 2025, 2:21:13 PM11/4/25
to The Ring Programming Language
Yes, the same archive. But when I follow the instructions included I get the following error, when I try to open RingNotepad.

pspecht@iMac ringnotepad % ring rnote.ring
dyld[18178]: Library not loaded: /Users/runner/work/BuildingRingUsingGitHubWorkflows/BuildingRingUsingGitHubWorkflows/ring/language/src/../../lib/libring.dylib
  Referenced from: <7BF5B49A-50F7-335C-983D-97A4626DC4CB> /Users/pspecht/Downloads/RingFormacOS/ring/bin/ring

  Reason: tried: '/Users/runner/work/BuildingRingUsingGitHubWorkflows/BuildingRingUsingGitHubWorkflows/ring/language/src/../../lib/libring.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/runner/work/BuildingRingUsingGitHubWorkflows/BuildingRingUsingGitHubWorkflows/ring/language/src/../../lib/libring.dylib' (no such file), '/Users/runner/work/BuildingRingUsingGitHubWorkflows/BuildingRingUsingGitHubWorkflows/ring/language/src/../../lib/libring.dylib' (no such file)
zsh: abort      ring rnote.ring

So that's the reason I tried the manual build.

Ilir Liburn

unread,
Nov 4, 2025, 2:25:08 PM11/4/25
to The Ring Programming Language
Hello Philip,

Which instructions you followed? Have you run ring/bin/install.sh as last step?

Greetings,
Ilir

Mahmoud Fayed

unread,
Nov 7, 2025, 8:06:49 AM11/7/25
to The Ring Programming Language
Hello Philip, Ilir

Just two comments

(1) RingLibui is not supported on macOS Apple Silicon as stated in the documentation: RingLibUI Extension — Ring 1.24.0 documentation

(2) As our friend Ilir said, using ring/bin/install.sh is necessary, Also, this file will call another file too which will set the libraries path: ring/bin/reviselibsformacos.sh at master · ring-lang/ring

Greetings,
Mahmoud  

Alex Shaw

unread,
Jan 14, 2026, 7:23:13 AMJan 14
to The Ring Programming Language

Hi Mahmoud

I am very intrigued by Ring but have also had trouble getting both 1.24 and 1.25 to work properly on MacOS.

The provided install package for 1.23 seems to work ok.

Like Philip, have had similar issues with the provided installers so have tried complying from source. Currently get further with 1.25 than 1.24.

At the moment, doing a complete build of 1.25 on a intel mac (running Sequoia 15.7.3) does allow me to get the main "ring" application working but when I try "ringpm" I get the following error.

% ringpm


Library File : libring_internet.dylib

Line 4 Error (R38) : Runtime Error in loading the dynamic library 

In loadlib() in file /Users/alex/ring/bin/load//../../extensions/ringinternet/internetlib.ring %    


"libring_internet.dylib" does exist in the "lib" folder and separately compiling RingInternet does not fix the issue.

When trying a complete build of 1.25 on a Apple Silicon machine (also running Sequoia 15.7.3), "ringpm" works as do some of the packages but when I attempt other packages like ring notepad the following happens.

% ringpm run ringnotepad 

================================================================================

RingNotepad Package

================================================================================

RingNotepad package for the Ring programming language

See the folder : ring/tools/ringnotepad

================================================================================


Library File : libringqt.dylib

Line 8 Error (R38) : Runtime Error in loading the dynamic library 

In loadlib() In function loadlibfile() in file /Users/alex/ring/libraries/guilib/loadlibfile.ring


Called from line 11 in file rnote.ring %  


Again, attempting a separate compile of RingQt does not seem to fix things.

It seems I am stuck on version 1.23 for now.

Any assistance appreciated.

regards
alex

Mahmoud Fayed

unread,
Jan 15, 2026, 7:05:09 PMJan 15
to The Ring Programming Language
Hello Alex

In Ring website - Download Page - Starting from Ring 1.24, we provide binary release for macOS (Apple Silicon)
In previous versions like Ring 1.23, we provided binary release for macOS (Intel)

When building from source code (GitHub), you could follow the same steps on (Apple Silicon) or (Intel)
Steps: 

(1) Get the source code

(2) Install homebrew (follow the directions on homebrew's homepage).


(3) Install Libraries
cd ring/build ./installdepmac.sh
(4) Complete Build (Compiler/VM, Extensions, Tools, etc.)

This will build everything

cd ring/build ./buildclang.sh
(5) To be able to call ring from any folder
cd ring/bin sudo ./install.sh
(6) Run Ring Notepad
ringpm run ringnotepad

Usually, problems happen when missing Steps (3) and Step (5) or when they are not completed successfully.

Greetings,
Mahmoud

Mahmoud Fayed

unread,
Feb 10, 2026, 2:31:31 PM (12 days ago) Feb 10
to The Ring Programming Language
Hello Alex

>> "Again, attempting a separate compile of RingQt does not seem to fix things."
>> "It seems I am stuck on version 1.23 for now."

Thanks for the report :D

homebrew qt@5 formula no longer install Qt WebEngine which disable building RingQt

I updated RingQt for macOS to avoid using Qt WebEngine
Also, updated Ring Notepad to avoid it and use QML QtWebView instead of it.

You can try Ring 1.26 by building from source code: ring/language/README_macOS.md at master · ring-lang/ring

Greetings,
Mahmoud

On Wednesday, January 14, 2026 at 3:23:13 PM UTC+3 harrys...@gmail.com wrote:

Alex Shaw

unread,
Feb 10, 2026, 6:00:19 PM (12 days ago) Feb 10
to The Ring Programming Language
Thank you Mahmoud.

I have successfully got it working on the Mac Silicon machine.

Just a few warnings but notepad worked and other samples I tried worked.

Here are the warnings:

Missing: libring_libui.dylib
One or more files are missing.


And when running notepad:

% ringpm run ringnotepad
================================================================================
RingNotepad Package
================================================================================
RingNotepad package for the Ring programming language
See the folder : ring/tools/ringnotepad
================================================================================
Warning: Trying to load LightGUILib while GUILib is already used! - Operation Canceled
Setting QT_MAC_WANTS_LAYER=1 and QSG_RENDER_LOOP=basic


But again everything seems to work.

However, on the Mac Intel machine there is a problem with ringpm.

Things build ok:

All required files are present.

But when trying run the notepad or even just rinpm itself it fails:

% ringpm run ringnotepad

Library File : libring_internet.dylib
Line 4 Error (R38) : Runtime Error in loading the dynamic library
In loadlib() in file /Users/alexshaw/ring/bin/load//../../extensions/ringinternet/internetlib.ring %

I have tried compiling internetlib separately but it still did not work.

Hope this helps.

Glad it is now working on the Silicon machine and really look forward to exploring your amazing language further.

regards
alex

Mahmoud Fayed

unread,
Feb 10, 2026, 7:50:45 PM (12 days ago) Feb 10
to The Ring Programming Language
Hello Alex

>> "I have successfully got it working on the Mac Silicon machine."
>> "Just a few warnings but notepad worked and other samples I tried worked."
>> "Glad it is now working on the Silicon machine and really look forward to exploring your amazing language further."

Very nice, Thank you very much for the reports :D

Greetings,
Mahmoud

Alex Shaw

unread,
Feb 21, 2026, 3:10:29 AM (yesterday) Feb 21
to The Ring Programming Language
Hi Mahmoud

Have just tried again to build from source on a Intel Mac and still get the following error..

% ringpm

Library File : libring_internet.dylib
Line 4 Error (R38) : Runtime Error in loading the dynamic library
In loadlib() in file /Users/alexshaw/ring/bin/load//../../extensions/ringinternet/internetlib.ring %

It's probably not a priority for you but are you abandoning Ring development on Intel Mac?

Apple are abandoning it so I understand moving to Apple Silicon only but there are still a lot of useful intel mac machines out there.

regards
alex

Mahmoud Fayed

unread,
Feb 21, 2026, 3:34:09 AM (yesterday) Feb 21
to The Ring Programming Language
Hello Alex

>> "It's probably not a priority for you but are you abandoning Ring development on Intel Mac?"

I don't have Mac machine to test myself, but you could think about this as a direction to detect/fix the problem

We added support for Apple Silicon (Without any changes to how Ring is used on Intel Mac) 

Since no changes are done to RingLibCurl/RingInternet, and it was working in the past on Intel Mac
And now we switched to Apple Silicon, and it works without any changes on AppleSilicon

We can say that (The problem is related to installing & building external libraries like LibCurl using Homebrew, then preparing it for usage by Ring using ring/bin/install.sh)

(1) Be sure that homebrew can install the required libraries
(2) Build RingLibCurl & RingInternet from source code
(3) Run ring/bin/install.sh

Greetings,
Mahmoud
Reply all
Reply to author
Forward
0 new messages