[R-SIG-Mac] 64-bit build from source ... 64bit readline oddity solved; libiconv now solved

Simon Urbanek simon.urbanek at r-project.org
Sun Jul 26 00:06:49 CEST 2009


Vince,

On Jul 25, 2009, at 5:04 PM, Vincent Carey wrote:

> now it seems that by using gcc-4.2 to build libiconv in a non-central
> place and using
> DYLD_LIBRARY_PATH to find it, and using gcc-4.2 to compile R, all is  
> well.
>

FWIW  suspect that your system is pretty badly messed up with all the  
3rd-party stuff you installed, because our 64-bit binaries don't need  
any of this... see
http://r.research.att.com/

Also note that messing with DYLD_LIBRARY_PATH is really dangerous and  
causes a lot of problems since it overrides *all* system path searches  
(unlike LD_LIBRARY_PATH on Linux).

Cheers,
Simon



> On Sat, Jul 25, 2009 at 6:39 AM, Vincent
> Carey<stvjc at channing.harvard.edu> wrote:
>> The solution to the readline problem was to remove all conflicting
>> libreadline.* on
>> the system.  However, now similar problems are cropping up with  
>> libiconv
>>
>> you should 'make docs' now ...
>> building/updating package metadata ...
>> dyld: lazy symbol binding failed: Symbol not found: _libiconv_open
>>  Referenced from: /Users/stvjc/ExternalSoft/R-devel/lib/x86_64/ 
>> libR.dylib
>>  Expected in: dynamic lookup
>>
>> installing a fresh 32/64-bit libiconv and removing all conflicting
>> versions has not helped.
>>
>> On Fri, Jul 24, 2009 at 3:54 PM, Vincent
>> Carey<stvjc at channing.harvard.edu> wrote:
>>> this build from a very recent svn checkout of devel is  
>>> incomplete.  it fails
>>> while trying to build base with the same error as occurs here
>>>
>>> bash-3.2$ bin/R
>>> dyld: Symbol not found: _rl_basic_word_break_characters
>>>  Referenced from: /Users/stvjc/ExternalSoft/R-devel/lib/x86_64/ 
>>> libR.dylib
>>>  Expected in: dynamic lookup
>>>
>>> Trace/BPT trap
>>>
>>> i built readline 6.0 from source with the -arch x86_64 switch on gcc
>>> and configure
>>> worked ok.  i think the symbol exists
>>>
>>> nm /usr/local/lib/libreadline.6.0.dylib | grep break
>>> 000000000002b500 D _rl_basic_word_break_characters
>>> 000000000002b4f0 D _rl_completer_word_break_characters
>>> 000000000002b4e8 D _rl_completion_word_break_hook
>>>
>>> help!  the past few days have been nothing but glitches and bugs...
>>>
>>> --
>>> Vincent Carey, PhD
>>> Biostatistics, Channing Lab
>>> 617 525 2265
>>>
>>
>>
>>
>> --
>> Vincent Carey, PhD
>> Biostatistics, Channing Lab
>> 617 525 2265
>>
>
>
>
> -- 
> Vincent Carey, PhD
> Biostatistics, Channing Lab
> 617 525 2265
>
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac at stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
>
>



More information about the R-SIG-Mac mailing list