Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LD_PRELOAD cannot be preloaded && undefined symbol #12

Open
ly-zhu opened this issue Aug 29, 2017 · 7 comments
Open

LD_PRELOAD cannot be preloaded && undefined symbol #12

ly-zhu opened this issue Aug 29, 2017 · 7 comments

Comments

@ly-zhu
Copy link

ly-zhu commented Aug 29, 2017

Hi,
Q1. when I train and test RNN with rgbd data
./experiments/scripts/rgbd_scene_multi_*.sh 0
I got the error of "ERROR: ld.so: object '/usr/lib/libtcmalloc.so.4' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored."

Q2. Encountered this error of "tensorflow.python.framework.errors_impl.NotFoundError: /home/path/DA-RNN-master/tools/../lib/backprojecting_layer/backprojecting.so: undefined symbol: _ZN10tensorflow16KernelDefBuilderD2Ev
"
How you guys cope with this problem? Thanks

@ly-zhu
Copy link
Author

ly-zhu commented Aug 29, 2017

There is no libtcmalloc.so.4 in the path /usr/lib/, and couldn't find this libtcmalloc.so.4 package online(seems like libtcmalloc_minimal.so.4 is avaliable online).
And have no idea with the Q2

@kevinkit
Copy link
Contributor

You may need to add a symbolic link to your numpy installation from within

e.g.:

cd /usr/local/include
ln -s /usr/local/lib/python2.7/site-packages/numpy/core/include/numpy numpy

I think that #10 mentions how to change sth for numpy, which will do the same trick.

Q2, have you checked the version of CUDA,cuDNN and Tensorflow? See #2

also running make -j32 and right after that make again sometimes fixes the problem .....

@kevinkit
Copy link
Contributor

You may need to execute it with sudo

@ly-zhu
Copy link
Author

ly-zhu commented Sep 1, 2017

I tried this, and still not work. My system is Ubuntu 16.04. Seems like the dependencies version of Kniectfusion really matters. I also test with Ubuntu 14.04. There are always some errors exit.

Anyway, thank you very much.

@kevinkit
Copy link
Contributor

kevinkit commented Sep 1, 2017

Yes, they are crucial - most of the time it is pangolin messing up.

However, since your second error comes from Tensorflow you should check if you have the correct tensorflow version (1.2.0) and that tensorflow-gpu

you can find out by

pip list | grep tensorflow-gpu

if it does not find tensorflow-gpu , but this command works:

pip list | grep tensorflow

You have installed tensorflow with no gpu support

Nevertheless, you may have both and tensorflow gets confused. To check if it is installed you can try to run this script:

TF-GPU

It should show you your kind of GPU and the result of a matrix multiplication.

You must have a NVIDIA-CUDA capable GPU (compute capability > 5) with at least 8 GB memory.

@yuxng
Copy link
Owner

yuxng commented Mar 20, 2018

sudo apt-get install google-perftools

@andjsmile
Copy link

Hi,I have the same problem with you, do you resolve it ? How to do it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants