From Prof Brian Ripley <ripley@stats.ox.ac.uk>  Thu Mar 30 11:31:48 2000
From: Prof Brian Ripley <ripley@stats.ox.ac.uk> (Prof Brian Ripley)
Date: Thu, 30 Mar 2000 11:31:48 +0100 (BST)
Subject: [Rd] AIX fails on startup with R-1.0.0
Message-ID: <200003301031.LAA18620@toucan.stats.ox.ac.uk>


> To: Kurt.Hornik@ci.tuwien.ac.at
> Cc: R-devel <r-devel@stat.math.ethz.ch>
> Subject: Re: [Rd] AIX fails on startup with R-1.0.0
> X-URI: http://www.ece.cmu.edu/~tov
> From: Thomas J Vogels <tov@ece.cmu.edu>
> Date: 28 Mar 2000 13:24:09 -0500

> Other roadblocks I've encountered (and the reason I cc: r-devel):
> 
> -- ld/cc doesn't automatically include /usr/local/lib while gcc does.
> This comes from the sytem installation here and has nothing to do with
> R.  But having to add LIBS=-L/usr/local/lib may come as a surprise to
> people who don't do this regularly.  Does configure check for the
> existence of e.g. libz.a with cc or gcc?

This is a common problem, and if libz is shared, building may work but
running may not (as you need /usr/local/lib in the shared library path).

BTW, recent gcc's (e.g. 2.95.2) seem to include prefix/lib not
/usr/local/lib which may come as even more of a surprise.
On Solaris 2.6 I need 

CPPFLAGS=-I/usr/local/include
LIBS="-L/usr/local/lib -R/usr/local/lib"

when using gcc 2.95.2, installed in /ext/gcc-2.95.2, and I always need the
second to cope with /usr/local/lib/libz.so.

-- 
Brian D. Ripley,                  ripley@stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


[Rd] AIX fails on startup with R-1.0.0
Prof Brian Ripley