Re: problem linking 'pango-1.14.4'




--- Valdis Kletnieks vt edu wrote:

> On Mon, 02 Oct 2006 18:52:11 PDT, Sergei Steshenko said:
> 
> > OK, I thought linker was smarter, that is, it would scan the libraries until
> > it would resolve the symbols, or find it was impossible. I think, Verilog-XL
> > linker used to work that way - sorry, experience from the a wrong world :-).
> > 
> > Then the situation is horrible - it's very bad the result depends on the
> > order of two standard directories: /usr/lib and /usr/X11R6/lib.
> 
> It's a "Working As Designed" - if the linker didn't behave that way, you
> couldn't add a -L/usr/local/lib and know what the results would be. (And if
> anything, /usr/local/lib is *more* standard, as it dates back to when
> X11 was still X10.4 - this X11R6 is a *newcomer*.  Sun was recommending a
> /usr/local/lib on SunOS 3.2, well over 20 years ago....)
> 

As I said, I wouldn't.

The systems I build know EXACTLY where the components should be.

I've spent countless hours debugging things just to find out that a wrong
version of something was picked up because of the search paths mechanism.

Since then I hate the search paths and ambiguity they cause.

--Sergei.

Applications From Scratch: http://appsfromscratch.berlios.de/

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



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