-
Notifications
You must be signed in to change notification settings - Fork 31
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
couchbase=1.0.0-alpha.4 not working with libcouchbase setup on bullseye and buster #136
Comments
Hi @anshul-mohil thanks for the detailed report. When you say
Are you saying that when you run Is the problem here that when the SDK is built then the bundled libcouchbase is being built with a different name to what the SDK is expecting and looking for? |
Hi @chvck , Thanks for your quick reply. Appreciate it!
There is no issue building couchbase-rs based app without libcouchbase present at os level(I am suspecting its because as you mentioned alpha comes bundled with libcouchbase), so no problem running However issue surface when running built binary(taking above mentioned docker file as context: at step
Is there a way you can suggest me to verify possibility of such issue? |
To solve this issue, I had to place file at "/usr/lib/x86_64-linux-gnu/libcouchbase.so.6" manually in docker container as marked in docker file. I am hoping to avoid this manual step if possible. |
Hi @anshul-mohil thanks for updating, I'll take a look into this and get back to you. |
@anshul-mohil just to let you know that I've managed to reproduce this, and I'm looking into it. |
@chvck , Thank you for working on it. Great News! Looking forward to hear more. 👍🏼 |
Problem:
Unable to run application using
couchbase=1.0.0-alpha.4
as it require a specific libcouchbase binary which is not present after C SDK setup.C SDK setup doesn't seems to generate
/usr/lib/x86_64-linux-gnu/libcouchbase.so.6
binary for buster and bullseye debian versions, which seems to be required by couchbase-rs based app to run.Error:
libcouchbase binaries seems to have slightly different binary names on different debian/libcouchbase(2/3) versions when following C SDK setup guide. Is couchbase-rs tightly coupled with libcouchbase.so.6 file?
Environment/Setup details:
App dependencies same as mentioned at #135 (switched to using
couchbase=1.0.0-alpha.4
)Build env: Docker image rust:1-bullseye OR rust:1-buster
Prerequisite steps: setup libcouchbase by following C SDK setup as marked in below Dockerfile
Below Dockerfile is used to build/run rust application with couchbase-rs
1.0.0-alpha.4
.I was able to build and run couchbase-rs based app by manual copy of
libcouchbase.so.6.0.4
binary( removing manual copy should help re-generate issue)The text was updated successfully, but these errors were encountered: