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
David Rhodus <drhodus@xxxxxxxxx> wrote:
> Adam K Kirchhoff wrote:
>>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
>>
>>
>>
> Well, I *think* at the point your XFree lib compile is blowing up that
> has made it.
> But if not you can find the library in the same place your building your
> ports.
> yellow# pwd
> /usr/ports/x11/XFree86-4-libraries/work/xc/lib/XThrStub
> yellow# ls -l
> total 50
> -rw-r--r-- 1 root wheel 661 Oct 2 11:11 .depend
> -rw-r--r-- 1 root wheel 759 Dec 20 1998 Imakefile
> -rw-r--r-- 1 root wheel 28872 Oct 2 11:08 Makefile
> -rw-r--r-- 1 root wheel 6398 Jan 14 2003 UIThrStubs.c
> -rw-r--r-- 1 root wheel 1384 Oct 2 11:12 UIThrStubs.o
> lrwxr-xr-x 1 root wheel 18 Oct 2 11:12 libXThrStub.so ->
> libXThrStub.so.6.1
> lrwxr-xr-x 1 root wheel 18 Oct 2 11:12 libXThrStub.so.6 ->
> libXThrStub.so.6.1
> -rwxr-xr-x 1 root wheel 5243 Oct 2 11:12 libXThrStub.so.6.1
> yellow#
> Then go to your /usr/lib and ln -s
> /usr/ports/x11/XFree86-4-libraries/work/xc/lib/XThrStub ./libXThrStub.so
> Cool ?
Yeah, that makes sense :-) Thanks.
Adam
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]