Closed peterlus closed 2 years ago
Hi @peterlus.
Can you provide more information about what you're building?
I see Python code, so I'm assuming you're using staticx
to wrap up a PyInstaller single-binary output. But I also see that you're trying to run dmidecode
. Does your program expect dmidecode
to already be installed on the target system? Or are you bundling it in your PyInstaller application? Or am I misunderstanding your use-case entirely?
I'm currently thinking that you're relying on dmidecode
to be on the target system. It's possible, although I'm not sure how, that the staticx bootloader is somehow affecting the environment and preventing dmidecode
from running.
If you're bundling dmidecode
from a newer OS in a PyInstaller app, then that is the problem: staticx doesn't work recursively on bundled applications.
Hi @peterlus.
Version v0.11.0
was just released which contains #139, a major fix for NSS, and #138 which should prevent incorrect libraries from being attempted to be loaded in the first place.
I encourage you to try it out and report back!
Haven't heard anything in a very long time.
build on debian 9, worked well in debian/ubuntu and centos7 only exceptions on centos 6 with following error:
source file is simple:
seems it failed on execute with
os.popen
andsubprocess