Problem compiling many Rosetta Code Nim programs: could not load: libgmp.dylib
Kenneth Wolcott
kennethwolcott at gmail.com
Wed Jan 1 01:05:42 UTC 2025
Hi Ryan;
Thank you for replying.
Here is more information regarding the problem I am experiencing.
I have attached some Nim source code (from Rosetta Code web site),
compile log, execution log and the pkg install log.
1. MacOS 15.2
2. M1 chip (arm64, aarch64)
3. MacPorts port: nim
4. nimble is the Nim package manager which comes with the nim port.
4. nimble install bignum (seems to successfully install, but I wonder if
it is silently installing an x86-64 pre-compiled binary??)
5. compile using: nim c ./arithmetic_geometric_mean_calculate_pi
6. execute: ./arithmetic_geometric_mean_calculate_pi
Compiling with debug, suggested by the execution failure message, did not
at all provide and additional information than compiling in default mode.
I do not recall specifically which external Nim pkg that I was able to
install and subsequently compile a Nim source which used it and
successfully executed, but it as at least one if not several, so I don't
thikthat this is a general silent Nim pkg installation failure.
Thanks again for the help with this issue.
Ken Wolcott
On Tue, Dec 31, 2024 at 1:56 PM Ryan Carsten Schmidt <
ryandesign at macports.org> wrote:
> On Dec 31, 2024, at 14:13, Kenneth Wolcott wrote:
> >
> > Any hints for me please?
>
> I'm not familiar with the software you're using. What ports should I
> install and what commands should I run to see the problem you're seeing?
> You're on an Apple Silicon Mac? What macOS version?
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20241231/948a9441/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: arithmetic_geometric_mean_calculate_pi.nim
Type: application/octet-stream
Size: 2566 bytes
Desc: not available
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20241231/948a9441/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: successful_compile.log
Type: application/octet-stream
Size: 1298 bytes
Desc: not available
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20241231/948a9441/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: execution_failure.log
Type: application/octet-stream
Size: 124 bytes
Desc: not available
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20241231/948a9441/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nimble_bignum_pkg_install.log
Type: application/octet-stream
Size: 3419 bytes
Desc: not available
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20241231/948a9441/attachment-0003.obj>
More information about the macports-users
mailing list