casanova's People
casanova's Issues
ImportError on CASA libraries (.so)
Hello!
I've followed the steps in order to install casanova, but I'm getting an "ImportError: __casac__/_atmosphere.so: failed to map segment from shared object" whenever I import casa, and the python interpreter gets to the line "_mod = imp.load_module('_atmosphere', fp, pn, desc)" on the file "python_packages/__casac__/atmosphere.py"
I think the problem may be related to PatchELF, so in the installation script, in the loop where you call patchelf on every library file, I've added a "debug command" on line 81:
echo patchelf --set-rpath '$ORIGIN' $f
In order to see what is happening with the patchelf command, and the results were quite impressive:
patchelf --set-rpath $ORIGIN _atmosphere.so
As you can see, the environment variable $ORIGIN it seems to be taken as a literal value, however, I've tinkered a little bit, and changed the single quotes on my debug line to this (I've replaced the single quotes by double quotes):
echo patchelf --set-rpath "$ORIGIN" $f
But the results were quite depressing:
patchelf --set-rpath _atmosphere.so
As you can see, the command sent had a empty value on the variable $ORIGIN. Also, I've searched on the install_casanova script the word "ORIGIN", and the only two matches of this search were on line 73 and 81, but on this matches the script is reading the value of the variable: this variable has no assignation at all on the whole script. Where does this variable acquire it's value?
Best regards,
Karl
PS: I'm running OpenSuse Leap 42.2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.