basak / certbot-snap-build

0 stars 3 forks source link

python-augeas is hacked to find libaugeas.so.1 inside the snap #4

Open basak opened 6 years ago

basak commented 6 years ago

The current workaround is broken when using the snapcraft snap (since in that case $SNAP is set, and the workaround uses it to distinguish between build time and runtime and wrongly assumes runtime instead of build time in that case). To build currently, the snapcraft deb must be used.

bmw commented 6 years ago

The upstream issue for this is https://github.com/hercules-team/python-augeas/issues/32.

Setting LD_LIBRARY_PATH should solve the problem. I wonder if this is something the snap system should already be doing though since snap packages include their own copy of their dependencies.

If this doesn't work and we need a change from python-augeas, I'm happy to help try and make that happen.