[SERVER-4635] --use-system-pcre doesn't work unless I add -lpcre to LINKFLAGS Created: 06/Jan/12  Updated: 03/Feb/12  Resolved: 03/Feb/12

Status: Closed
Project: Core Server
Component/s: Build
Affects Version/s: 2.0.2
Fix Version/s: None

Type: Bug Priority: Minor - P4
Reporter: Ryan Schmidt Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

OS X 10.6.8, Xcode 3.2.6


Issue Links:
Duplicate
duplicates SERVER-4871 Build system depends on implicit link... Closed
Operating System: OS X
Participants:

 Description   

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.


Generated at Thu Feb 08 03:06:33 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.