You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By default, my project links against not thread safe libbrrd that causes mess with errors from different Update() calls.
Changing #cgo pkg-config: librrd directive to #cgo LDFLAGS: -lrrd_th in rrd_c.go fixes the issue.
What is the suggested way to link against thread safe library when using pkg-config?
This commit switched setting of linker options to pkg-config for the reason not clear from the comment.
Thanks,
Vadim
The text was updated successfully, but these errors were encountered:
Hello,
By default, my project links against not thread safe libbrrd that causes mess with errors from different Update() calls.
Changing
#cgo pkg-config: librrd
directive to#cgo LDFLAGS: -lrrd_th
in rrd_c.go fixes the issue.What is the suggested way to link against thread safe library when using pkg-config?
This commit switched setting of linker options to pkg-config for the reason not clear from the comment.
Thanks,
Vadim
The text was updated successfully, but these errors were encountered: