compose icon indicating copy to clipboard operation
compose copied to clipboard

Readline errors when running binary on arch linux

Open renato-zannon opened this issue 12 years ago • 45 comments

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).

renato-zannon avatar Mar 26 '14 15:03 renato-zannon

Exactly the same problem here.

djmaze avatar Mar 27 '14 07:03 djmaze

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.

aanand avatar Mar 27 '14 12:03 aanand

+1 having this issue as well, Arch Linux. No breakage, just messages

erickbrower avatar Apr 23 '14 22:04 erickbrower

Just ran into this myself on an arch host.

LeviSchuck avatar Nov 17 '14 01:11 LeviSchuck

@kloplop321 what version of Fig?

aanand avatar Nov 17 '14 12:11 aanand

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.

LeviSchuck avatar Nov 17 '14 12:11 LeviSchuck

OK, so not the binary. Does the binary work, if you follow the instructions at http://www.fig.sh/install.html?

aanand avatar Nov 17 '14 12:11 aanand

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.

LeviSchuck avatar Nov 17 '14 12:11 LeviSchuck

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

nlamirault avatar Dec 15 '14 10:12 nlamirault

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

bketelsen avatar Dec 15 '14 21:12 bketelsen

+1

yawnt avatar Feb 02 '15 13:02 yawnt

Still a thing :(

Any idea how we can fix this (installing readline or something) ?

fantattitude avatar Feb 13 '15 20:02 fantattitude

+1

jghibiki avatar Feb 17 '15 20:02 jghibiki

I'm having the same issue as well. Running on Arch and installed fig from the shell script posted in the website.

jpanganiban avatar Feb 18 '15 07:02 jpanganiban

+1

cosmicnag avatar Feb 20 '15 10:02 cosmicnag

+1

lapubell avatar Feb 24 '15 00:02 lapubell

+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

diegomvh avatar Feb 25 '15 02:02 diegomvh

+1

atmoz avatar Feb 25 '15 19:02 atmoz

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.

aanand avatar Feb 26 '15 11:02 aanand

./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.

bketelsen avatar Feb 26 '15 11:02 bketelsen