-
Notifications
You must be signed in to change notification settings - Fork 59
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
Compiler error on arm64 / rpi #29
Comments
@svenger87 could you please describe more how you install rocksdb:
There is no builtin-static lib for arm64 at the moment. So, please make sure that you install rocksdb before building |
Thanks for your answer so far. It already fails for the go get.
|
@svenger87 as your rocksdb version (6.5.3), I think you should use this version of Please try: go get github.com/linxGnu/grocksdb@1.6.11 |
@linxGnu i recompiled to 6.16.3 and get the same. |
Could you please try this:
In this way, please replace |
Just one more thing, as I see your upgraded to rocksdb 6.16.3. I think you could use latest version of Please let me know if I could help |
1.6.11 is working. But as soon as i try to fetch a more recent version i get the errors above. This really only happens on arm64. amd64 is building fine. |
Yeah, as I remember: from rocksdb 1.1x, there are breaking changes. That's why you should use proper version of I am sorry, I don't have arm64 device here to help you. So, currently:
Could you please confirm your current situation. I see the mix of issue reporting. First: rocksdb 6.5.3, then rocksdb 6.16.3. |
1.6.11 is working for both. With 6.5.3 and 6.16.3. |
@svenger87 I could OS:
Go env:
Build rocksdb with this script:
Noted:
Then
I think you could give it a try. And, grocksdb 1.6.32 is built up on rocksdb 6.16.3. It DOES NOT work for rocksdb 6.5.3 |
Okay. go get is working now. No i have tons of other errors compiling the binary i want to build. 🛠️ Thanks for your help so far. Much appreciated. |
I was missing gccgo. Fixed. |
I´m trying to compile the project mentioned in #28 on a raspberry Pi4 running ubuntu 20.10 arm64.
The compiler interrupts with
/root/go/pkg/mod/github.com/linx!gnu/grocksdb@v1.6.32/backup.go:44:13: could not determine kind of name for C.rocksdb_backup_engine_open_opts /root/go/pkg/mod/github.com/linx!gnu/grocksdb@v1.6.32/backup.go:136:2: could not determine kind of name for C.rocksdb_backup_engine_restore_db_from_backup
Do you have any idea how to get around this?
The text was updated successfully, but these errors were encountered: