pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/53703: devel/snappy: Fails to link on CentOS 7
>Number: 53703
>Category: pkg
>Synopsis: devel/snappy: Fails to link on CentOS 7
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Nov 05 22:20:00 +0000 2018
>Originator: Jason Bacon
>Release: pkgsrc-current, 2018-11-05
>Organization:
UWM
>Environment:
Linux centosdev.ceas.uwm.edu 3.10.0-693.11.1.el7.x86_64 #1 SMP Mon Dec 4 23:52:40 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
>Description:
Link fails with missing pthread functions. The patch below fixes the issue on CentOS and does not adversely affect it on NetBSD 7.1.1.
>How-To-Repeat:
On CentOS 7:
cd devel/snappy
bmake
>Fix:
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/devel/snappy/Makefile,v
retrieving revision 1.12
diff -u -r1.12 Makefile
--- Makefile 27 Aug 2017 09:13:16 -0000 1.12
+++ Makefile 5 Nov 2018 22:07:40 -0000
@@ -15,6 +15,7 @@
USE_LANGUAGES= c c++
CMAKE_ARGS+= -DBUILD_SHARED_LIBS=ON
+LDFLAGS+= -lpthread
.include "../../archivers/lzo/buildlink3.mk"
.include "../../devel/googletest/buildlink3.mk"
cvs diff: Diffing patches
Home |
Main Index |
Thread Index |
Old Index