On Mon, 17 Sep 2001 08:33:47 +0200 (MEST) Gregor Maier <[EMAIL PROTECTED]> wrote: > > On 15-Sep-2001 Asheesh Laroia wrote: > > Hmm. > > > > Look for "libX11.a", since that's the file that gets compiled into > > programs. If it's in /usr/X11R6/lib/ as well, then I'd look at your > GCC > > parameters. > > > > It just seems bizarre that it wouldn't work out of the box.... > > > Why would you use static xlib. IMHO static libs should only be used in > rare > cases when you really want, since linking against static libs will the > cause > the code of the lib to be added to EACH program you compile. > > The libX11.a for example if more to 2MB. And I don't think that you want > to > link those 2Mb to each x-programm you compile. Gregor, Mines only 1.4 megs but that's irrelavant. It's an age old battle static vs dynamic libs. Windows went dynamic and Linux/Unix went straight down the middle. (you can do either one Viva la choice) Not all programs use all the libs in a "package" most often it does add less than .5% "weight" to a binary when you compile static. Static gives you extreme portability to the binaries and cuts down your "dependancy overhead" a lot. I mean which is easier add 1.4 megs to a 150meg program or ask the user to download an additional 20 megs in dependancy chains (that might break their box) It's a problem that will continue to exist as long as the distro's go their own merry way. To build an app from binary often means even more downloads as you need the "developer" version instead of the "user" version. I build and test apps for a living and let me assure you, about once a month my box get so fscked up that I have to wipe it and start all over, just to have an accurate test bed again. All I pray for is that the disto's will comply with the LSB and then some. James > > Gregor > > > On 15 Sep 2001, Dave Sherman wrote: > > > >> On Sat, 2001-09-15 at 08:40, Asheesh Laroia wrote: > >> > Um, this should be simply solved by installing the XFree86-devel > package, > >> > no poking-and-tweaking should be required.... > >> > >> The XFree86-devel package was/is installed, however I am still > getting > >> this error. I have also checked /etc/ld.so.conf, and /usr/X11R6/lib/ > >> appears in it (and libX11.so is in the /usr/X11R6/lib/ directory). > >> > >> I haven't tried the export commands suggested to me, but I will when > I > >> get back to this project. > >> > >> Thanks for the help, > >> Dave > >> > > > > -- > > <Knghtbrd> Overfiend - BTW, after we've discovered X takes all of 1.4 > GIGS > > to build, are you willing admit that X is bloatware? => > > <Overfiend> KB: there is a 16 1/2 minute gap in my answer > > <acf> knghtbrd: evidence exists that X is only the *2nd* worst > windowing > > system ;) > > > > > > ---------------------------------- > E-Mail: Gregor Maier <[EMAIL PROTECTED]> > Date: 17-Sep-2001 > Time: 08:31:29 > ---------------------------------- > >
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
