Skip to content
This repository was archived by the owner on Oct 31, 2023. It is now read-only.

ldflags: link against libm#8

Open
btwotch wants to merge 1 commit intomitchellh:masterfrom
btwotch:fix_compiling_link_math
Open

ldflags: link against libm#8
btwotch wants to merge 1 commit intomitchellh:masterfrom
btwotch:fix_compiling_link_math

Conversation

@btwotch
Copy link
Copy Markdown

@btwotch btwotch commented Jul 16, 2022

otherwise I get:

# github.com/mitchellh/go-z3
/usr/bin/ld: ./libz3.a(hwf.o): undefined reference to symbol 'remainder@@GLIBC_2.2.5'
/usr/bin/ld: /usr/lib64/libm.so.6: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make: *** [Makefile:25: test] Error 2

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant