Skip to content
This repository was archived by the owner on Jul 1, 2026. It is now read-only.

Commit da0800b

Browse files
author
Dane Springmeyer
committed
attempt to solve 'GLIBC_2.14 not found' problem with older glic - refs #244
1 parent b9680ce commit da0800b

2 files changed

Lines changed: 8 additions & 1 deletion

File tree

deps/sqlite3.gyp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,10 @@
7979
'SQLITE_ENABLE_RTREE'
8080
],
8181
},
82-
'cflags_cc': ['-Wno-unused-value'],
82+
'cflags_cc': [
83+
'-Wno-unused-value',
84+
'-include ../src/gcc-preinclude.h'
85+
],
8386
'defines': [
8487
'_REENTRANT=1',
8588
'SQLITE_THREADSAFE=1',

src/gcc-preinclude.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
2+
// https://rjpower9000.wordpress.com/2012/04/09/fun-with-shared-libraries-version-glibc_2-14-not-found/
3+
4+
__asm__(".symver memcpy,memcpy@GLIBC_2.2.5");

0 commit comments

Comments
 (0)