Comments (6)
I cannot reproduce this issue:
I removed all old libgimli.so and pygimli.so from the current paths and tried:
cp -r gimli gimli.test
cd gimli.test/trunk/python
export PYTHONPATH=/home/carsten/src/gimli.test/trunk/python/
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/carsten/src/gimli.test/build/lib/
python -c 'import pygimli as pg; print(pg.versionStr())'
libgimli-0.9.7
I think ldd shows dynamic content related to your LD_LIBRARY_PATH settings.
from gimli.
Sorry, my mistake. Obviously forgot to reset the LD_LIBRARY_PATH.
from gimli.
I am having an issue with that library.
[ 21%] Linking CXX shared module /Users/antonio/src/gimli/gimli/python/pygimli/core/pygimli.so
Undefined symbols for architecture x86_64:
Am I missing something? I am compiling on mac
from gimli.
Did your followed the steps here?:
https://www.pygimli.org/installation.html#installation-on-mac-os
We currently don't have access to any mac hardware so we can't reproduce this problem.
from gimli.
I see, yes I am following those instructions. Everything worked fine until the command make pygimli
from gimli.
Hi,
I have the same problem as @ladominguez following the pygimli.org instructions for mac.
The attempted python version to install with is: 3.6.5. I've modified the lines above the command make -j 8
in the instructions by:
cmake ../gimli -DPYTHON_EXECUTABLE="/usr/local/bin/python3" -DPYTHON_INCLUDE_DIR="/usr/local/Cellar/python/3.6.5/Frameworks/Python.framework/Versions/3.6/include/python3.6m" -DPYTHON_LIBRARY="/usr/local/Cellar/python/3.6.5/Frameworks/Python.framework/Versions/3.6/lib/libpython3.6.dylib" -DPY_NUMPY="/usr/local/lib/python3.6/site-packages/numpy"
export CPLUS_INCLUDE_PATH=/usr/local/Cellar/python/3.6.5/Frameworks/Python.framework/Versions/3.6/Headers
Everything goes ok until make pygimli
gets to the last step:
Linking CXX shared module /path/to/gimli/gimli/python/pygimli/core/_pygimli_.so
Undefined symbols for architecture x86_64:
"boost::python::detail::init_module(PyModuleDef&, void (*)())", referenced from:
_PyInit__pygimli_ in _pygimli_.main.cpp.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[7]: *** [/path/to/gimli/gimli/python/pygimli/core/_pygimli_.so] Error 1
make[6]: *** [python/CMakeFiles/_pygimli_.dir/all] Error 2
make[5]: *** [python/CMakeFiles/pg.dir/rule] Error 2
make[4]: *** [pg] Error 2
make[3]: *** [pgbuild] Error 2
make[2]: *** [python/CMakeFiles/pgbuild.dir/all] Error 2
make[1]: *** [CMakeFiles/pygimli.dir/rule] Error 2
make: *** [pygimli] Error 2
thank you for your help
from gimli.
Related Issues (20)
- Questions regarding the Res2dInv export format HOT 1
- Issue in the TDEM LCI Inversion HOT 2
- Create a 3D layer model HOT 9
- Problem with showing markers HOT 2
- Problem With ERT Sensor in Slope Model HOT 4
- Shared colorbar HOT 1
- Finite Element in ERT HOT 2
- Anisotropic dan Geostatistic in ERT HOT 1
- 3D ERT cylinder meshing HOT 3
- Layered initial model for refraction seismic inversion HOT 17
- Complex valued electrical inversion HOT 1
- why output file 'i' and 'u'is zero by code of 2D ERT modelling and inversion HOT 6
- Vertical Electrical Sounding
- Installing pybert on Colab HOT 3
- Export Model Mesh to another software HOT 6
- Gmsh to pygimli
- Running inversion multiple times give different result HOT 11
- 1. How get j of specify nodes after forward? HOT 2
- Joint inversion module missing HOT 2
- bug-typo/Cm05.cols HOT 1
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.
from gimli.