#1866: libdrm on x86_64 pure 64-bit -------------------------------------+-------------------------------------- Reporter: [EMAIL PROTECTED] | Owner: [email protected] Type: defect | Status: new Priority: normal | Milestone: future Component: BOOK | Version: a-SVN Severity: normal | Keywords: svn-20060325 -------------------------------------+-------------------------------------- Using BLFS version SVN-20060325:
I built a 64-bit pure LFS system from the instructions in CLFS-20060322. I am now rounding out the system, and encountered an interesting problem that I hadn't seen in any previous LFS system builds- namely that libdrm fails to build the shared library file. All indications are that it thinks it's supposed to build the shared library (from config.status), but for some reason it does not, even when configured with the '--enable- shared' option. This failure causes the MesaLib build to fail. I searched, but could not find anyone experiencing a similar problem, so I don't know if it's simply something weird on my end or not (although this is the first such failure I've encountered thus far, aside from the normal typos!). Either way, the following commands, executed from the top directory within the libdrm source tree will correct the problem (yes, by manually building the shared library): 1) gcc -shared .libs/xf86drm.o .libs/xf86drmHash.o .libs/xf86drmRandom.o .libs/xf86drmSL.o -Wl,-soname -Wl,libdrm.so.2 -o .libs/libdrm.so.2.0.0 2) /usr/bin/install -c .libs/libdrm.so.2.0.0 /usr/lib 3) ln -s /usr/lib/libdrm.so.2.0.0 /usr/lib/libdrm.so Like I said, maybe someone a little more experienced with libdrm would be able to fix this problem easier, or notice what I've done wrong, but if anyone else is encountering a problem with libdrm/MesaLib on a pure 64-bit x86_64 build (no multilib), this should correct the problem. -- Ticket URL: <http://wiki.linuxfromscratch.org/blfs/ticket/1866> BLFS Trac <http://wiki.linuxfromscratch.org/blfs> Beyond Linux From Scratch -- http://linuxfromscratch.org/mailman/listinfo/blfs-book FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
