[python] gramine-manifest ldd IndexError: list index out of range - How to use {{ ldd() }} #1410
Replies: 2 comments 4 replies
-
You're probably the first person to use the @woju You introduced this @Jonas-Eppard By the way, your way of using this gramine/CI-Examples/python/python.manifest.template Lines 23 to 25 in fdd3417 |
Beta Was this translation helpful? Give feedback.
-
I'm attempting a fix in #1411, it's now running CI. Can I ask for |
Beta Was this translation helpful? Give feedback.
-
I want to run a C application inside gramine. The C application is linked against shared libraries. As described in the docs I should be able to use ldd to get all the needed libraries for the application. But gramine-manifest throws an error if {{ ldd(...) }} is specified.
Recreate
Dockerfile
Error
This Docker file fails on build with:
t.c
t.manifest.template
Output of ldd t
I know that the manifest.template is not sufficient for a full enclaved application but it is a minimal failing example.
Is the usage of ldd wrong or did I encounter a bug?
Furthermore will it be sufficient to specify ldd in the trusted_files or should this also be inside of the fs.mounts?
Beta Was this translation helpful? Give feedback.
All reactions