My environment: Ubuntu 18.04 tensorflow 2.1
when reproducing pointsift, follow the readme prompt, modify the locations of tensorflow and Lib in the. Sh file, compile the. Sh file, and report an error:
/usr/bin/LD: cannot find – ltensorflow_framework
collect2: error: ld returned 1 exit status
The reason is that the shell file is connected to the dynamic library In libtensorflow_framework.so, the dynamic library name of tensorflow 2.1 is libtensorflow_Frame.So.2, so the link is not available
Solution: create a connection symbol to make libtensorflow_Framework. So. 2 and libtensorflow_Framework.so points to the same
cd /usr/local/lib/python3.6/dist-packages/tensorflow_core //My files are in this directory, some are in the tensorflow directory, as long as they are in the same directory as .so.2
ln -s libtensorflow_framework.so.1 libtensorflow_framework.so
Read More:
- [Solved] ERROR: Subproject directory not found and gst-plugins-base.wrap file not found
- C# WPF Framework: How to Build Caliburn.Micro Quickly
- -bash: sqlplus: command not found [How to Solve]
- [Solved] websocket: the client is not using the websocket protocol: ‘upgrade’ token not found in ‘Connection’ head
- [Solved] websocket error in Linux service: / lib64 / libc. So. 6: version ` glibc_2.17‘ not found
- arm-eabi-gcc: command not found [How to Solve]
- Solve the problem of 404 Not Found error in nginx accessing dynamic interface
- Mgr [error]: library file libdmhs_exec.so not found, error: 0
- [Solved] zookeeper Cluster error: Error: JAVA_HOME is not set and java could not be found in PATH.
- How to Solve Error: Driver “kvm2“ not found
- [Solved] kali Execute history -c Error: fc: event not found: – C
- Centos7 Error: initramfs not found
- [Solved] Ubuntu Eclipse C/C++ Error: launch failed.binary not found
- Error: linker ` link. Exe ` not found | = note: the system cannot find the specified file.
- After Centos installation is complete, ifconfig: command not found
- Mac opens Terminal and reports an error -bash:: command not found
- [Git] Solve git branch -M main error: refname refs/heads/master not found
- [Solved] Linux virtual machine startup error: operating system not found
- [Solved] Linux Mongodb Error: # Error: coul-bash: connecting: command not found
- Error in Linux running file: bash: $’\r’: command not found