pkg-config not found
I am having trouble installing pdlib on my NextCloud system which is installed on my Freenas platform. Freenas uses the FreeBSD distro.
When I got to run "./configure --enable-debug", I get the error: "error:pkg-config not found"
I know with FreeBSD they are using "pkgconf" but I have run "pkg-config" and can confirm it is in /usr/local/bin/pkg-config. I even set the variable PKG_CONFIG to help it find it with no luck. Any help would be appreciated.
Run into the same issue using Ubuntu 20.04. Resolved it by installing all dependency named in the installation guide. In my case Dlib was missing:
Install Dlib as shared library:
git clone https://github.com/davisking/dlib.git
cd dlib/dlib
mkdir build
cd build
cmake -DBUILD_SHARED_LIBS=ON ..
make
sudo make install
@marfraTUC i had the same issue. Got it fixed by setting the pkg config variable (setenv PKG_CONFIG_PATH /usr/local/lib/pkgconfig) as described in https://discuss.getsol.us/d/5423-compiled-library-not-found