Bug 71538 - Other: make openldap an optional module
Summary: Other: make openldap an optional module
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: Other Linux (All)
: low enhancement
Assignee: Not Assigned
URL:
Whiteboard: BSA
Keywords:
: 107499 (view as bug list)
Depends on:
Blocks: Installer
  Show dependency treegraph
 
Reported: 2013-11-12 16:34 UTC by cj.wijtmans
Modified: 2021-03-30 10:55 UTC (History)
7 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description cj.wijtmans 2013-11-12 16:34:21 UTC
Problem description: 
I am very annoyed i require that pull in openldap as a dependency on my system.

Steps to reproduce:
1. install openoffice
2. be annoyed
3. take out the hammer

Current behavior:
pulls in openldap as dependency

Expected behavior:
Make openldap a optional module.(does anyone actually use this?)
Operating System: other
Version: Inherited From OOo
Comment 1 David Tardon 2013-11-12 17:58:40 UTC
(In reply to comment #0)
> Steps to reproduce:
> 1. install openoffice

Okay, done that...

> 2. be annoyed

I think I managed that as well. But I am not sure if I am annoyed enough. Or maybe too much?

> 3. take out the hammer

I took one from the tool box, but I see nothing unusual... Maybe it is a wrong kind of hammer? Or wrong size?
Comment 2 cj.wijtmans 2013-11-12 19:49:35 UTC
My apologies for the quick and incohrent bug report.
Libreoffice is the only package pulling in openldap.
- increases the size of libreoffice unneccesarily.
- increases the size of my system unneccesarily.
- puts load on disk and memory unneccesarily.

For a lot of people this might not be a concern but for me it is.
Comment 3 Robinson Tryon (qubit) 2013-11-24 21:17:09 UTC
(In reply to comment #2)
> My apologies for the quick and incohrent bug report.
> Libreoffice is the only package pulling in openldap.
> - increases the size of libreoffice unneccesarily.
> - increases the size of my system unneccesarily.
> - puts load on disk and memory unneccesarily.
> 
> For a lot of people this might not be a concern but for me it is.

Smells like an enhancement request.

Marking as enhancement, low priority; updating summary to clarify 'optional module'
Status -> NEW
Comment 4 Sergey Kvachonok 2014-01-02 11:11:24 UTC
I've just tried uninstalling openldap after installing LO.
Nothing happened. I clicked around the Address Book import wizard (I presume LDAP is only used for this in LO) and wasn't able to trigger any fatal errors.
Of course I don't have any LDAP-thing to import from, so I couldn't test that, but the rest of the suite appears unaffected.

Checking things with ldd showed that libldapbe2lo.so has broken dependency on libldap.so (it was uninstalled), but no other library nor soffice.bin links to libldapbe2lo.so. So it looks like LDAP is handled by a dlopen'ed plugin module anyway. It doesn't look like it is that hard a dependency.

I don't need openldap for anything else on my system, and it itself has a ton of dependencies: SASL libs, Berkeley DB, Kerberos whatever, which I can also do without. It would be nice to have an option to disable LDAP support in LO.
Comment 5 cj.wijtmans 2014-01-02 12:35:07 UTC
Hi Sergey, thank you so much for testing this out. What distro are you on and how are you building LO? If i understand correctly it could be compiled without openldap support? The issue might be that LO still requires openLDAP headers. I will check once i am home.
Comment 6 [REDACTED] 2016-09-03 19:18:02 UTC
My distribution is Gentoo Linux and libreoffice is the only package on my system that requires openldap. I don't even know what ldap is and I don't think I need it on my desktop/laptop computers. I would greately prefer to disable ldap support for libreoffice (and for my system in general) if possible.
Comment 7 Xisco Faulí 2017-10-25 10:45:45 UTC
*** Bug 107499 has been marked as a duplicate of this bug. ***
Comment 8 ^m'e 2020-10-04 15:39:46 UTC
Is this still valid? My latest Gentoo build (`libreoffice-6.4.6.2`) has indeed no LDAP built in any more ;-)
Comment 9 Xisco Faulí 2021-03-30 10:55:24 UTC
Setting to RESOLVED WORKSFORME since the commit fixing this issue hasn't been
identified.