Opened 15 years ago

Closed 15 years ago

Last modified 8 years ago

#1866 closed defect (invalid)

libdrm on x86_64 pure 64-bit

Reported by: rob.horvath@… Owned by: blfs-book@…
Priority: normal Milestone:
Component: BOOK Version: 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, -o .libs/

2) /usr/bin/install -c .libs/ /usr/lib

3) ln -s /usr/lib/ /usr/lib/

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.

Change History (2)

comment:1 by DJ Lucas, 15 years ago

Resolution: invalid
Status: newclosed

This sounds very similar to the butcherd autoreconf command not putting the so extention on the shared object way back when. We are not targeting 64bit builds yet, so this bug is invalid for BLFS, however, I'd still be interested to see if the new instructions have fixed the problem. If anyone has pure64 and can test, or Rob if you are still watching, that would be great. I'm closing the bug, but if anyone would like to report in the archives, great! Thanks.

comment:2 by bdubbs@…, 8 years ago

Milestone: old

Milestone old deleted

Note: See TracTickets for help on using tickets.