Opened 18 years ago

Closed 18 years ago

Last modified 10 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
Cc:

Description

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.

Change History (2)

comment:1 by DJ Lucas, 18 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@…, 10 years ago

Milestone: old

Milestone old deleted

Note: See TracTickets for help on using tickets.