Problems installing Ring 1.24 MacOs

120 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
Reply all
Reply to author
Forward
0 new messages