Package Details: libldap24 2.4.59-2

Git Clone URL: https://aur.archlinux.org/libldap24.git (read-only, click to copy)
Package Base: libldap24
Description: Lightweight Directory Access Protocol (LDAP) client libraries
Upstream URL: https://www.openldap.org/
Licenses: custom
Submitter: anatolik
Maintainer: thrasibule
Last Packager: thrasibule
Votes: 12
Popularity: 0.98
First Submitted: 2021-11-19 17:39 (UTC)
Last Updated: 2024-01-04 21:15 (UTC)

Latest Comments

1 2 Next › Last »

joshm commented on 2024-02-15 16:50 (UTC) (edited on 2024-02-15 16:50 (UTC) by joshm)

I can't update things, and can't uninstall this package for some reason -- any thoughts?

josh@compy-manjaro ~ > pacaur -Syu           
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
:: Starting full system upgrade...
...
:: no results found for python2-pytest-rerunfailures (dependency tree: libldap24)
:: no results found for python2-pytest-xdist (dependency tree: libldap24)
:: no results found for python2-scripttest (dependency tree: libldap24)
:: no results found for python2-virtualenv (dependency tree: libldap24)
:: no results found for python2-werkzeug (dependency tree: libldap24)
✘ josh@compy-manjaro ~ > pacaur -R libldap24
error: target not found: libldap24

chmodx commented on 2024-01-23 07:22 (UTC)

I'm having trouble installing this. I thought the issue was not having openssl, but installing it didn't help. Here's the error:

creating libldap.la
(cd .libs && rm -f libldap.la && ln -s ../libldap.la libldap.la)
cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -DLDAP_CONNECTIONLESS -I../../include        -I../../include       -c -o apitest.o apitest.c
/bin/sh ../../libtool --mode=link cc  -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -DLDAP_CONNECTIONLESS  -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now   -o apitest apitest.o libldap.la ../../libraries/liblber/liblber.la ../../libraries/liblutil/liblutil.a -lsasl2  -lssl -lcrypto  -lcrypt
cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -DLDAP_CONNECTIONLESS -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z -Wl,relro -Wl,-z -Wl,now -o .libs/apitest apitest.o  ./.libs/libldap.so /home/erik/.cache/yay/libldap24/src/openldap-2.4.59/libraries/liblber/.libs/liblber.so ../../libraries/liblber/.libs/liblber.so ../../libraries/liblutil/liblutil.a -lsasl2 -lssl -lcrypto -lcrypt
/usr/bin/ld: ./.libs/libldap.so: undefined reference to `SSL_get_peer_certificate'
collect2: error: ld returned 1 exit status

I need this to install this package: https://aur.archlinux.org/packages/mssql-server.

TexZeTech commented on 2023-12-30 23:39 (UTC)

I use this for the Steam game Loop Hero.

MarsSeed commented on 2023-11-12 17:45 (UTC) (edited on 2023-11-13 03:09 (UTC) by MarsSeed)

Please kindly remove 'libldap' from provides.

Arch by default does not follow a pkgname-pkgver dependency declaration model.

Therefore pacman treats libldab24 with provides='libldap=2.4.59' as a drop-in equivalent of core/libldap, which it is not.

If libldap24 with said provides is installed, pacman allows deleting core/libldap from the system, breaking other dependents of that package.

Thank you in advance for considering this.

ufo_driver commented on 2023-01-06 10:37 (UTC) (edited on 2023-01-06 10:38 (UTC) by ufo_driver)

I added --disable-bdb --disable-hdb to CFLAGS and it was built successfully.

vanillabase1lb commented on 2023-01-05 20:14 (UTC)

Failing at build step:

checking if Berkeley DB version supported by BDB/HDB backends... no
configure: error: BerkeleyDB version incompatible with BDB/HDB backends
==> ERROR: A failure occurred in build().
    Aborting...
error: failed to build 'libldap24-2.4.59-1':
error: packages failed to build: libldap24-2.4.59-1

electoys commented on 2022-12-23 21:45 (UTC) (edited on 2022-12-23 22:04 (UTC) by electoys)

I get the following library dependency errors:

File "/usr/lib/libldap-2.4.so.2.11.7" from package "libldap24" is missing dependency "libssl.so.1.1"
File "/usr/lib/libldap-2.4.so.2.11.7" from package "libldap24" is missing dependency "libcrypto.so.1.1"
File "/usr/lib/libldap_r-2.4.so.2.11.7" from package "libldap24" is missing dependency "libssl.so.1.1"
File "/usr/lib/libldap_r-2.4.so.2.11.7" from package "libldap24" is missing dependency "libcrypto.so.1.1"

I worked around it by manually installing the openssl-1.1 AUR package. This looks like an old library dependency because openssl is up to major version 3.

hasechris commented on 2022-10-23 20:25 (UTC)

@devgioele OMG Thank you! That helped to install the package. @anatolik could you update the package to include this gpg pubkey?

devgioele commented on 2022-05-09 13:26 (UTC) (edited on 2022-05-09 13:37 (UTC) by devgioele)

I had to run the following for a successful installation:

wget https://www.openldap.org/software/download/OpenLDAP/gpg-pubkey.txt
gpg --import ./gpg-pubkey.txt
sudo pacman -S autoconf make

tallero commented on 2021-12-24 10:17 (UTC)

At the moment this package is needed to run archlinux on i686.