http://bugs.winehq.org/show_bug.cgi?id=13704
Summary: wine won't build with ldap and --as-needed ldflag Product: Wine Version: 1.0-rc3 Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: rion@plotinka.ru
something broken in configure test just try to configure wine with LDFLAGS="-Wl,--as-needed" and you will see.
http://bugs.winehq.org/show_bug.cgi?id=13704
--- Comment #1 from Rion rion@plotinka.ru 2008-06-05 09:43:41 --- here is my configure string
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --sysconfdir=/etc/wine --with-fontconfig --with-curses --with-opengl --with-x --with-xcomposite --with-xcursor --with-xinerama --with-xinput --with-xrandr --with-xrender --with-alsa --without-capi --with-cups --with-dbus --without-esd --with-glu --without-gphoto --without-jack --with-jpeg --with-cms --with-ldap --with-hal --without-oss --without-openssl --without-nas --without-sane --with-freetype --with-xml --with-xslt --build=i686-pc-linux-gnu
you can see --with-ldap above.
http://bugs.winehq.org/show_bug.cgi?id=13704
--- Comment #2 from Alexandre Julliard julliard@winehq.org 2008-06-05 10:41:41 --- (In reply to comment #0)
something broken in configure test just try to configure wine with LDFLAGS="-Wl,--as-needed" and you will see.
Please post the exact error you get, and the corresponding config.log output.
http://bugs.winehq.org/show_bug.cgi?id=13704
--- Comment #3 from Rion rion@plotinka.ru 2008-06-05 12:25:29 --- Created an attachment (id=13725) --> (http://bugs.winehq.org/attachment.cgi?id=13725) config.log
i tried to make it as simple as possible excluding all other parameters from configure.
LDFLAGS="-Wl,--as-needed" ./configure --with-ldap ..... configure: error: libldap (OpenLDAP) development files not found, LDAP won't be supported. This is an error since --with-ldap was requested.
http://bugs.winehq.org/show_bug.cgi?id=13704
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID
--- Comment #4 from Alexandre Julliard julliard@winehq.org 2008-06-05 13:10:29 --- Probably the ldap_r library isn't linked to libpthread, or there's some other problem with it that breaks --as-needed. Not a Wine bug, you should file a bug with your distro.
http://bugs.winehq.org/show_bug.cgi?id=13704
--- Comment #5 from Rion rion@plotinka.ru 2008-06-05 14:03:29 --- i'm using gentoo linux
official openldap ebuild doesn't provide ability to compile --with-threads at all. and since i use unofficial wine ebuild (official one is very buggy) i can post bug report about openldap and threads only if its needed for something else besides wine. Official ebuild has ugly hacks which simply put test results to cache..
# ldd /usr/lib/libldap_r.so linux-gate.so.1 => (0xb80c8000) liblber-2.3.so.0 => /usr/lib/liblber-2.3.so.0 (0xb805d000) libresolv.so.2 => /lib/libresolv.so.2 (0xb8049000) libsasl2.so.2 => /usr/lib/libsasl2.so.2 (0xb8032000) libssl.so.0.9.8 => /usr/lib/libssl.so.0.9.8 (0xb7fee000) libcrypto.so.0.9.8 => /usr/lib/libcrypto.so.0.9.8 (0xb7eb5000) libc.so.6 => /lib/libc.so.6 (0xb7d5d000) libdl.so.2 => /lib/libdl.so.2 (0xb7d59000) libcrypt.so.1 => /lib/libcrypt.so.1 (0xb7d27000) libkrb5.so.3 => /usr/lib/libkrb5.so.3 (0xb7c9e000) libk5crypto.so.3 => /usr/lib/libk5crypto.so.3 (0xb7c7a000) /lib/ld-linux.so.2 (0xb80c9000) libcom_err.so.2 => /lib/libcom_err.so.2 (0xb7c75000) libkrb5support.so.0 => /usr/lib/libkrb5support.so.0 (0xb7c6d000)
http://bugs.winehq.org/show_bug.cgi?id=13704
--- Comment #6 from Alexandre Julliard julliard@winehq.org 2008-06-05 16:06:52 --- Like I expected libldap_r is not linked to libpthread; you should either fix ldap or stop using --as-needed. There's nothing we can do in Wine.
http://bugs.winehq.org/show_bug.cgi?id=13704
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #7 from Austin English austinenglish@gmail.com 2008-11-17 13:12:19 --- Closing.