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 Fix: I guess a missing -pthread ... ? ps: my openldap libraries have been compiled with thread support (the Shell backend has not been enabled) How-To-Repeat: #> portmaster -vd postgresql-server-8.2.4 The problem appears only when linking PostgreSQL to LDAP.
Responsible Changed From-To: freebsd-ports-bugs->girgen Over to maintainer
If I select the LIBC_R option, it compiles cleanly.
Yes, openldap-client-2.3.38 compiled with the following OPTIONS : mordor% cat /var/db/ports/openldap23/options # This file is auto-generated by 'make config'. # No user-servicable parts inside! # Options for openldap-server-2.3.37 _OPTIONS_READ=openldap-server-2.3.37 WITHOUT_SASL=true WITHOUT_PERL=true WITHOUT_SHELL=true WITHOUT_ODBC=true WITHOUT_SLP=true WITHOUT_SLAPI=true WITH_TCP_WRAPPERS=true WITH_BDB=true WITHOUT_ACCESSLOG=true WITHOUT_AUDITLOG=true WITHOUT_DENYOP=true WITHOUT_DYNGROUP=true WITHOUT_DYNLIST=true WITHOUT_LASTMOD=true WITHOUT_PPOLICY=true WITHOUT_PROXYCACHE=true WITHOUT_REFINT=true WITHOUT_RETCODE=true WITHOUT_RWM=true WITHOUT_SYNCPROV=true WITHOUT_TRANSLUCENT=true WITHOUT_UNIQUE=true WITHOUT_VALSORT=true WITHOUT_ACI=true WITH_DYNAMIC_BACKENDS=true WITH_SLURPD=true Kind regards, Julien On Tue, 2007-09-18 at 07:37 +1000, Edwin Groothuis wrote: > On Mon, Sep 17, 2007 at 07:38:08PM +0000, Julien Cigar wrote: > > >Synopsis: databases/postgresql82-server (8.2.5) failed to built with LDAP support (-pthread missing ?) > > Do you have openldap server or client on your machine? > > Edwin
State Changed From-To: open->closed This was fixed by add "WITH_LIBC_R" config option. This option is now always true to avoid confusion, effective from today.
girgen 2008-03-18 22:27:20 UTC FreeBSD ports repository Modified files: databases/postgresql82-client Makefile databases/postgresql82-server Makefile distinfo Log: Update to 8.2.7 Release notes: http://developer.postgresql.org/pgdocs/postgres/release-8-2-7.html Remove HIER patch option, since it is not available anymore. The site is down and original author responses that he does not maintain it anymore. PR: ports/116423 Remove option to build and link with thread safety, and always build thread safe instead. Decided after a discussion with postgresql hackers, and tested for a while in postgresql83. This helps when for example linking with openldap, or for using certain programming languages as postgresql functions. Revision Changes Path 1.5 +1 -1 ports/databases/postgresql82-client/Makefile 1.175 +5 -20 ports/databases/postgresql82-server/Makefile 1.58 +3 -3 ports/databases/postgresql82-server/distinfo _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"