DragonFly BSD
DragonFly kernel List (threaded) for 2003-11
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: XFree86-4-libraries build failure


From: Adam K Kirchhoff <adamk@xxxxxxxxxxxx>
Date: 27 Nov 2003 13:26:27 GMT

David Rhodus <drhodus@xxxxxxxxx> wrote:
> Eli Scott wrote:

>>Yeah, I reformatted the entire slice, then reinstlled DragonFly, and I'm
>>still getting the same problem.  I'm going to play around a bit tonight
>>and see if I can massage a build out of it.  If I get it to build, I'll
>>let you guys know.
>>
>>Thanks for your help and suggestions.
>>
>>-Eli
>>

> yellow# pwd
> /usr/X11R6/lib
> yellow# ls -l libXThrStub.so*
> lrwxr-xr-x  1 root  wheel    16 Oct  2 12:11 libXThrStub.so -> 
> libXThrStub.so.6
> -rwxr-xr-x  1 root  wheel  5243 Oct  2 12:11 libXThrStub.so.6
> yellow#
> yellow# ld -lXThrStub
> /usr/libexec/elf/ld: cannot find -lXThrStub
> yellow# ktrace ld -lXThrStub
> /usr/libexec/elf/ld: cannot find -lXThrStub
> yellow# kdump | less
> ....
>    731 ld       CALL  open(0x80ca480,0,0x1b6)
>    731 ld       NAMI  "/usr/lib/libXThrStub.so"
>    731 ld       RET   open -1 errno 2 No such file or directory
>    731 ld       CALL  open(0x80ca480,0,0x1b6)
>    731 ld       NAMI  "/usr/lib/libXThrStub.a"
>    731 ld       RET   open -1 errno 2 No such file or directory
> ....

> hum, maybe I'll make a symlink for the dumb linker

> yellow# cd /usr/lib
> yellow# ln -s /usr/X11R6/lib/libXThrStub.so.6 ./libXThrStub.so
> yellow# ld -lXThrStub
> /usr/libexec/elf/ld: warning: cannot find entry symbol _start; not 
> setting start address
> yellow#


> Now you can compile your XFree-4 port......

That only does you any good if you have the XFree86 libraries installed
in the first place, right?  If you don't, you're still screwed.

Adam




[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]