claws-mail is missing a required shared library: libldap.so.2 claws-mail is missing a required shared library: liblber.so.2 after install claws-mail on system without libreoffice. Build host have libreoffice and net/openldap26-client as dep.
The problem is that Makefile.claws is incorrectly overriding CONFIGURE_ARGS. This makes all option-derived CONFIGURE_ARGS to get lost. Something like this would fix it. === diff --git a/mail/claws-mail/Makefile.claws b/mail/claws-mail/Makefile.claws index 53ee30e66310..9ea0a1b576fe 100644 --- a/mail/claws-mail/Makefile.claws +++ b/mail/claws-mail/Makefile.claws @@ -8,7 +8,7 @@ LICENSE= GPLv3 USES+= autoreconf gettext-tools gmake iconv libtool pkgconfig tar:xz GNU_CONFIGURE= yes -CONFIGURE_ARGS= ${ICONV_CONFIGURE_ARG} --disable-dbus --disable-static +CONFIGURE_ARGS+= ${ICONV_CONFIGURE_ARG} --disable-dbus --disable-static .include "${.CURDIR}/../claws-mail/Makefile.ver" .include "${.CURDIR}/../claws-mail/Makefile.claws.plugins"
(In reply to Xin LI from comment #1) Testing proposed patch...
Building Claws Mail with OPTION LDAP both on and off for both GTK2 and GTK3 version succeeds with proposed patch applied. All those builds are basically clean ones, in a dedicated jail. So patch proposed by Xin Li is not damaging anything, from my point of view. OP should test whether Xin's patch solves his issue.