I tried to implement the following (with out any idea about these lines can do!):
1- LDFLAGS=$LDFLAGS:/usr/lib/x86_64-linux-gnu/
2- export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/lib/x86_64-linux-gnu/"
3- sudo ldconfig
This is the system config
Operating system: Linux-Ubuntu20.x on (wsl)
CPU_ONLY := 1
OPENCV_VERSION := 4
Compiler: OpenCV/libopenblas/Cxx
INCLUDE_DIRS := $(PYTHON_INCLUDE) /usr/local/include /usr/include/hdf5/serial/ /usr/local/include/opencv4 /usr/include/hdf5/serial /usr/lib/x86_64-linux-gnu/
LIBRARY_DIRS := $(PYTHON_LIB) /usr/local/lib /usr/lib /usr/lib/x86_64-linux-gnu/
I have a problem during compiling Caffe I think something wrong with my hdf5 lib.
I am having the following Error:
LD -o .build_release/lib/libcaffe.so.1.0.0-rc3 /usr/bin/ld: cannot find -lhdf5_hl /usr/bin/ld: cannot find -lhdf5 collect2: error: ld returned 1 exit status make: *** [Makefile:567: .build_release/lib/libcaffe.so.1.0.0-rc3] Error 1
I tried to implement the following (with out any idea about these lines can do!): 1- LDFLAGS=$LDFLAGS:/usr/lib/x86_64-linux-gnu/ 2- export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/lib/x86_64-linux-gnu/" 3- sudo ldconfig
This is the system config Operating system: Linux-Ubuntu20.x on (wsl) CPU_ONLY := 1 OPENCV_VERSION := 4 Compiler: OpenCV/libopenblas/Cxx INCLUDE_DIRS := $(PYTHON_INCLUDE) /usr/local/include /usr/include/hdf5/serial/ /usr/local/include/opencv4 /usr/include/hdf5/serial /usr/lib/x86_64-linux-gnu/ LIBRARY_DIRS := $(PYTHON_LIB) /usr/local/lib /usr/lib /usr/lib/x86_64-linux-gnu/