pdlib icon indicating copy to clipboard operation
pdlib copied to clipboard

pkg-config not found

Open beachbob89 opened this issue 5 years ago • 2 comments

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.

beachbob89 avatar Apr 15 '20 17:04 beachbob89

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 avatar Jun 16 '20 20:06 marfraTUC

@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

stavrak avatar Dec 01 '20 14:12 stavrak