OpenLDAP
Up to top level
Build   Contrib   Development   Documentation   Historical   Incoming   Software Bugs   Software Enhancements   Web  

Logged in as guest

Viewing Archive.Incoming/1318
Full headers

From: hutmat@cygate.fi
Subject: configure: error: could not link with POSIX Threads
Compose comment
Download message
State:
1 replies: 1
2 followups: 1 2

Major security issue: yes  no

Notes:

Notification:


Date: Thu, 6 Sep 2001 13:00:48 GMT
From: hutmat@cygate.fi
To: openldap-its@OpenLDAP.org
Subject: configure: error: could not link with POSIX Threads
Full_Name: Matti Palaste
Version: 2.0.12
OS: RedHat 7.0
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (194.197.125.131)


RH 7.0, GLIBC 2.2.12

Ran the configure command and got this:


Copyright 1998-2001 The OpenLDAP Foundation,  All Rights Reserved.
Restrictions apply, see COPYRIGHT and LICENSE files.
Configuring OpenLDAP 2.0.12-Release ...
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for mawk... no
checking for gawk... gawk
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking for gnutar... no
checking for gtar... gtar
checking configure arguments... done
checking for cc... cc
checking for ranlib... ranlib
checking for gcc... (cached) cc
checking whether the C compiler (cc  -D_MIT_POSIX_THREADS ) works... yes
checking whether the C compiler (cc  -D_MIT_POSIX_THREADS ) is a
cross-compiler... no
checking whether we are using GNU C... yes
checking whether cc accepts -g... yes
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking for object suffix... o
checking for executable suffix... no
checking for cc option to produce PIC... -fPIC
checking if cc PIC flag -fPIC works... yes
checking if cc supports -c -o file.o... yes
checking if cc supports -c -o file.lo... yes
checking if cc supports -fno-rtti -fno-exceptions ... yes
checking if cc static flag -static works... -static
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking command to parse /usr/bin/nm -B output... ok
checking how to hardcode library paths into programs... immediate
checking for /usr/bin/ld option to reload object files... -r
checking dynamic linker characteristics... Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for objdir... .libs
checking for dlopen in -ldl... yes
checking for dlfcn.h... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... no
creating libtool
not updating unwritable cache ./config.cache
checking for mawk... (cached) gawk
checking whether ln works... yes
checking whether ln -s works... (cached) yes
checking for sendmail... /usr/lib/sendmail
checking for vi... /bin/vi
checking for finger... /usr/bin/finger
checking how to run the C preprocessor... cc -E
checking for AIX... no
checking for POSIXized ISC... no
checking for minix/config.h... no
checking for Cygwin environment... no
checking for mingw32 environment... no
checking for EMX OS/2 environment... no
checking for executable suffix... no
checking for object suffix... o
checking for be_app in -lbe... no
checking for cc option to accept ANSI C... none needed
checking for cc depend flag... -M
checking for afopen in -ls... no
checking for EBCDIC... no
checking for ANSI C header files... yes
checking for dirent.h that defines DIR... yes
checking for opendir in -ldir... no
checking for sys/wait.h that is POSIX.1 compatible... yes
checking POSIX termios... yes
checking whether use of TIOCGWINSZ requires sys/ioctl.h... yes
checking for arpa/inet.h... yes
checking for arpa/nameser.h... yes
checking for assert.h... yes
checking for conio.h... no
checking for crypt.h... yes
checking for direct.h... no
checking for errno.h... yes
checking for fcntl.h... yes
checking for filio.h... no
checking for getopt.h... yes
checking for grp.h... yes
checking for io.h... no
checking for libutil.h... no
checking for limits.h... yes
checking for locale.h... yes
checking for netinet/tcp.h... yes
checking for malloc.h... yes
checking for memory.h... yes
checking for psap.h... no
checking for pwd.h... yes
checking for process.h... no
checking for resolv.h... yes
checking for sgtty.h... yes
checking for shadow.h... yes
checking for stddef.h... yes
checking for string.h... yes
checking for strings.h... yes
checking for sysexits.h... yes
checking for sys/file.h... yes
checking for sys/filio.h... no
checking for sys/errno.h... yes
checking for sys/ioctl.h... yes
checking for sys/param.h... yes
checking for sys/resource.h... yes
checking for sys/select.h... yes
checking for sys/socket.h... yes
checking for sys/syslog.h... yes
checking for sys/time.h... yes
checking for sys/types.h... yes
checking for syslog.h... yes
checking for termios.h... yes
checking for unistd.h... yes
checking for winsock.h... no
checking for dlopen... no
checking for dlopen in -ldl... yes
checking 

Message of length 7099 truncated

Reply 1

Resend
From: Kurt Zeilenga <openldap-its@OpenLDAP.org>
To: hutmat@cygate.fi
Subject: Re: configure: error: could not link with POSIX Threads (ITS#1318)
Date: Sun Sep  9 19:29:17 2001
Redhat 7.0 is known to have bad pthread libraries which
OpenLDAP configure properly detects as bad.  Believe
Redhat has updates available which resolve this.


Followup 1

Download message
Date: Sat, 22 Sep 2001 18:36:53 +0200 (MEST)
From: Peter Daum <gator@cs.tu-berlin.de>
To: <openldap-its@OpenLDAP.org>
Subject: Re: configure: error: could not link with POSIX Threads (ITS#1318)
On Thu, 6 Sep 2001, Matti Palaste <hutmat@cygate.fi> wrote:
> RH 7.0, GLIBC 2.2.12
>
> Ran the configure command and got this:
>
> Copyright 1998-2001 The OpenLDAP Foundation,  All Rights Reserved.
> Restrictions apply, see COPYRIGHT and LICENSE files.
> Configuring OpenLDAP 2.0.12-Release ...
[...]
> checking for pthread link with -lpthreads -lexc... no
> checking for pthread link with -lpthreads... no
> configure: error: could not link with POSIX Threads

I guess, I have the same problem. Maybe I can provide some additional
details:

In my case, the system is based on SUSE 7.1 with glibc-2.2-7 and
gcc-2.95.2.

When I run configure without any arguments, it aborts with the
error message above (configure --without-threads works). I don't
know enough about autoconf to figure out where the problem might
be. The message itself is obviously misleading: both, "-pthread"
as well as "-lpthread" would work to link with posix threads.
When I try it manually using the same arguments as configure, I
can compile and link the test program; when it is run, it returns
an exit code of 3, I assume that the same happens during the
"./configure" run. "onfigure.log" does not give contain any hints
that a problem occurred.

This is true for all versions of openldap between 2.0.11 and
2.0.15. With version 2.0.7, the configure script (and also
compiling and running the program with pthread support) works
without any problems.

Regards,
                Peter Daum



Followup 2

Download message
Date: Sat, 10 Dec 2005 22:17:32 +0100 (CET)
From: Andres Abadia <andres_a12@yahoo.es>
Subject: ITS#1318
To: openldap-its@openldap.org
--0-730763419-1134249452=:45290
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

this problem happend in red hat 9

		
---------------------------------

Correo Yahoo!
Comprueba qu. es nuevo, aqu.
http://correo.yahoo.es
--0-730763419-1134249452=:45290
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

<DIV id=RTEContent>this problem happend in red hat 9</DIV><p>
		<hr size=1><br><font face="Verdana" size="-2">Correo
Yahoo!<br>Comprueba qu. es nuevo, <a
href="http://us.rd.yahoo.com/mail/es/whatsnew/*http://es.whatsnew.mail.yahoo.com/">aqu.</a><br>http://correo.yahoo.es</font>
--0-730763419-1134249452=:45290--


Up to top level
Build   Contrib   Development   Documentation   Historical   Incoming   Software Bugs   Software Enhancements   Web  

Logged in as guest


The OpenLDAP Issue Tracking System uses a hacked version of JitterBug

______________
© Copyright 2013, OpenLDAP Foundation, info@OpenLDAP.org