Summary: | Compile Mesa , specific compilation , /usr/bin/ld: cannot find -ldrm | ||
---|---|---|---|
Product: | Mesa | Reporter: | tele <swojskichlopak> |
Component: | Other | Assignee: | mesa-dev |
Status: | RESOLVED INVALID | QA Contact: | mesa-dev |
Severity: | normal | ||
Priority: | medium | ||
Version: | 11.2 | ||
Hardware: | x86-64 (AMD64) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
tele
2016-03-04 20:03:04 UTC
I tend to recommend people getting latest mesa from their distribution. Although that's not always possible. That aside the issue here is that you've not set the PKG_CONFIG_PATH variable to point to the 32bit .pc files, as mentioned in the instructions [1] If you've set it and compilation still fails, feel free to reopen. For the future please attach files to bugzilla, just in case ;-) Thanks Emil [1] http://www.mesa3d.org/autoconf.html - 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 http://wklejto.pl/249051 make snd the same error http://wklejto.pl/249052 * - Do I need install all 32 bit dependencies before compile on 64 bit system ? 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. *** Bug 94443 has been marked as a duplicate of this bug. *** Thanks people ! problem SOLVED |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.