Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 378847 - net-nds/openldap needs sys-devel/libtool as a build dependency
Summary: net-nds/openldap needs sys-devel/libtool as a build dependency
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal with 2 votes (vote)
Assignee: Gentoo LDAP project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-11 23:43 UTC by Paul B. Henson
Modified: 2012-02-12 21:29 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Untested patch (gentoo-bug-378847.patch,2.95 KB, patch)
2011-10-28 05:55 UTC, Janos Pasztor
Details | Diff
openldap-2.4.24-build.log (openldap-2.4.24-build.log,9.19 KB, text/plain)
2011-11-25 19:53 UTC, Nathan Phillip Brink (binki) (RETIRED)
Details
emerge--info.txt (emerge--info.txt,3.88 KB, text/plain)
2011-11-25 19:53 UTC, Nathan Phillip Brink (binki) (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Paul B. Henson 2011-08-11 23:43:56 UTC
I happened to be building openldap on a system which didn't have libtool installed, and it failed:

        checking ltdl.h usability... no
        checking ltdl.h presence... no
        checking for ltdl.h... no
        configure: error: could not locate libtool ltdl.h

I don't know how common this scenario might be, but I see other ebuilds explicitly list libtool as a dep, so perhaps it should be added?

Thanks...
Comment 1 Janos Pasztor 2011-10-28 05:30:13 UTC
This is not only a build dependency. When using a binhost and emerging OpenLDAP from a binary package, it would not start with the following error message:

 * Starting ldap-server ...
/usr/lib64/openldap/slapd: error while loading shared libraries: libltdl.so.7: cannot open shared object file: No such file or directory
 * start-stop-daemon: failed to start `/usr/lib64/openldap/slapd'                                                                                      [ !! ]
 * ERROR: slapd failed to start
Comment 2 Janos Pasztor 2011-10-28 05:55:26 UTC
Created attachment 291069 [details, diff]
Untested patch
Comment 3 Nathan Phillip Brink (binki) (RETIRED) gentoo-dev 2011-11-25 19:53:29 UTC
Created attachment 293749 [details]
openldap-2.4.24-build.log
Comment 4 Nathan Phillip Brink (binki) (RETIRED) gentoo-dev 2011-11-25 19:53:35 UTC
Created attachment 293751 [details]
emerge--info.txt
Comment 5 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2012-02-12 21:29:25 UTC
InCVS.