-
Notifications
You must be signed in to change notification settings - Fork 193
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
Cannot link library #1932
Comments
There are many errors like that in your log:
(here it's a bit weird that
-2 is |
Thanks @mkow for your reply! I'm not sure if it is a bug in concrete-ml but the same code works well in host without Gramine indeed. As you said, if there is something wrong with mounts, what can I do to fix these errors? For example, I should mount to some binaries like |
No need to specify separate files, just specify whole directories. So in this particular case, a mount like this is enough:
Similarly, to enable the files under e.g.
Read more info here: https://gramine.readthedocs.io/en/stable/manifest-syntax.html#fs-mount-points |
I have tried to mount the file and path it need. But there is still the same error. I am not sure if set the config in a wrong way or those configurations and errors are unrelated. Here is my manifest:
And here is the log.txt. |
From the log:
You only added the
|
Thanks @dimakuv for your help! When added /bin to log: |
This line seems to be problematic:
So the application wants to find This seems to be because So please add smth like this in your manifest and try again:
|
Thanks a lot, @dimakuv . It seems that we can use ld now when add the
manifest: |
Yes, it looks like your application creates a bunch of files under So you can instead use a classic (chroot) FS mount. Smth like this (replace that
This is absolutely insecure (as all files are simply visible to the host), but it should allow you to check the functionality of your application. Until the next problem in your Gramine experiments :) |
Thanks again, @dimakuv . In that case, it said |
@thempp66 You added You actually need to add |
Thank you all so much! It works now. That's really really important to our project. By the way, sorry about my unfamiliar with gramine and it's config. I'm going to learn more about the way of using Gramine and it's limitation. Thank you! |
Description of the problem
It seems that there are some errors when linking to the library.
Steps to reproduce
1.download and use gramine v1.7 docker image
2.install pip
3.install lib
install pip install -U pip wheel setuptools && pip install concrete-ml
4.make and run the demo
Expected results
Actual results
full log attachment:
log.txt
Below is the main error of the log:
Gramine commit hash
10e9353
The text was updated successfully, but these errors were encountered: