From gor@n@bro@trom @ending from umu@@e  Sat Jul  7 14:25:01 2018
From: gor@n@bro@trom @ending from umu@@e (=?UTF-8?Q?G=c3=b6ran_Brostr=c3=b6m?=)
Date: Sat, 7 Jul 2018 14:25:01 +0200
Subject: [Rd] undefined symbol: cholmod_factorize_p (solved)
In-Reply-To: <8070c7f1-0802-7c0a-795f-5f37a11d8e9f@umu.se>
References: <39cb5a4b-c39f-fbbb-0c65-a84874e630e6@umu.se>
 <CABFfbXuXb2EWRfoZOSMYzryOO1GxA8rqGRrhp0DfHO6J7PgBzg@mail.gmail.com>
 <8070c7f1-0802-7c0a-795f-5f37a11d8e9f@umu.se>
Message-ID: <94709392-3f2d-5822-9a67-57be2e7ec98f@umu.se>



On 2018-07-07 13:41, G?ran Brostr?m wrote:
> 
> 
> On 2018-07-07 13:08, Jeroen Ooms wrote:
>> On Fri, Jul 6, 2018 at 11:57 PM, G?ran Brostr?m
>> <goran.brostrom at umu.se> wrote:
>>> I am installing R_3.5.1 from source on ubuntu 18.04, and 'config' +
>>> 'make' gives me (at the end)
>>
>> Probably something went wrong earlier in the build when compiling
>> the Matrix package. However it's much easier to install R form the 
>> binaries:
>>
>> sudo add-apt-repository -y ppa:marutter/rrutter3.5 sudo apt-get
>> update sudo apt-get install r-base
> 
> Thanks, after a discussion with Dirk on r-sig-debian I did just that.
> The reason I compiled R from source was that I had some problems with 
> the binary install but without the ppa:marutter. With it everything works.
> 
>>
>> If you really want to build from source, have a look at which flags 
>> and dependencies are used in the r-base source package on Debian/Ubuntu.
>>
> I certainly will be able to do that (it has "always" worked seamlessly 
> for me, don't understand what happened this time. Maybe the upgrade to 
> 18.04), so I will have a look.

I had a look in ~/.R and there I found a file 'Makevars' containing:

PKG_LIBS = $(LAPACK_LIBS) $(BLAS_LIBS) $(FLIBS)

Removing it removed the problem! Its existence was a result of a 
discussion on r-pkg-devel, which I now will take up again (but after the 
game).

G?ran

> Many thanks, G?ran
> 
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel



[Rd] undefined symbol: cholmod_factorize_p (solved)
=?UTF-8?Q?G=c3=b6ran_Brostr=c3=b6m?=