I just realized, there are many dead symlinks left in /usr/lib/openldap/openldap. Probably from older openldap ebuilds? All are pointing to overlay-name.so-version files in the same directory? => USE-Flag "overlays" does not build shared-libs for the slapd overlay extension modules like "ppolicy" or "syncrepl" in /usr/lib/openldap/openldap. Does this mean regardless of the use of USE-Flag "overlays", the overlays have not been build? Or are the overlays have been build statically into slapd? I made the following small changes to the openldap-2.3.34.ebuild to get modular overlays build: replaced this two lines: #myconf="${myconf} `use_enable overlays`" #myconf="${myconf} '--enable-dyngroup --enable-proxycache" by: if use overlays ; then myconf="${myconf} --enable-overlays=mod" After this small change the overlay.so files are all in place again. Reproducible: Always Actual Results: missing slapd overlay shared libs. Expected Results: shared libraries for openldap's overlay modules in /usr/lib/openldap/openldap emerge --info Portage 2.1.2.2 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.18-gentoo-r6 i686) ================================================================= System uname: 2.6.18-gentoo-r6 i686 Intel(R) Pentium(R) M processor 1.80GHz Gentoo Base System release 1.12.9 Timestamp of tree: Sun, 01 Apr 2007 01:20:01 +0000 ccache version 2.4 [enabled] dev-java/java-config: 1.3.7, 2.0.31 dev-lang/python: 2.3.5-r3, 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r6 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.14 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/lib/fax /usr/share/X11/xkb /usr/share/config /var/bind /var/spool/fax/etc" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/php/apache1-php4/ext-active/ /etc/php/apache1-php5/ext-active/ /etc/php/apache2-php4/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php4/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php4/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo" CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="ccache distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp6.uni-muenster.de/pub/linux/distributions/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/overlays/gentoo-de" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" USE="a52 aac aalib acpi alsa apache2 audiofile bash-completion bcmath berkdb bitmap-fonts bzlib caps cdb cdparanoia cdr cli cracklib crypt ctype cups curl curlwrappers dedicated directfb dri dvd dvdr ethereal exif fam fbcon flash fortran freetype ftp gd gif gpm gps iconv icq ieee1394 imagemagick imlib ipv6 isdnlog jabber java javascript jpeg kde kerberos ldap libg++ libwww lm_sensors logrotate mhash midi milter mime mmx mng mysql ncurses nls nptl nptlonly offensive opengl pam pcntl pcre pdf perl php png posix ppds pppd python qt readline reflection rrdtool ruby sasl session sharedext slp snmp sockets socks5 spell spl sse sse2 ssl svg svgalib symlink tcltk tcpd threads tidy tiff truetype truetype-fonts type1-fonts unicode usb vhosts wmf x86 xml xml2 xmlrpc xorg xpm xsl xv zlib" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" DVB_CARDS="ttpci nxt200x sp8870 tda1004x or51132 or51211" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIRC_DEVICES="serial" USERLAND="GNU" VIDEO_CARDS="i810 vesa fbdev" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
There is a small cut&paste error in my previous posting, regarding a missing "fi" in the end... replaced this two lines: #myconf="${myconf} `use_enable overlays`" #myconf="${myconf} '--enable-dyngroup --enable-proxycache" by: if use overlays ; then myconf="${myconf} --enable-overlays=mod" fi (In reply to comment #0) > replaced this two lines: > #myconf="${myconf} `use_enable overlays`" > #myconf="${myconf} '--enable-dyngroup --enable-proxycache" > by: > if use overlays ; then > myconf="${myconf} --enable-overlays=mod" >
Fixed in 2.3.34-r1 :=) thanks for reporting