Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 393293 - dev-db/postgresql-server-9.1.1 - configure: /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../lib64/libldap.so: undefined reference to `sasl_encode@SASL2'
Summary: dev-db/postgresql-server-9.1.1 - configure: /usr/lib/gcc/x86_64-pc-linux-gnu/...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo LDAP project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-05 16:26 UTC by Florian Scandella
Modified: 2011-12-07 13:54 UTC (History)
0 users

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


Attachments
build log (build.log,19.06 KB, text/plain)
2011-12-06 00:24 UTC, Florian Scandella
Details
config log (config.log,419.78 KB, text/plain)
2011-12-06 00:24 UTC, Florian Scandella
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Scandella 2011-12-05 16:26:37 UTC
postgresql-server fails to compile complaining about missing ldap library.

checking for ldap_bind in -lldap... no
configure: error: library 'ldap' is required for LDAP

Reproducible: Always
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2011-12-05 20:17:49 UTC
1) Please post your `emerge --info' output too.
2) Please attach the entire build log to this bug report.
3) Please attach the config.log file to this bug report.
Comment 2 Florian Scandella 2011-12-06 00:15:38 UTC
Package Manager Information:
    Package Name              paludis
    Package Version           0.70.1
    Build Date                2011-11-01T17:07:59+0100
    Built with CXX            x86_64-pc-linux-gnu-g++ 4.5.3
    Built with CXXFLAGS        -mtune=native -march=native -mmmx -m3dnow -msse -msse2 -msse3 -msse4a -O2 -fexcess-precision=fast -fomit-frame-pointer -frename-registers -fweb -fgcse -fgcse-sm -fgcse-after-reload -ftracer -floop-interchange -floop-strip-mine -floop-block -ftree-loop-im -ftree-vectorize -pipe -pedantic
    Built with LDFLAGS        -Wl,-O1 -Wl,--as-needed

Environment Information:
    Format                    paludis
    Config dir                /etc/paludis
    Root                      /
    System Root               /
    World file                /var/db/pkg/world

Repository gentoo:
    format                    e
    location                  /usr/portage
    builddir                  /var/tmp/paludis
    cache                     /usr/portage/metadata/cache
    distdir                   /usr/portage/distfiles
    eapi_when_unknown         0
    eapi_when_unspecified     0
    eclassdirs                /usr/portage/eclass
    layout                    traditional
    manifest_hashes           RMD160 SHA1 SHA256
    names_cache               /var/cache/paludis/gentoo/names
    newsdir                   /usr/portage/metadata/news
    profile_eapi_when_unspecified 0
    profile_layout            traditional
    profiles                  /etc/paludis/profile/current
    securitydir               /usr/portage/metadata/glsa
    setsdir                   /usr/portage/sets
    sync                      rsync://rsync.gentoo.org/gentoo-portage
    sync_options              
    use_manifest              use
    write_cache               /var/cache/paludis/metadata
    Package information
        app-shells/bash       4.2_p20
        dev-java/java-config  2.1.11-r3
        dev-lang/python       2.7.2-r3 3.2.2
        dev-util/ccache       (none)
        dev-util/cmake        2.8.6-r4
        dev-util/pkgconfig    0.26
        sys-apps/baselayout   2.1
        sys-apps/openrc       0.9.4
        sys-apps/sandbox      2.5
        sys-devel/autoconf    2.13 2.68
        sys-devel/automake    1.10.3 1.11.1-r1 1.5-r1
        sys-devel/binutils    2.22
        sys-devel/gcc         4.5.3-r1
        sys-devel/gcc-config  1.5-r2
        sys-devel/libtool     2.4.2
        sys-devel/make        3.82-r3
        sys-freebsd/freebsd-lib (none)
        sys-kernel/linux-headers 2.6.39
        sys-libs/glibc        2.14.1-r1
        sys-libs/uclibc       (none)

Repository x11:
    format                    e
    location                  /var/paludis/repositories/x11
    builddir                  /var/tmp/paludis
    cache                     /var/empty
    distdir                   /usr/portage/distfiles
    eapi_when_unknown         0
    eapi_when_unspecified     0
    eclassdirs                /usr/portage/eclass  /var/paludis/repositories/x11/eclass
    layout                    traditional
    manifest_hashes           RMD160 SHA1 SHA256
    master_repository         gentoo
    names_cache               /var/paludis/repositories/x11/.cache/names
    newsdir                   /var/paludis/repositories/x11/metadata/news
    profile_eapi_when_unspecified 0
    profile_layout            traditional
    profiles                  /etc/paludis/profile/current
    securitydir               /var/paludis/repositories/x11/metadata/glsa
    setsdir                   /var/paludis/repositories/x11/sets
    sync                      git://git.overlays.gentoo.org/proj/x11
    sync_options              
    use_manifest              use
    write_cache               /var/cache/paludis/metadata

Repository installed:
    format                    vdb
    location                  /var/db/pkg
    builddir                  /var/tmp/paludis
    eapi_when_unknown         0
    names_cache               /var/db/pkg/.cache/names
    root                      /

Repository installed-unpackaged:
    format                    installed_unpackaged
    location                  /var/db/unpkg
    root                      /

Repository gnome:
    format                    e
    location                  /var/paludis/repositories/gnome
    builddir                  /var/tmp/paludis
    cache                     /var/empty
    distdir                   /usr/portage/distfiles
    eapi_when_unknown         0
    eapi_when_unspecified     0
    eclassdirs                /usr/portage/eclass  /var/paludis/repositories/gnome/eclass
    layout                    traditional
    manifest_hashes           RMD160 SHA1 SHA256
    master_repository         gentoo
    names_cache               /var/paludis/repositories/gnome/.cache/names
    newsdir                   /var/paludis/repositories/gnome/metadata/news
    profile_eapi_when_unspecified 0
    profile_layout            traditional
    profiles                  /etc/paludis/profile/current
    securitydir               /var/paludis/repositories/gnome/metadata/glsa
    setsdir                   /var/paludis/repositories/gnome/sets
    sync                      git://git.overlays.gentoo.org/proj/gnome.git git+http://git.overlays.gentoo.org/gitroot/proj/gnome.git git+ssh://git@git.overlays.gentoo.org/proj/gnome.git
    sync_options              
    use_manifest              use
    write_cache               /var/cache/paludis/metadata

Repository systemd:
    format                    e
    location                  /var/paludis/repositories/systemd
    builddir                  /var/tmp/paludis
    cache                     /var/empty
    distdir                   /usr/portage/distfiles
    eapi_when_unknown         0
    eapi_when_unspecified     0
    eclassdirs                /usr/portage/eclass  /var/paludis/repositories/systemd/eclass
    layout                    traditional
    manifest_hashes           RMD160 SHA1 SHA256
    master_repository         gentoo
    names_cache               /var/paludis/repositories/systemd/.cache/names
    newsdir                   /var/paludis/repositories/systemd/metadata/news
    profile_eapi_when_unspecified 0
    profile_layout            traditional
    profiles                  /etc/paludis/profile/current
    securitydir               /var/paludis/repositories/systemd/metadata/glsa
    setsdir                   /var/paludis/repositories/systemd/sets
    sync                      git://git.overlays.gentoo.org/user/systemd.git git+http://git.overlays.gentoo.org/gitroot/user/systemd.git git+ssh://git@git.overlays.gentoo.org/user/systemd.git
    sync_options              
    use_manifest              use
    write_cache               /var/cache/paludis/metadata

Repository my:
    format                    e
    location                  /var/paludis/repositories/my
    builddir                  /var/tmp/paludis
    cache                     /var/empty
    distdir                   /usr/portage/distfiles
    eapi_when_unknown         0
    eapi_when_unspecified     0
    eclassdirs                /usr/portage/eclass  /var/paludis/repositories/my/eclass
    layout                    traditional
    manifest_hashes           RMD160 SHA1 SHA256
    master_repository         gentoo
    names_cache               /var/paludis/repositories/my/.cache/names
    newsdir                   /var/paludis/repositories/my/metadata/news
    profile_eapi_when_unspecified 0
    profile_layout            traditional
    profiles                  /etc/paludis/profile/current
    securitydir               /var/paludis/repositories/my/metadata/glsa
    setsdir                   /var/paludis/repositories/my/sets
    sync                      
    sync_options              
    use_manifest              use
    write_cache               /var/cache/paludis/metadata

Extra Information for dev-db/postgresql-server-9.1.1:9.1::gentoo:
        >>> Running ebuild phase killold as paludisbuild:paludisbuild...
        >>> Starting builtin_killold
        >>> Done builtin_killold
        >>> Completed ebuild phase killold
        >>> Running ebuild phases initmisc infovars as paludisbuild:paludisbuild...
        >>> Starting builtin_initmisc
        >>> Done builtin_initmisc
        >>> Starting builtin_infovars
        ACCEPT_KEYWORDS=amd64
        CBUILD=x86_64-pc-linux-gnu
        CFLAGS=-mtune=native -march=native -mmmx -m3dnow -msse -msse2 -msse3 -msse4a -O2 -fexcess-precision=fast -fomit-frame-pointer -frename-registers -fweb -fgcse -fgcse-sm -fgcse-after-reload -ftracer -floop-interchange -floop-strip-mine -floop-block -ftree-loop-im -ftree-vectorize -pipe
        CHOST=x86_64-pc-linux-gnu
        CONFIG_PROTECT= 
        CONFIG_PROTECT_MASK= 
        CPPFLAGS=
        CTARGET=
        CXXFLAGS=-mtune=native -march=native -mmmx -m3dnow -msse -msse2 -msse3 -msse4a -O2 -fexcess-precision=fast -fomit-frame-pointer -frename-registers -fweb -fgcse -fgcse-sm -fgcse-after-reload -ftracer -floop-interchange -floop-strip-mine -floop-block -ftree-loop-im -ftree-vectorize -pipe
        DISTDIR=/usr/portage/distfiles
        FEATURES=
        FFLAGS=
        GENTOO_MIRRORS=
        INSTALL_MASK=
        LANG=
        LC_ALL=C
        LDFLAGS=-Wl,-O1 -Wl,--as-needed
        LINGUAS=af cs de en es fa fr hr hu it ko nb pl pt_BR ro ru sk sl sv tr zh_CN zh_TW
        MAKEOPTS=-j5
        PORTAGE_COMPRESS=xz
        PORTAGE_COMPRESS_FLAGS=
        PORTAGE_CONFIGROOT=
        PORTAGE_RSYNC_EXTRA_OPTS=
        PORTAGE_RSYNC_OPTS=
        PORTAGE_TMPDIR=/var/tmp/paludis
        PORTDIR=/usr/portage
        PORTDIR_OVERLAY=
        SYNC=
        USE=nls pam perl python xml amd64 alsa_cards_ali5451 alsa_cards_als4000 alsa_cards_atiixp alsa_cards_atiixp-modem alsa_cards_bt87x alsa_cards_ca0106 alsa_cards_cmipci alsa_cards_emu10k1x alsa_cards_ens1370 alsa_cards_ens1371 alsa_cards_es1938 alsa_cards_es1968 alsa_cards_fm801 alsa_cards_hda-intel alsa_cards_intel8x0 alsa_cards_intel8x0m alsa_cards_maestro3 alsa_cards_trident alsa_cards_usb-audio alsa_cards_via82xx alsa_cards_via82xx-modem alsa_cards_ymfpci alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw alsa_pcm_plugins_asym alsa_pcm_plugins_copy alsa_pcm_plugins_dmix alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop alsa_pcm_plugins_empty alsa_pcm_plugins_extplug alsa_pcm_plugins_file alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat alsa_pcm_plugins_linear alsa_pcm_plugins_meter alsa_pcm_plugins_mmap_emul alsa_pcm_plugins_mulaw alsa_pcm_plugins_multi alsa_pcm_plugins_null alsa_pcm_plugins_plug alsa_pcm_plugins_rate alsa_pcm_plugins_route alsa_pcm_plugins_share alsa_pcm_plugins_shm alsa_pcm_plugins_softvol apache2_modules_actions apache2_modules_alias apache2_modules_auth_basic apache2_modules_auth_digest apache2_modules_authn_anon apache2_modules_authn_dbd apache2_modules_authn_dbm apache2_modules_authn_default apache2_modules_authn_file apache2_modules_authz_dbm apache2_modules_authz_default apache2_modules_authz_groupfile apache2_modules_authz_host apache2_modules_authz_owner apache2_modules_authz_user apache2_modules_autoindex apache2_modules_cache apache2_modules_dav apache2_modules_dav_fs apache2_modules_dav_lock apache2_modules_dbd apache2_modules_deflate apache2_modules_dir apache2_modules_disk_cache apache2_modules_env apache2_modules_expires apache2_modules_ext_filter apache2_modules_file_cache apache2_modules_filter apache2_modules_headers apache2_modules_ident apache2_modules_imagemap apache2_modules_include apache2_modules_info apache2_modules_log_config apache2_modules_logio apache2_modules_mem_cache apache2_modules_mime apache2_modules_mime_magic apache2_modules_negotiation apache2_modules_proxy apache2_modules_proxy_ajp apache2_modules_proxy_balancer apache2_modules_proxy_connect apache2_modules_proxy_http apache2_modules_rewrite apache2_modules_setenvif apache2_modules_so apache2_modules_speling apache2_modules_status apache2_modules_unique_id apache2_modules_userdir apache2_modules_usertrack apache2_modules_vhost_alias calligra_features_braindump calligra_features_flow calligra_features_karbon calligra_features_kexi calligra_features_krita calligra_features_plan calligra_features_stage calligra_features_tables calligra_features_words cameras_ptp2 collectd_plugins_df collectd_plugins_interface collectd_plugins_irq collectd_plugins_load collectd_plugins_memory collectd_plugins_rrdtool collectd_plugins_swap collectd_plugins_syslog dracut_modules_btrfs dracut_modules_syslog elibc_glibc gpsd_protocols_aivdm gpsd_protocols_ashtech gpsd_protocols_earthmate gpsd_protocols_evermore gpsd_protocols_fv18 gpsd_protocols_garmin gpsd_protocols_garmintxt gpsd_protocols_gpsclock gpsd_protocols_itrax gpsd_protocols_mtk3301 gpsd_protocols_navcom gpsd_protocols_nmea gpsd_protocols_ntrip gpsd_protocols_oceanserver gpsd_protocols_oldstyle gpsd_protocols_oncore gpsd_protocols_rtcm104v2 gpsd_protocols_rtcm104v3 gpsd_protocols_sirf gpsd_protocols_superstar2 gpsd_protocols_timing gpsd_protocols_tnt gpsd_protocols_tripmate gpsd_protocols_tsip gpsd_protocols_ubx grub_platforms_efi-64 grub_platforms_multiboot grub_platforms_pc input_devices_evdev input_devices_keyboard input_devices_mouse kernel_linux lcd_devices_bayrad lcd_devices_cfontz lcd_devices_cfontz633 lcd_devices_glk lcd_devices_hd44780 lcd_devices_lb216 lcd_devices_lcdm001 lcd_devices_mtxorb lcd_devices_ncurses lcd_devices_text linguas_de linguas_de_AT linguas_de_DE linguas_en linguas_en_GB linguas_en_US lirc_devices_audio_alsa lirc_devices_avermedia lirc_devices_avermedia98 lirc_devices_devinput php_targets_php5-3 ruby_targets_ruby18 userland_GNU video_cards_ati video_cards_fbdev video_cards_none video_cards_r600 video_cards_r700 video_cards_radeon video_cards_v4l video_cards_vesa xtables_addons_account xtables_addons_chaos xtables_addons_condition xtables_addons_delude xtables_addons_dhcpmac xtables_addons_fuzzy xtables_addons_geoip xtables_addons_iface xtables_addons_ipmark xtables_addons_ipp2p xtables_addons_ipset xtables_addons_ipv4options xtables_addons_length2 xtables_addons_logmark xtables_addons_lscan xtables_addons_pknock xtables_addons_psd xtables_addons_quota2 xtables_addons_rawnat xtables_addons_steal xtables_addons_sysrq xtables_addons_tarpit xtables_addons_tee amd64 
        >>> Done builtin_infovars
        >>> Completed ebuild phases initmisc infovars
        >>> Running ebuild phase tidyup as paludisbuild:paludisbuild...
        >>> Starting builtin_tidyup
        rm -fr /var/tmp/paludis/dev-db-postgresql-server-9.1.1-info
        >>> Done builtin_tidyup
        >>> Completed ebuild phase tidyup
Comment 3 Florian Scandella 2011-12-06 00:24:36 UTC
Created attachment 294911 [details]
build log
Comment 4 Florian Scandella 2011-12-06 00:24:52 UTC
Created attachment 294913 [details]
config log
Comment 5 Aaron W. Swenson gentoo-dev 2011-12-06 11:10:32 UTC
Try rebuilding net-nds/openldap then emerging dev-db/postgresql-server.
Comment 6 Florian Scandella 2011-12-06 14:57:45 UTC
yes, thx, this fixes the build. strange, revdep-rebuild ( cave fix-linkage) didn't pick this up.

is there a reason why it uses ldap? didn't see it in the dependencies list in the ebuild.
Comment 7 Aaron W. Swenson gentoo-dev 2011-12-07 13:54:47 UTC
(In reply to comment #6)
> yes, thx, this fixes the build. strange, revdep-rebuild ( cave fix-linkage)
> didn't pick this up.
> 
> is there a reason why it uses ldap? didn't see it in the dependencies list in
> the ebuild.

dev-db/postgresql-base has it. PostgreSQL can use LDAP to get various bit of authentication information.