-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
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
Cannot compile against a static build of OpenLDAP #2367
Comments
By the way, I don't mind implementing the fix if I get a reasonable design 😄 |
The configure script really isn't done to fix static builds for a lot of situations, mostly since it is a futile game to make sure it tracks down and link with all the possible 3rd party dependencies for all libs it can link with. We focus on linking shared in the configure script. That said, you can usually fix static links problem by crafting |
@cmeister2 have you fixed this somehow? |
Think I gave up in the end. Sorry.
…On Sun, 31 Mar 2019, 23:38 Jonathan Cardoso Machado, < ***@***.***> wrote:
@cmeister2 <https://github.com/cmeister2> have you fixed this somehow?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#2367 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AB4N-c_7ZOl33jmudU45jIkHQ9mABHFFks5vcTjrgaJpZM4SggYf>
.
|
I did this
This gives the following output:
The header file failures appear to be due to not having those files in the standard system path (as expected).
The ldap_init failure looks to be simpler:
Specifying the path of the ldap library isn't really the correct way of specifying a "-l" library; but specifying "ldap" as the name will also fail because the lib path isn't specified.
This looks to be because there's no configure mechanism for specifying the root directory of an LDAP install (compare to say libbrotli or openssl or rtmp, which have a --with-{brotli,ssl,rtmp} mechanism).
I expected the following
For the build to work!
curl/libcurl version
Latest git master (b2afc36)
operating system
Ubuntu Linux
The text was updated successfully, but these errors were encountered: