Python anaconda links to GOMP_4.0 and throws error

ImportError: /usr/progtools/anaconda2/bin/../lib/libgomp.so.1: version `GOMP_4.0' not found (required by /usr/lib/x86_64-linux-gnu/libsoxr.so.0)

 

It's just caused of Anaconda's gcc libs was compiled by gcc4.xx. by the system owned gcc version is gcc5.xx...

I've hacked this problem with copy

libgomp.so.1.0.0, libquadmath.so.0.0.0, libstdc++.so.6.0.21 these files from :

/usr/lib/x86_64-linux-gnu/

to :

/yourAnacondaPath/anaconda2/pkgs/libgcc-4.8.5-2/lib

/yourAnacondaPath/anaconda2/lib

and then create the links; it works for me

posted @ 2017-01-03 16:24  lyjsy  阅读(1460)  评论(0编辑  收藏  举报