Readline errors when running binary on arch linux
Hi!
If I get the binary from https://github.com/orchardup/fig/releases/download/0.3.2/linux and run on my Arch Linux, I get a few errors on startup:
$ /usr/local/bin/fig --version
sh: symbol lookup error: sh: undefined symbol: rl_signal_event_hook
sh: symbol lookup error: sh: undefined symbol: rl_signal_event_hook
sh: symbol lookup error: sh: undefined symbol: rl_signal_event_hook
sh: symbol lookup error: sh: undefined symbol: rl_signal_event_hook
fig 0.3.2
However, if I install directly from pip, these errors don't appear.
From a bit of googling it seems to me they are related to the readline version... Might be some incompatibility with a bundled library in the binary version.
I haven't had any issues apart from the annoying messages though (console apps work fine).
Exactly the same problem here.
Could be related to https://github.com/orchardup/fig/issues/102#issuecomment-37140549 - the binary isn't fully static, sadly. Wonder if we can convince PyInstaller to bundle its own readline, or if simply compiling against an older one would fix it.
+1 having this issue as well, Arch Linux. No breakage, just messages
Just ran into this myself on an arch host.
@kloplop321 what version of Fig?
Which ever one was on pip.
On Monday, November 17, 2014, Aanand Prasad [email protected] wrote:
@kloplop321 https://github.com/kloplop321 what version of Fig?
— Reply to this email directly or view it on GitHub https://github.com/docker/fig/issues/170#issuecomment-63298440.
OK, so not the binary. Does the binary work, if you follow the instructions at http://www.fig.sh/install.html?
Yes, the curl | sh instructions worked.
On Monday, November 17, 2014, Aanand Prasad [email protected] wrote:
OK, so not the binary. Does the binary work, if you follow the instructions at http://www.fig.sh/install.html?
— Reply to this email directly or view it on GitHub https://github.com/docker/fig/issues/170#issuecomment-63299077.
Not for me
$ curl -L https://github.com/docker/fig/releases/download/1.0.1/fig-`uname -s`-`uname -m` > ./fig
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 392 0 392 0 0 537 0 --:--:-- --:--:-- --:--:-- 536
100 5124k 100 5124k 0 0 687k 0 0:00:07 0:00:07 --:--:-- 795khm
$ chmod +x ./fig
$ ./fig --version
sh: symbol lookup error: sh: undefined symbol: rl_signal_event_hook
sh: symbol lookup error: sh: undefined symbol: rl_signal_event_hook
sh: symbol lookup error: sh: undefined symbol: rl_signal_event_hook
sh: symbol lookup error: sh: undefined symbol: rl_signal_event_hook
fig 1.0.1
me too.
fig ps
sh: symbol lookup error: sh: undefined symbol: rl_signal_event_hook
sh: symbol lookup error: sh: undefined symbol: rl_signal_event_hook
sh: symbol lookup error: sh: undefined symbol: rl_signal_event_hook
sh: symbol lookup error: sh: undefined symbol: rl_signal_event_hook
sh: symbol lookup error: sh: undefined symbol: rl_signal_event_hook
sh: symbol lookup error: sh: undefined symbol: rl_signal_event_hook
Name Command State Ports
------------------------------
version 1.0.1 installed from curl/shell pipe command
+1
Still a thing :(
Any idea how we can fix this (installing readline or something) ?
+1
I'm having the same issue as well. Running on Arch and installed fig from the shell script posted in the website.
+1
+1
+1
$ fig --version
sh: symbol lookup error: sh: undefined symbol: rl_signal_event_hook
sh: symbol lookup error: sh: undefined symbol: rl_signal_event_hook
sh: symbol lookup error: sh: undefined symbol: rl_signal_event_hook
sh: symbol lookup error: sh: undefined symbol: rl_signal_event_hook
fig 1.0.1
Running on Arch and installed fig using the shell script
+1
We should investigate whether building the binary on Arch Linux solves this problem. This basically means changing the FROM line at the top of the Dockerfile to an Arch image (sadly, there doesn't seem to be an official one) and then getting the rest of the build to work.
./docker-compose-Linux-x86_64 sh: symbol lookup error: sh: undefined symbol: rl_signal_event_hook sh: symbol lookup error: sh: undefined symbol: rl_signal_event_hook sh: symbol lookup error: sh: undefined symbol: rl_signal_event_hook sh: symbol lookup error: sh: undefined symbol: rl_signal_event_hook Fast, isolated development environments using Docker.
Still an issue.