Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pkg-config not found #22

Open
beachbob89 opened this issue Apr 15, 2020 · 2 comments
Open

pkg-config not found #22

beachbob89 opened this issue Apr 15, 2020 · 2 comments

Comments

@beachbob89
Copy link

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.

@marfraTUC
Copy link

marfraTUC commented Jun 16, 2020

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

@stavrak
Copy link

stavrak commented Dec 1, 2020

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants