[R-SIG-Mac] dyld: Symbol not found: _R_tzname
Qiong Cai
qiong.cai at gmail.com
Thu Nov 27 22:23:03 CET 2014
Hi,
I am using clang+gfortran to build R-3.1.2 on Yosemite (10.10.1). Here's
the versions of the compilers:
1) clang: Apple LLVM version 6.0 (clang-600.0.54) (based on LLVM
3.5svn); Target:
x86_64-apple-darwin14.0.0; Thread model: posix
2) gfortran: 4.9.2 Configured with: ../src/configure
--prefix=/Users/qiongcai/shared/gcc-4.9.2/
--enable-languages=c,c++,fortran,go
--with-gmp=/Users/qiongcai/shared/gcc-infra/
--with-mpfr=/Users/qiongcai/shared/gcc-infra/
--with-mpc=/Users/qiongcai/shared/gcc-infra/
--with-isl=/Users/qiongcai/shared/gcc-infra/
--with-cloog=/Users/qiongcai/shared/gcc-infra/ --enable-checking=release
--enable-shared --enable-lto
Here's the output of "configure":
R is now configured for x86_64-apple-darwin14.0.0
Source directory: .
Installation directory: /Library/Frameworks
C compiler: clang -m64 -march=native -mtune=native -O3
Fortran 77 compiler: /Users/qiongcai/shared/gcc-4.9.2/bin/gfortran
-m64 -march=native -mtune=native -O3
C++ compiler: clang++ -stdlib=libc++ -m64 -march=native
-mtune=native -O3
C++ 11 compiler: clang++ -stdlib=libc++ -std=c++11 -m64
-march=native -mtune=native -O3
Fortran 90/95 compiler: /Users/qiongcai/shared/gcc-4.9.2/bin/gfortran
-m64 -march=native -mtune=native -O3
Obj-C compiler: clang -ObjC -m64 -march=native -mtune=native -O3
-fobjc-exceptions
Interfaces supported: X11, aqua, tcltk
External libraries: readline
Additional capabilities: NLS, ICU
Options enabled: framework, shared BLAS, R profiling
Capabilities skipped: PNG, JPEG, TIFF, cairo
Options not enabled: memory profiling
Recommended packages: yes
The compilation seems ok, but there is a dynamic load problem as follows:
dyld: Symbol not found: _R_tzname
Referenced from: /Users/qiongcai/Codes/r-projects/R-3.1.2/lib/libR.dylib
Expected in: flat namespace
in /Users/qiongcai/Codes/r-projects/R-3.1.2/lib/libR.dylib
/bin/sh: line 1: 30319 Done echo
"tools:::.install_package_description('.', '"../../../library/tools"')"
30320 Trace/BPT trap: 5 | R_DEFAULT_PACKAGES=NULL ../../../bin/R
--vanilla --slave > /dev/null
Has anyone seen such a problem before? Any clue to fix the problem?
Thanks
Qiong
[[alternative HTML version deleted]]
More information about the R-SIG-Mac
mailing list