-
Notifications
You must be signed in to change notification settings - Fork 5.3k
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
Fig not working on CentOS 6 #102
Comments
Looks like an Python 2.6/2.7 issue - the
I'll see if it's an easy fix, but if you're able, upgrading to Python 2.7 should fix it. |
Ih ! The main problem with using a recent (decent ? :-)) python version on RHEL is that it can interfers with yum ecosystem, built on python (2.6.x). After some researches, i managed to install a python v2.7.6 and succesfully run fig into my CentOS box. Here is a gist of my first shell script used to automate the install : https://gist.github.com/dduportal/9293135 Do you want a pull request to the documentation for CentOS support with a more "sophisticated" version of this script (i'm thinking about future versions of python) ? |
@dduportal We've just released Fig 0.3.0 with binaries for Darwin and Linux. Care to give it a try? http://orchardup.github.io/fig/install.html If it works, I'll close this issue. |
@aanand : First try : Centos 6.5 x64, with default python (2.6.x) and fig 0.3.1 freshly curled, seems like missing native libs on my box :
I'll give a try with python 2.7 |
Oh good grief I thought Pyinstaller created static binaries. I guess we need to link against an older version of libc. Ubuntu 12.04 (the oldest available on Docker) comes with libc 2.15. I guess we could compile inside Centos, then in theory it'll work on Ubuntu. |
It's nothing to do with your Python version – don't worry. The binary comes with a Python interpreter. It's just linked to the wrong version of libc. |
Hey that's awesome if you embed your python interpreter! I was managing to run fig into boot2docker (https://github.com/boot2docker/boot2docker), a very small linux for running docker on dev envs :-) It'll be cool ! I'll give you some feedback on boot2docker too. |
Would be interested to hear, thanks! We've got an issue about about that here: #26 |
I'm chiming in to say I have this exact same problem. I'd love for my provisioning script to stay simple, rather than compiling Python 2.7 just to run fig. |
@devinus it seems that compiling python no longer resolve this. The new fig embed its own python install, which is very cool, they're just facing little disagrements with static libs :-) Wait & see |
Some more tests with Centos 6.5 base box x64 [vagrant@vagrant-centos65 ~]$ fig --version (with this public vagrant basebox : https://github.com/2creatives/vagrant-centos/releases/download/v6.5.1/centos65-x86_64-20131205.box) |
According to http://www.pyinstaller.org/wiki/FAQ:
|
same issue
|
Bump. |
+1 |
So forgive my ignorance but what is the correct fix for this? I'd like to be able to run the storm-docker project (https://github.com/wurstmeister/storm-docker) and it requires fig. I'm running CentOS 6. I get the /lib64/libc.so.6: version `GLIBC_2.14' not found (required by /tmp/_MEIWyw34L/libz.so.1) error after installing via curl. |
I guess you need to |
Using https://github.com/jordansissel/fpm to create rpm/debs instead of of just bins with pyinstaller might make fig easier to install. I ran |
Since this issue is still unresolved I am guessing it remains an issue? |
Bump. Definitely still an issue. Testing on fresh baked CentOS 6.5.
|
Would be worth seeing if we can get the Dockerfile to use CentOS 6 (or something with an equivalently old libc). |
+1, it says here that installing glibc 2.14 on CentOS 6 is probably not a good idea and will break everything. |
I got it to work on CentOS 6.5: sudo yum install python-pip I was having the same glibc 2.14 issue everyone else has been having using curl to download a release and so I did the above and it worked like a champ. |
Hopefully a solution to docker#102. Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
Could anyone who experiences this issue try building and running the binary according to the instructions in #405? (@dduportal @devinus @proppy @omeid @neoziro @alandman81 @ratabora @rweng @taylodl) |
Confirmed it works on centos6 docker image and my centos 6.5 VM. Thanks for the work ! |
RHEL 6.5 Error $ fig --version $ python --version |
@jengstrom Have you tried building and running the binary in #405? |
Hi, after some tries to install and run Fig on my centos 6 x64 box, i'm unable to run it on this box.
Briefly, is my problem :
So, is anyone reproducing this on CentOS ? Given i'm not a python guy, i don't have the background to judge what is missing (python version ? pip issue ? Fig dependencies broken ?), please help me :-)
Thanks in advance for the work !
The text was updated successfully, but these errors were encountered: