Hi;

"Something" went wrong with MacPorts GMP

Why am I "alleging" that MacPorts GMP is the cause of my GMP problems?
Because the "problems" show up in my C++, Go and Perl GMP modules only
today (well, the first time I have used C++, Go and Perl with GMP
recently). Also because the error messages look like GMP has vanished.

Perl:

Couldn't load the specified math lib(s) 'Math::BigInt::GMP', so using
fallback lib 'Math::BigInt::Calc' at ./juggler_sequence.pl line 7.

I have not removed any Perl modules nor installed any Perl modules in
quite some time.

Go:

go: creating new go.mod: module example.com/m/v2
go: to add module requirements and sums:
        go mod tidy
go: finding module for package golang.org/x/exp/constraints
go: finding module for package github.com/ncw/gmp
go: found github.com/ncw/gmp in github.com/ncw/gmp v1.0.5
go: found golang.org/x/exp/constraints in golang.org/x/exp
v0.0.0-20260611194520-c48552f49976
# command-line-arguments
/opt/local/lib/go/pkg/tool/darwin_arm64/link: running /usr/bin/clang
failed: exit status 1
/usr/bin/clang -arch arm64 -Wl,-S -Wl,-x -o
$WORK/b001/exe/juggler_sequence -Qunused-arguments
/var/folders/f7/q14k59r11z310fdpl0m5mlc80000gn/T/go-link-3008617484/go.o
/var/folders/f7/q14k59r11z310fdpl0m5mlc80000gn/T/go-link-3008617484/000000.o
/var/folders/f7/q14k59r11z310fdpl0m5mlc80000gn/T/go-link-3008617484/000001.o
/var/folders/f7/q14k59r11z310fdpl0m5mlc80000gn/T/go-link-3008617484/000002.o
/var/folders/f7/q14k59r11z310fdpl0m5mlc80000gn/T/go-link-3008617484/000003.o
/var/folders/f7/q14k59r11z310fdpl0m5mlc80000gn/T/go-link-3008617484/000004.o
/var/folders/f7/q14k59r11z310fdpl0m5mlc80000gn/T/go-link-3008617484/000005.o
/var/folders/f7/q14k59r11z310fdpl0m5mlc80000gn/T/go-link-3008617484/000006.o
/var/folders/f7/q14k59r11z310fdpl0m5mlc80000gn/T/go-link-3008617484/000007.o
/var/folders/f7/q14k59r11z310fdpl0m5mlc80000gn/T/go-link-3008617484/000008.o
/var/folders/f7/q14k59r11z310fdpl0m5mlc80000gn/T/go-link-3008617484/000009.o
/var/folders/f7/q14k59r11z310fdpl0m5mlc80000gn/T/go-link-3008617484/000010.o
/var/folders/f7/q14k59r11z310fdpl0m5mlc80000gn/T/go-link-3008617484/000011.o
/var/folders/f7/q14k59r11z310fdpl0m5mlc80000gn/T/go-link-3008617484/000012.o
/var/folders/f7/q14k59r11z310fdpl0m5mlc80000gn/T/go-link-3008617484/000013.o
-O2 -g -lgmp -lgmp -O2 -g -framework CoreFoundation -lresolv
ld: warning: ignoring duplicate libraries: '-lgmp'
ld: library 'gmp' not found
clang: error: linker command failed with exit code 1 (use -v to see invocation)

I have not installed or removed any Go packages in quite some time.

I don't have the error messages from C++ handy right now.

I uninstalled and reinstalled the gmp MacPorts package.  No change.

Please provide a diagnostic approach for me to solve this problem.

These things were working until just now (I don't recall exactly the
last time I used them, but it was working just fine then).

Thanks,
Ken Wolcott

Reply via email to