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

ldflags: link against libm #8

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

btwotch
Copy link

@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