Bugzilla – Attachment 125709 Details for
Bug 100459
Building `ExternalProject/postgresql` fails
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[PATCH] external: Link PostgreSQL with `-lpthread`
fix-postgresql-configure.patch (text/plain), 1.65 KB, created by
Paul Menzel
on 2016-06-17 15:04:04 UTC
(
hide
)
Description:
[PATCH] external: Link PostgreSQL with `-lpthread`
Filename:
MIME Type:
Creator:
Paul Menzel
Created:
2016-06-17 15:04:04 UTC
Size:
1.65 KB
patch
obsolete
>From 0dd55bbfb86065136b8055229e4029595a2bf5be Mon Sep 17 00:00:00 2001 >From: Donald Buczek <buczek@molgen.mpg.de> >Date: Tue, 29 Sep 2015 23:27:05 +0200 >Subject: [PATCH] external: Link PostgreSQL with `-lpthread` > >Fix the error below. > >``` >$ make -j --prefix=⦠>[â¦] >configure: error: library 'ldap_r' is required for LDAP >[CXX] dbaccess/source/ui/tabledesign/TableUndo.cxx >/dev/shm/bee-root/libreoffice/libreoffice-5.1.3.2-0/source/external/postgresql/ExternalProject_postgresql.mk:54: recipe for target '/dev/shm/bee-root/libreoffice/libreoffice-5.1.3.2-0/build/workdir/ExternalProject/postgresql/build' failed >make[1]: *** [/dev/shm/bee-root/libreoffice/libreoffice-5.1.3.2-0/build/workdir/ExternalProject/postgresql/build] Error 1 >make[1]: *** Waiting for unfinished jobs.... >Makefile:244: recipe for target 'build' failed >make: *** [build] Error 2 >``` > >Change-Id: I643cbfaa035801d6acb32fead8f439e4d8a2be6f >--- > external/postgresql/ExternalProject_postgresql.mk | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/external/postgresql/ExternalProject_postgresql.mk b/external/postgresql/ExternalProject_postgresql.mk >index 42fa12f..c48c9a2 100644 >--- a/external/postgresql/ExternalProject_postgresql.mk >+++ b/external/postgresql/ExternalProject_postgresql.mk >@@ -41,6 +41,7 @@ endif > ifeq ($(SYSTEM_OPENLDAP),) > postgresql_CPPFLAGS += -I$(call gb_UnpackedTarball_get_dir,openldap)/include > postgresql_LDFLAGS += \ >+ -lpthread \ > -L$(call gb_UnpackedTarball_get_dir,openldap)/libraries/libldap_r/.libs \ > -L$(call gb_UnpackedTarball_get_dir,openldap)/libraries/libldap/.libs \ > -L$(call gb_UnpackedTarball_get_dir,openldap)/libraries/liblber/.libs \ >-- >2.4.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 100459
:
125709
|
125762