Giter Club home page Giter Club logo

Comments (6)

dzhelonkin avatar dzhelonkin commented on August 18, 2024 1

I faced the same problem.
Executing sudo ldconfig after all instructions fix the problem with package https://github.com/mind/wheels/releases/download/tf1.4.1-gpu/tensorflow-1.4.1-cp35-cp35m-linux_x86_64.whl

from wheels.

Moulick avatar Moulick commented on August 18, 2024

from wheels.

DavidNemeskey avatar DavidNemeskey commented on August 18, 2024

Should /usr/local/lib be checked for libraries by default? Anyway, I exported it and still no cookie. :(

Actually, in the virtual env:

$ ldd ./lib/python3.6/site-packages/tensorflow/python/_pywrap_tensorflow_internal.so
./lib/python3.6/site-packages/tensorflow/python/_pywrap_tensorflow_internal.so: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.23' not found (required by ./lib/python3.6/site-packages/tensorflow/python/_pywrap_tensorflow_internal.so)
./lib/python3.6/site-packages/tensorflow/python/_pywrap_tensorflow_internal.so: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by ./lib/python3.6/site-packages/tensorflow/python/_pywrap_tensorflow_internal.so)
./lib/python3.6/site-packages/tensorflow/python/_pywrap_tensorflow_internal.so: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /mnt/permanent/Priv/ndavid/venvs/test/./lib/python3.6/site-packages/tensorflow/python/../libtensorflow_framework.so)
	linux-vdso.so.1 (0x00007ffcab377000)
	/usr/local/lib/libsystat.so (0x00007f087edf1000)
	/usr/local/lib/libproch.so (0x00007f087ebef000)
	libtensorflow_framework.so => /mnt/permanent/Priv/ndavid/venvs/test/./lib/python3.6/site-packages/tensorflow/python/../libtensorflow_framework.so (0x00007f087da0d000)
	libcublas.so.8.0 => /usr/local/cuda/lib64/libcublas.so.8.0 (0x00007f087b05d000)
	libcusolver.so.8.0 => /usr/local/cuda/lib64/libcusolver.so.8.0 (0x00007f0877aed000)
	libmklml_intel.so => /usr/local/lib/libmklml_intel.so (0x00007f086ecaa000)
	libiomp5.so => /usr/local/lib/libiomp5.so (0x00007f086e906000)
	libcudart.so.8.0 => /usr/local/cuda/lib64/libcudart.so.8.0 (0x00007f086e6a0000)
	libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f086e39f000)
	libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f086e19b000)
	libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f086df7e000)
	libgomp.so.1 => /usr/lib/x86_64-linux-gnu/libgomp.so.1 (0x00007f086dd68000)
	librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f086db60000)
	libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f086d855000)
	libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f086d63f000)
	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f086d294000)
	/lib64/ld-linux-x86-64.so.2 (0x00007f0889bd2000)
	libcuda.so.1 => /usr/lib/x86_64-linux-gnu/libcuda.so.1 (0x00007f086c8b0000)
	libcudnn.so.6 => /usr/local/cuda/lib64/libcudnn.so.6 (0x00007f086334e000)
	libcufft.so.8.0 => /usr/local/cuda/lib64/libcufft.so.8.0 (0x00007f085a500000)
	libcurand.so.8.0 => /usr/local/cuda/lib64/libcurand.so.8.0 (0x00007f0856597000)
	libnvidia-fatbinaryloader.so.367.48 => /usr/lib/x86_64-linux-gnu/libnvidia-fatbinaryloader.so.367.48 (0x00007f0856349000)

So it seems that actually, the library was found and linked against. But why the error message then?

from wheels.

danqing avatar danqing commented on August 18, 2024

What is your OS, and did you follow the instructions in the README when installing mkl?

# If you don't have cmake
sudo apt install cmake

git clone https://github.com/01org/mkl-dnn.git
cd mkl-dnn/scripts && ./prepare_mkl.sh && cd ..
mkdir -p build && cd build && cmake .. && make
sudo make install

echo 'export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib' >> ~/.bashrc

from wheels.

DavidNemeskey avatar DavidNemeskey commented on August 18, 2024

@danqing I followed all instructions. As for LD_LIBRARY_PATH, see my previous reply.

from wheels.

jkterry1 avatar jkterry1 commented on August 18, 2024

Hey I'm having this problem too, on plain Ubuntu 18.04.

from wheels.

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.