我正在尝试在Docker容器上安装dlib,但这给了我以下错误
# pkg-config --cflags -- dlib-1
Package dlib-1 was not found in the pkg-config search path.
Perhaps you should add the directory containing `dlib-1.pc'
to the PKG_CONFIG_PATH environment variable
No package 'dlib-1' found
pkg-config: exit status 1
以下是iam的安装方式
RUN wget http://dlib.net/files/dlib-19.6.tar.bz2
RUN tar xvf dlib-19.6.tar.bz2
RUN ls
RUN cd dlib-19.6 && \
mkdir build && \
cd build && \
cmake .. && \
cmake --build . --config Release && \
make install && \
ldconfig
RUN cd ..
RUN pkg-config --libs --cflags dlib-1
RUN cd dlib-19.6 && \
python setup.py install
告诉我我做错了什么。过去两天都在这里