-
Type: Bug
-
Resolution: Duplicate
-
Priority: Minor - P4
-
None
-
Affects Version/s: 2.0.2
-
Component/s: Build
-
None
-
Environment:OS X 10.6.8, Xcode 3.2.6
-
OS X
When building mongodb 2.0.2 with the
--use-system-all
option (or presumably just
--use-system-pcre
), the build fails with:
Undefined symbols for architecture x86_64: "_pcre_config", referenced from: mongo::RXTest::run() in matcher.o mongo::RXTest::run() in matcher.o ld: symbol(s) not found for architecture x86_64 collect2: ld returned 1 exit status
To fix this I have to manually add
-lpcre
to LINKFLAGS.
- duplicates
-
SERVER-4871 Build system depends on implicit linking to pcre
- Closed