Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-4635

--use-system-pcre doesn't work unless I add -lpcre to LINKFLAGS

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor - P4 Minor - P4
    • None
    • 2.0.2
    • Build
    • None
    • OS X 10.6.8, Xcode 3.2.6
    • OS X

    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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            ryandesign Ryan Schmidt
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: