From Simon.Urbanek at math.uni-augsburg.de  Wed Jul 23 17:11:17 2003
From: Simon.Urbanek at math.uni-augsburg.de (Simon Urbanek)
Date: Wed Jul 23 16:11:16 2003
Subject: [Rd] OpenBSD 3.[23] and R-1.7.1
In-Reply-To: <8765lt5wnm.fsf@riesling.grape.apana.org.au>
Message-ID: <870CF8D1-BD17-11D7-B5DF-000A957CEFBA@math.uni-augsburg.de>

On Wednesday, July 23, 2003, at 01:07  PM, Peter Rye wrote:

> I have been able to compile R on OpenBSD 3.[23] for the i386 platform
> (still a.out at the moment).
> [...]
> months. The OpenBSD-current for i386 will also be ELF.  On the ELF 
> platforms,
> the build dies with the following error:
>
> dumping R code in package 'methods'
> Error in .Call("R_initialize_methods_metadata", table, PACKAGE = 
> "methods") :
>         .Call function name not in load table
> Execution halted
> *** Error code 1

I don't know much about OpenBSD, but I experienced the same error on 
Darwin a while ago. It indicated different naming conventions in shlib 
export tables - missing underscore or one too many (in our Darwin case 
no leading underscore should be used although it was prepended by 
default). Basically it means that the necessary function which is to be 
provided in the shared library cannot be found (and the package 
'methods' is the first to attempt to load an external shlib in R). You 
may want to check how your platform uses dlsym and also check the 
linker flags for module libraries. This is just a hint, I have no 
OpenBSD box here to test it.

Cheers,
Simon

---
Simon Urbanek
Department of computer oriented statistics and data analysis
University of Augsburg
Universit?tsstr. 14
86135 Augsburg
Germany

Tel: +49-821-598-2236
Fax: +49-821-598-2200

Simon.Urbanek@Math.Uni-Augsburg.de
http://simon.urbanek.info


[Rd] OpenBSD 3.[23] and R-1.7.1
Simon Urbanek