Giter Club home page Giter Club logo

conda-build-env-gnulinux's People

Watchers

 avatar  avatar

conda-build-env-gnulinux's Issues

libstdc++.so.6

A C++ miniconda package is build on conda-build-env-0.1.0 box.

Trying to use the package on Ubuntu 12.04 yield to the error:

/usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /home/vagrant/miniconda/lib/python2.7/site-packages/_dfndarray.so)

Edit

There is actually the same problem when trying to use the package on conda-build-env-.0.1.0 box (where the package was built):

ImportError: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /home/vagrant/miniconda/lib/python2.7/site-packages/_dfndarray.so)

0.2.0 gcc version too old

gcc 4.4.7 (of centos 6) is too old to build ITK. If fails when linking hdf5_cxx:

$ /usr/bin/c++  -fPIC   -Wall -Wno-long-double -Wcast-align -Wdisabled-optimization -Wextra -Wformat=2 -Winvalid-pch -Wno-format-nonliteral -Wpointer-arith -Wshadow -Wunused -Wwrite-strings -funit-at-a-time -Wno-strict-overflow -Wno-deprecated -Wno-invalid-offsetof -Woverloaded-virtual -Wstrict-null-sentinel  -O3 -DNDEBUG   -shared -Wl,-soname,libITKIOHDF5-4.8.so.1 -o ../../../../lib/libITKIOHDF5-4.8.so.1 CMakeFiles/ITKIOHDF5.dir/itkHDF5ImageIOFactory.cxx.o CMakeFiles/ITKIOHDF5.dir/itkHDF5ImageIO.cxx.o -L/home/vagrant/miniconda/envs/_build/lib /home/vagrant/miniconda/envs/_build/lib/libhdf5.so -lrt /home/vagrant/miniconda/envs/_build/lib/libz.so -ldl -lm /home/vagrant/miniconda/envs/_build/lib/libhdf5_cpp.so /home/vagrant/miniconda/envs/_build/lib/libhdf5.so -lrt /home/vagrant/miniconda/envs/_build/lib/libz.so -ldl -lm ../../../../lib/libITKIOImageBase-4.8.so.1 /home/vagrant/miniconda/envs/_build/lib/libhdf5.so -lrt /home/vagrant/miniconda/envs/_build/lib/libz.so -ldl -lm /home/vagrant/miniconda/envs/_build/lib/libhdf5_cpp.so /home/vagrant/miniconda/envs/_build/lib/libhdf5.so -lrt /home/vagrant/miniconda/envs/_build/lib/libz.so -ldl -lm /home/vagrant/miniconda/envs/_build/lib/libhdf5_cpp.so /home/vagrant/miniconda/envs/_build/lib/libhdf5.so -lrt /home/vagrant/miniconda/envs/_build/lib/libz.so -ldl -lm /home/vagrant/miniconda/envs/_build/lib/libhdf5_cpp.so ../../../../lib/libITKCommon-4.8.so.1 ../../../../lib/libitksys-4.8.so.1 ../../../../lib/libITKVNLInstantiation-4.8.so.1 ../../../../lib/libitkvnl_algo-4.8.so.1 ../../../../lib/libitkv3p_lsqr-4.8.so.1 ../../../../lib/libitkvnl-4.8.so.1 ../../../../lib/libitkvcl-4.8.so.1 ../../../../lib/libitkv3p_netlib-4.8.so.1 -lm ../../../../lib/libitkdouble-conversion-4.8.so.1 -lpthread -ldl -lm -Wl,-rpath,/home/vagrant/miniconda/envs/_build/lib:/home/vagrant/miniconda/conda-bld/work/build/lib

/usr/bin/ld: CMakeFiles/ITKIOHDF5.dir/itkHDF5ImageIO.cxx.o: relocation R_X86_64_PC32 against undefined symbol `H5::DataType::fromClass() const' can not be used when making a shared object; recompile with -fPIC

Note that .o files and hdf5 libraryes are compiled with -fPIC

The symbol that caue problem is:

$ nm CMakeFiles/ITKIOHDF5.dir/itkHDF5ImageIO.cxx.o | grep fromClass
                 U _ZNK2H58DataType9fromClassEv

Just to confirm:

$ c++filt _ZNK2H58DataType9fromClassEv
H5::DataType::fromClass() const

It is a weak symbol:

$ nm -D /home/vagrant/miniconda/envs/_build/lib/libhdf5_cpp.so | grep
_ZNK2H58DataType9fromClassEv
000000000003c514 W _ZNK2H58DataType9fromClassEv

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.