<html>
    <head>
      <base href="https://llvm.org/bugs/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW " title="NEW --- - libutil should be added if Python is enabled" href="https://urldefense.proofpoint.com/v2/url?u=https-3A__llvm.org_bugs_show-5Fbug.cgi-3Fid-3D24042&d=AwMBaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=DDUMf06MYELAe1Nlv7KChiwJLLHbYha4jtK_AOiWqwQ&m=iujBbq6-bFWfXWCwpSPy3_NLVOH-z-k3vyZXEqSY9G8&s=90Q773yqg_1W1xZEKwRYdHoqTxvaoguSUjWJUEI8AQY&e=">24042</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>libutil should be added if Python is enabled
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>lldb
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>All Bugs
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>lldb-dev@cs.uiuc.edu
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>eugene.zelenko@gmail.com
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>libutil should be added if Python is enabled and static Python library is
linked with liblldb.

This will fix next link errors:

/grid/cic/nsd-farm2/data/zelenko/LLVM.svn/python-2.7.10.install/lib/libpython2.7.a(posixmodule.o):
In function `posix_openpty':                                                    
./Modules/posixmodule.c:(.text+0x2812): undefined reference to `openpty'        
/grid/cic/nsd-farm2/data/zelenko/LLVM.svn/python-2.7.10.install/lib/libpython2.7.a(posixmodule.o):
In function `posix_forkpty':                                                    
./Modules/posixmodule.c:(.text+0x286e): undefined reference to `forkpty'       
                                                                               
                                                                   I built LLDB
on RHEL 6. As workaround I added -lutil to CMAKE_EXE_LINKER_FLAGS and
CMAKE_SHARED_LINKER_FLAGS.</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>