astrojuanlu / fenics-recipes

This repository contains conda recipes for the FEniCS libraries
The Unlicense
13 stars 15 forks source link

ImportError: libgfortran.so.1 #55

Closed GitH00t closed 8 years ago

GitH00t commented 8 years ago

Hello, I am having issues importing dolfin I followed the standard procedure using conda. Ubuntu 15.10

ImportError: libgfortran.so.1: cannot open shared object file: No such file or directory

I posted the results of

$ conda info -a
$ conda list
$ which python
$ python ~/.anaconda3/envs/fenics27/share/dolfin/demo/documented/poisson/python/demo_poisson.py

output

When I upgrade numpy I can get rid of the problem stated above, but then run into

ImportError: libboost_system.so.1.57.0: cannot open shared object file: No such file or directory

Since you pointed out in the faq that this might be related to linking I executed the command you specified and posted it to this gist lbboutput Unfortunately I am pretty newb at fenics and linux, so I don't really know what this is telling me. I also tried to install boost 1.55.0 from your channel, but the error remained.

Thanks for the time!

Cheers

GitH00t commented 8 years ago

Hey, problem was actually very easy to solve, but since I am super new it was not so obvious.

I upgrade numpy to 1.10.4 and then installed boost 1.57 Now I can run things normally. Issue can be closed.

astrojuanlu commented 8 years ago

Thanks @GitH00t, probably the instructions and dependencies should be updated.