From 1eff53636c762525216e9cd22ba6612ed21f4c3c Mon Sep 17 00:00:00 2001 From: Julian Schrenk Date: Fri, 11 Mar 2016 12:49:07 +0000 Subject: [PATCH] add gfort preload --- .travis.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.travis.yml b/.travis.yml index cca14ec1..a07128dc 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,6 +16,16 @@ before_install: # Use miniconda and conda packages to speed up dependency setup (principally # borrowed from https://gist.github.com/dan-blanchard/7045057 # and https://github.com/Jorge-C/ordination/blob/master/.travis.yml + - export LD_PRELOAD=$LD_PRELOAD:/usr/lib/x86_64-linux-gnu/libgfortran.so.3 + # The preceding line was added to solve an issue with travis where we + # got errors like the following: + # $ nosetests -v --with-coverage pele + # Failure: ImportError (/home/travis/miniconda/envs/pelenv/bin/../lib/libgfortran.so.3: + # version `GFORTRAN_1.4' not found (required by + # /home/travis/miniconda/envs/pelenv/lib/python2.7/site-packages/ + # pele/transition_states/_orthogoptf.so)) ... ERROR + # It seems that the solution proposed in the link below fixes this: + # http://code-saturne.org/forum/viewtopic.php?f=3&t=1687&sid=9912a7abac3b92c1b067fc495521ed7a&start=10 - pwd - sudo apt-get update -qq - sudo apt-get install -qq libatlas-dev libatlas-base-dev liblapack-dev gfortran lcov