-
Notifications
You must be signed in to change notification settings - Fork 37
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
The created static file does not work on another Linux system #86
Comments
Hi Nick, could you possibly post the output binary you built so I can have a look? From my initial look, there's nothing you did wrong, and there's nothing you can do (outside of modifying staticx) to resolve it. It looks like this might be an ELF symbol versioning issue:
Perhaps |
Hi Jonathon,I apply the two mplayer files,static and debug.txt:
This file(mplayer1 ) was created on Linux Mint 18.3 Xfce.
I run the file on another hard drive with Linux Mint 19.1 Xfce installed.
Here I also notice this:
===============
next:
I run the static file on Linux Mint 19.1 Xfce,but I encounter the following problem:
I apply the two files,static and debug.txt: |
Hi @nick-dimitrov. I think your issue was caused by GLIBC NSS (see issue #129). This is evidenced by the fact that you're seeing errors related to
Version I'm reasonably confident it will fix the problem you were seeing, so I'm going to close this issue. Please try it out and report back! If it doesn't fix you issue, I'll be happy to re-open this. Thanks for the interest in my project. |
Hello, On my repo (https://github.com/mammo0/NordVPN-NetworkManager-Gui) I've encountered a similar error: My goal is to build a Python application with Pyinstaller and afterwards make it portable with staticx. Everything works fine on my local machine. But then I tried to automate the build process with GitHub actions. Their runners run by default on Ubuntu 18.04. Here is the build log of: Pyinstaller
and staticx: https://pastebin.com/tUF1dLFz If I try to execute the built binary on my local PC (Arch Linux), I get the following error message:
My local PC uses the libc version 2.32. The build system uses 2.27. Edit: Forgot to mention that I used latest Pyinstaller (4.0) and staticx (0.12.0) version. |
Hi @mammo0. Please open a new issue, rather than piling on to an existing issue. Reference this one if you believe it to be related. Also, please add Thanks. |
Thanks for your response, @JonathonReinhart! As you wanted I opened another issue #159 that includes the debug output. |
Hello,
Created static file "mplayer" on Linux Mint 18.3.Here it works correctly.
Log file:
Mint_18_DEBUG _mplayer.txt
In execution on Ubuntu 18.04 generates the following error:
Log file:
mplayer_ubuntu_18.txt
My info:
I did a few attempts by creating symbolic links. For example,
/usr/lib/x86_64-linux-gnu/samba/libsecrets3.so.0
Adding Symlink
libsecrets3.so
=>libsecrets3.so.0
I was not successful.
Could the reason be in missing
DT_NEEDED
tags as described in the comment,(line 106) in theelf.py
file.Where am I wrong? Can I bypass the problem? Thanks!
The text was updated successfully, but these errors were encountered: