<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [GTK][Mac] gobject-introspection uses wrong shared-library path"
   href="https://bugs.webkit.org/show_bug.cgi?id=152183#c15">Comment # 15</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [GTK][Mac] gobject-introspection uses wrong shared-library path"
   href="https://bugs.webkit.org/show_bug.cgi?id=152183">bug 152183</a>
              from <span class="vcard"><a class="email" href="mailto:jeremyhu&#64;apple.com" title="Jeremy Huddleston Sequoia &lt;jeremyhu&#64;apple.com&gt;"> <span class="fn">Jeremy Huddleston Sequoia</span></a>
</span></b>
        <pre>Note that if you're on El Capitan, the issue might be happening because g-ir-scanner has a shebang of '#!/usr/bin/env /path/to/python'.  The use of usr/bin/env with SIP causes DYLD_LIBRRY_PATH to NOT get passed down in the environment.

We addressed that in MacPorts by fixing the shebang in gobject-introspection scripts to be &quot;#!/path/to/macports/prefix/bin/python&quot;.  You should do something similar, or it can also be worked around in the webkit-gtk build system (but of course other projects will still fail) doing:

-        ${INTROSPECTION_SCANNER}
+        ${PYTHON_EXECUTABLE} ${INTROSPECTION_SCANNER}

in the appropriate places in Source/WebKit2/PlatformGTK.cmake</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>