libreadline.so.6 error on Suse12
I'm using PyInstaller to pack my application for distribution on Linux servers.
To support a large amount of Linux flavors and versions I'm using Docker image with an old glibc version to build and pack the application.
Everything working on Ubuntu/Debian/Rhel/CentOS & Suse11, when I tried to run the application on Suse12 server and got this error:
/bin/sh: /dist/app/libreadline.so.6: no version information available (required by /bin/sh)
/bin/sh: relocation error: /bin/sh: symbol rl_filename_stat_hook, version READLINE_6.3 not defined in file libreadline.so.6 with link time referenceWhat is this library for?
The libreadline version in the building machine is 6.1-1
(test) root@aed98870a11d:/# dpkg -l | grep libreadline
ii libreadline-dev 6.1-1 GNU readline and history libraries, developm
ii libreadline6 6.1-1 GNU readline and history libraries, run-time
ii libreadline6-dev 6.1-1 GNU readline and history libraries, developmIt looks like some of the code is running (I can see some output) but not sure if all aspects are working. I'm still investigating this and will update if I get any new information.
Update: Building a simple "Hello World" executable works without this error so it is probably one of my import that causes this issue.
If I will upgrade readline version before building python will it help?
PyInstaller: 3.6 OS: Linux (Suse12) Python: 3.7.5/2.7.16
Source: pyinstaller/pyinstaller