Date: Mon, 17 Sep 2007 19:38:08 GMT From: Julien Cigar <mage@mordor.ath.cx> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/116423: postgresql82-server (8.2.5) failed to built with LDAP support (-pthread missing ?) Message-ID: <200709171938.l8HJc8w5086316@www.freebsd.org> Resent-Message-ID: <200709171940.l8HJe16T085000@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 116423 >Category: ports >Synopsis: postgresql82-server (8.2.5) failed to built with LDAP support (-pthread missing ?) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Sep 17 19:40:01 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Julien Cigar >Release: 6.2-RELEASE >Organization: >Environment: mordor# uname -a FreeBSD mordor.lan 6.2-RELEASE-p7 FreeBSD 6.2-RELEASE-p7 #0: Mon Aug 6 23:18:49 CEST 2007 mage@mordor.lan:/usr/obj/usr/src/sys/MORDOR i386 >Description: gmake[1]: Leaving directory `/usr/ports/databases/postgresql82-server/work/postgresql-8.2.5/src/port' cc -O2 -fno-strict-aliasing -pipe -O3 -funroll-loops -Wall -Wmissing-prototypes -Wpointer-arith -Winline -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -DFRONTEND -I../../../src/interfaces/libpq -I../../../src/include -I/usr/local/include -I/usr/local/include -c -o initdb.o initdb.c cc -O2 -fno-strict-aliasing -pipe -O3 -funroll-loops -Wall -Wmissing-prototypes -Wpointer-arith -Winline -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing initdb.o -L../../../src/port -lpgport -L../../../src/interfaces/libpq -lpq -L../../../src/port -rpath=/usr/lib:/usr/local/lib -L/usr/local/lib -L/usr/local/lib -Wl,-R'/usr/local/lib' -lpgport -lintl -lpam -lssl -lcrypto -lz -lreadline -lcrypt -lm -o initdb /usr/local/lib/libldap_r-2.3.so.2: undefined reference to `pthread_attr_destroy' /usr/local/lib/libldap_r-2.3.so.2: undefined reference to `pthread_create' /usr/local/lib/libldap_r-2.3.so.2: undefined reference to `pthread_attr_init' /usr/local/lib/libldap_r-2.3.so.2: undefined reference to `pthread_exit' /usr/local/lib/libldap_r-2.3.so.2: undefined reference to `pthread_equal' /usr/local/lib/libldap_r-2.3.so.2: undefined reference to `pthread_setconcurrency' /usr/local/lib/libldap_r-2.3.so.2: undefined reference to `pthread_kill' /usr/local/lib/libldap_r-2.3.so.2: undefined reference to `pthread_attr_setstacksize' /usr/local/lib/libldap_r-2.3.so.2: undefined reference to `pthread_attr_setdetachstate' /usr/local/lib/libldap_r-2.3.so.2: undefined reference to `pthread_join' /usr/local/lib/libldap_r-2.3.so.2: undefined reference to `pthread_getconcurrency' gmake: *** [initdb] Error 1 *** Error code 2 Stop in /usr/ports/databases/postgresql82-server. *** Error code 1 Stop in /usr/ports/databases/postgresql82-server. ===>>> make failed for databases/postgresql82-server ===>>> Aborting update >How-To-Repeat: #> portmaster -vd postgresql-server-8.2.4 The problem appears only when linking PostgreSQL to LDAP. >Fix: I guess a missing -pthread ... ? ps: my openldap libraries have been compiled with thread support (the Shell backend has not been enabled) >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200709171938.l8HJc8w5086316>