<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED INVALID - Compile Mesa , specific compilation , /usr/bin/ld: cannot find -ldrm"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=94394#c4">Comment # 4</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED INVALID - Compile Mesa , specific compilation , /usr/bin/ld: cannot find -ldrm"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=94394">bug 94394</a>
              from <span class="vcard"><a class="email" href="mailto:emil.l.velikov@gmail.com" title="Emil Velikov <emil.l.velikov@gmail.com>"> <span class="fn">Emil Velikov</span></a>
</span></b>
        <pre>You are attempting to do a 32bit build on a 64bit platform. Thus the 32bit
dependencies should be met, there is no other way ;-)
The PKG... variable should be set before the configure call, and must point the
the .pc files for the 32bit libraries. 

So something like the following

$ export PKG_CONFIG_PATH=/usr/lib/pkgconfig
$ ./configure ...

As configure runs it will prompt for the missing libraries. Install those and
retry,

If you want to build 64bit mesa on a 64bit platform, you don't need any 32bit
libraries.

Hope that makes things clearer.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>