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

tf 1.3.0 cannot find -ltensorflow_framework #56

Open
ChChwang opened this issue May 13, 2019 · 6 comments
Open

tf 1.3.0 cannot find -ltensorflow_framework #56

ChChwang opened this issue May 13, 2019 · 6 comments

Comments

@ChChwang
Copy link

cannot find -ltensorflow_framework ?

@AnaZou
Copy link

AnaZou commented May 22, 2019

you may revised the link_directories in the c_ops/CMakeLists.txt

@dhrim
Copy link

dhrim commented Jun 14, 2019

In my cae, the tensorflow_framework library file's name was not libtensorflow_framework.so but libtensorflow_framework.so.1. The tensorflow version is 1.14.0.

I just made symbolic link for it and the problem has gone.

$ cd /usr/local/lib/python3.6/dist-packages/tensorflow/
$ !ln -s libtensorflow_framework.so.1 libtensorflow_framework.so

@pratik-segmind
Copy link

pratik-segmind commented Feb 27, 2020

This worked for me

sudo ln -s /usr/local/lib/python3.6/dist-packages/tensorflow/libtensorflow_framework.so.1 /usr/lib/libtensorflow_framework.so
followed by
sudo ldconfig

@spotiris
Copy link

In my cae, the tensorflow_framework library file's name was not libtensorflow_framework.so but libtensorflow_framework.so.1. The tensorflow version is 1.14.0.

I just made symbolic link for it and the problem has gone.

$ cd /usr/local/lib/python3.6/dist-packages/tensorflow/
$ !ln -s libtensorflow_framework.so.1 libtensorflow_framework.so

Additionally, you can get the directory of this library by doing:
python3 -c 'import tensorflow as tf; print(tf.sysconfig.get_lib())'
Make sure to call the right version of python.

@Nerkan78
Copy link

In my cae, the tensorflow_framework library file's name was not libtensorflow_framework.so but libtensorflow_framework.so.1. The tensorflow version is 1.14.0.

I just made symbolic link for it and the problem has gone.

$ cd /usr/local/lib/python3.6/dist-packages/tensorflow/
$ !ln -s libtensorflow_framework.so.1 libtensorflow_framework.so

I tried to do that, but there is already file libtensorflow_framework.so in that library. However, I am still getting error
/usr/bin/ld: cannot find -ltensorflow_framework.

@CA-TT-AC
Copy link

In my cae, the tensorflow_framework library file's name was not libtensorflow_framework.so but libtensorflow_framework.so.1. The tensorflow version is 1.14.0.
I just made symbolic link for it and the problem has gone.
$ cd /usr/local/lib/python3.6/dist-packages/tensorflow/
$ !ln -s libtensorflow_framework.so.1 libtensorflow_framework.so

I tried to do that, but there is already file libtensorflow_framework.so in that library. However, I am still getting error /usr/bin/ld: cannot find -ltensorflow_framework.

Hi! Have u solved your problem?

m990130 referenced this issue in m990130/puflow_macth Oct 13, 2023
… a mess caused by tensorflow versions, cudaversion which are wrongly specified by the puflow repo. Our solution is 1. changed the old tf_ops with a cleaner version from :https://github.com/guochengqian/PU-GCN/tree/master/tf_ops 2. for the issue with cannot find -ltensorflow_framework, check: https://github.com/bgshih/aster/issues/56\#issuecomment-501973315
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

7 participants