Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ld error running "go build" with go-dqlite version > 1.8.0 #162

Closed
JeremyV2014 opened this issue Oct 27, 2021 · 3 comments
Closed

ld error running "go build" with go-dqlite version > 1.8.0 #162

JeremyV2014 opened this issue Oct 27, 2021 · 3 comments

Comments

@JeremyV2014
Copy link

Hi,

I get the following errors when I run go build -tags libsqlite3 in my project that is using dqlite:

image

Everything built fine in v1.8.0, but I get this error for both v1.9.0 and v1.10.0. I have built and installed the latest version of C-raft and dqlite C library from source following the Readme in the dqlite repo.

Any help getting this working would be greatly appreciated. Thanks!

@MathieuBordere
Copy link
Contributor

MathieuBordere commented Oct 27, 2021

Those symbols should be known in the master of dqlite and latest release. Are the packages you installed from the ppa interfering with the library you installed from source ? (try removing the ppa package).
Can you try running sudo ldconfig and see if that solves anything?

@JeremyV2014
Copy link
Author

Whoops! It was leftover packages from the ppa interfering. That was driving me nuts. Thanks, @MathieuBordere !

@MathieuBordere
Copy link
Contributor

Will sort the ppa package out soon, sorry for the inconvenience.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants