<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#c2">Comment # 2</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:swojskichlopak@wp.pl" title="tele <swojskichlopak@wp.pl>"> <span class="fn">tele</span></a>
</span></b>
<pre> - Do I need all 32 bit dependencies before compile on 64 bit system ?
#========================
$ echo $PKG_CONFIG_PATH
/usr/lib64/pkgconfig
$ echo $PKG_CONFIG_PATH
/usr/lib64/pkgconfig
$ ld -ldrm --verbose
...
attempt to open /usr/lib64/libdrm.so succeeded
-ldrm (/usr/lib64/libdrm.so)
libm.so.6 needed by /usr/lib64/libdrm.so
found libm.so.6 at /lib64/libm.so.6
libc.so.6 needed by /usr/lib64/libdrm.so
found libc.so.6 at /lib64/libc.so.6
ld-linux-x86-64.so.2 needed by /lib64/libc.so.6
found ld-linux-x86-64.so.2 at /lib64/ld-linux-x86-64.so.2
ld: warning: cannot find entry symbol _start; not setting start address
$ ls /usr/lib64/pkgconfig | grep libdrm.pc
libdrm.pc
#========================
./configure CC="gcc -m32" CXX="g++ -m32" --build=x86_64-pc-linux-gnu
--host=i686-pc-linux-gnu --disable-static PKG_CONFIG_PATH=/usr/lib64/pkgconfig
<a href="http://wklejto.pl/249051">http://wklejto.pl/249051</a>
make snd the same error
<a href="http://wklejto.pl/249052">http://wklejto.pl/249052</a></pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>