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

Configure fails when using --with-ldap on Fedora #16030

Open
Girgias opened this issue Sep 24, 2024 · 4 comments
Open

Configure fails when using --with-ldap on Fedora #16030

Girgias opened this issue Sep 24, 2024 · 4 comments

Comments

@Girgias
Copy link
Member

Girgias commented Sep 24, 2024

Description

I get the following configure error:

configure: error: Cannot find ldap libraries in /usr/lib.

However, both my headers and lib are, as far as I can tell, located in /usr/lib

For reference the version of LDAP I have installed are:

  • openldap-2.6.7-1.fc40.x86_64
  • openldap-devel-2.6.7-1.fc40.x86_64

PHP Version

master

Operating System

Fedora 40

@petk
Copy link
Member

petk commented Sep 24, 2024

I think you need to set the library directory, which is the /usr/lib64, like this:

./configure --with-libdir=lib64 --with-ldap

@Girgias
Copy link
Member Author

Girgias commented Sep 24, 2024

This was indeed what needed to be done, not sure if this should be moved to docs or just closed.

@NattyNarwhal
Copy link
Member

I think LDAP needs to be moved to pkg-config anyways, which might help with this anyways.

@petk
Copy link
Member

petk commented Sep 26, 2024

I think for using pkg-config in ldap extension first this should be resolved: #15051

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

No branches or pull requests

3 participants