Giter VIP home page Giter VIP logo

Comments (6)

carsten-forty2 avatar carsten-forty2 commented on May 26, 2024

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.

florian-wagner avatar florian-wagner commented on May 26, 2024

Sorry, my mistake. Obviously forgot to reset the LD_LIBRARY_PATH.

from gimli.

ladominguez avatar ladominguez commented on May 26, 2024

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.

carsten-forty2 avatar carsten-forty2 commented on May 26, 2024

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.

ladominguez avatar ladominguez commented on May 26, 2024

I see, yes I am following those instructions. Everything worked fine until the command make pygimli

from gimli.

diegozain avatar diegozain commented on May 26, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.