Subject:
|
Re: ldglite (ldlite for OpenGL and Linux) new stuff
|
Newsgroups:
|
lugnet.cad.dev
|
Date:
|
Wed, 26 Jan 2000 20:10:28 GMT
|
Viewed:
|
1357 times
|
| |
| |
In lugnet.cad.dev, Don Heyse writes:
> Yuk! Your libs and mine are not setup anywhere near the same way.
> I have NOTHING in /usr/local/lib.
I didn't either, until I compiled & installed Mesa.
> All the X stuff is in /usr/X11R6/lib.
Yup, same here (except Mesa).
> [...]
> Anyways, after I made those two softlinks I could link ldglite and
> it just worked.
Whoa, that's interesting... You had trouble linking before making the
softlinks?? I don't remember having trouble linking at all -- but I
definitely had _running_ (launching) the executable before making the
softlinks. After making the softlinks, the ldglite launched fine -- it
just didn't display anything.
Is the ldglite executable supposed to be statically linked? As far as I
can tell, my system seems to be wanting to load the Mesa libraries at
runtime, right when ldglite is invoked from the command line. The ldglite
executable is still pretty huge, though -- 196142 bytes -- which suggests
that it's got quite a bit of _some_ kind of baggage in it. :)
> Did you try removing the executable and relinking?
> I didn't provide a "make clean" in the makefile yet so you have to do
> that by hand.
Ya, I did
$ rm -f ldglite *.o
$ make -f makefile.linux
--Todd
|
|
Message has 2 Replies: | | Re: ldglite (ldlite for OpenGL and Linux) new stuff
|
| (...) Weird. It was looking for the object libraries at runtime, yet the filesize was wicked huge. (I wonder what's up with that? It should only be a few Kb in size.) Now I just linked it a different way -- closer to what the Mesa demos do -- and it (...) (25 years ago, 26-Jan-00, to lugnet.cad.dev)
| | | Re: ldglite (ldlite for OpenGL and Linux) new stuff
|
| (...) Hmmm, perhaps now we're onto something. My executable is only 189110 bytes. Significantly smaller! ;^) I don't think the executable is supposed to be statically linked. I didn't add anything to the makefile to do that. Do you have the .a files (...) (25 years ago, 26-Jan-00, to lugnet.cad.dev)
|
Message is in Reply To:
| | Re: ldglite (ldlite for OpenGL and Linux) new stuff
|
| (...) Yuk! Your libs and mine are not setup anywhere near the same way. I have NOTHING in /usr/local/lib. All the X stuff is in /usr/X11R6/lib. The Mesalibs were already there when I installed off the Mandrake CD so I left them there, even though (...) (25 years ago, 26-Jan-00, to lugnet.cad.dev)
|
70 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
This Message and its Replies on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|