pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Solved: Linux devel/snappy pthread is missing on linux (patch)



Hello,

it isnt working, wih this message:

EE16GetOrCreateValueEv[_ZNK7testing8internal11ThreadLocalIPNS_31TestPartResultReporterInterfaceEE16GetOrCreateValueEv]+0x6c): undefined reference to `pthread_setspecific'

Regards,
Andreas

Sevan Janiyan wrote:
On 02/12/2018 16:55, Andreas Beck wrote:
correction:
Instead of your proposed change, can you try the following patch in its
place and report back if it has resolved the issue for you, please


Index: devel/snappy/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/devel/snappy/Makefile,v
retrieving revision 1.12
diff -u -p -u -r1.12 Makefile
--- devel/snappy/Makefile       27 Aug 2017 09:13:16 -0000      1.12
+++ devel/snappy/Makefile       2 Dec 2018 21:07:35 -0000
@@ -16,6 +16,7 @@ USE_LANGUAGES=                c c++

  CMAKE_ARGS+=   -DBUILD_SHARED_LIBS=ON

+.include "../../mk/pthread.buildlink3.mk"
  .include "../../archivers/lzo/buildlink3.mk"
  .include "../../devel/googletest/buildlink3.mk"
  .include "../../devel/zlib/buildlink3.mk"



Sevan



Home | Main Index | Thread Index | Old Index