Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-3595

Make sure the Python example gets the right _wiredtiger.so

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.6.0-rc0, WT3.0.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage 2017-10-02

      There have been a couple Evergreen failures during the compile phase on OS X. They're very strange and our first inclination is that there is something wrong with the machine backing these builds because there is nothing in the WiredTiger changes that would explain the failures. Not sure how much information we can gather out of the artifacts, but opening the ticket so they don't get lost.

      Both failures have identical errors, trying to look for the wiredtiger library in /usr/local:

      [2017/09/15 18:43:37.384] FAIL: run-ex_access
      [2017/09/15 18:43:37.384] ===================
      [2017/09/15 18:43:37.384] Traceback (most recent call last):
      [2017/09/15 18:43:37.384]   File "./../../examples/python/ex_access.py", line 31, in <module>
      [2017/09/15 18:43:37.384]     from wiredtiger import wiredtiger_open
      [2017/09/15 18:43:37.384]   File "/data/mci/02d61d59afdc853fdfc6f36f468331d4/wiredtiger/lang/python/wiredtiger/__init__.py", line 45, in <module>
      [2017/09/15 18:43:37.384]     _wiredtiger = swig_import_helper()
      [2017/09/15 18:43:37.384]   File "/data/mci/02d61d59afdc853fdfc6f36f468331d4/wiredtiger/lang/python/wiredtiger/__init__.py", line 37, in swig_import_helper
      [2017/09/15 18:43:37.384]     import _wiredtiger
      [2017/09/15 18:43:37.384] ImportError: dlopen(/data/mci/02d61d59afdc853fdfc6f36f468331d4/wiredtiger/lang/python/_wiredtiger.so, 2): Library not loaded: /usr/local/lib/libwiredtiger-3.0.0.dylib
      [2017/09/15 18:43:37.384]   Referenced from: /data/mci/02d61d59afdc853fdfc6f36f468331d4/wiredtiger/lang/python/_wiredtiger.so
      [2017/09/15 18:43:37.384]   Reason: image not found
      [2017/09/15 18:43:37.384] FAIL run-ex_access (exit status: 1)
      

            Assignee:
            donald.anderson@mongodb.com Donald Anderson
            Reporter:
            sue.loverso@mongodb.com Susan LoVerso
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: