[R] Undefined reference in R-1.5.1 under Mac OS X 10.2.1 Jaguar
YONEDA Kiyoshi
yoneda at econ.fukuoka-u.ac.jp
Fri Sep 27 14:40:15 CEST 2002
Hi
I installed R-1.5.1 on a Mac G4 under OS X 10.2.1 Jaguar, which
requires X11.
Then I got this while trying to run XDarwin I downloaded from Fink:
---
[YonedaK-mac4:~] yoneda% startx -- -quartz
...
dyld: xterm Undefined symbols:
xterm undefined reference to _tgetent expected to be defined in
/usr/lib/libSystem.B.dylib
xterm undefined reference to _tgetstr expected to be defined in
/usr/lib/libSystem.B.dylib
dyld: xterm Undefined symbols:
xterm undefined reference to _tgetent expected to be defined in
/usr/lib/libSystem.B.dylib
xterm undefined reference to _tgetstr expected to be defined in
/usr/lib/libSystem.B.dylib
dyld: xterm Undefined symbols:
xterm undefined reference to _tgetent expected to be defined in
/usr/lib/libSystem.B.dylib
xterm undefined reference to _tgetstr expected to be defined in
/usr/lib/libSystem.B.dylib
waiting for X server to shut down Quitting XDarwin...
[YonedaK-mac4:~] yoneda% sudo otool -L /usr/X11R6/bin/xterm
Password:
/usr/X11R6/bin/xterm:
...
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0,
current version 55.0.0)
---
Now libSystem.B.dylib looks suspicious.
As with R itself I got similar errors:
---
[YonedaK-mac4:/usr/local/bin] yoneda% ./R
...
dyld: /usr/local/lib/R/bin/R.bin Undefined symbols:
/sw/lib/libreadline.4.2.dylib undefined reference to _tgoto expected to
be defined in /usr/lib/libSystem.B.dylib
/sw/lib/libreadline.4.2.dylib undefined reference to _tputs expected to
be defined in /usr/lib/libSystem.B.dylib
/sw/lib/libreadline.4.2.dylib undefined reference to _tgetent expected
to be defined in /usr/lib/libSystem.B.dylib
/sw/lib/libreadline.4.2.dylib undefined reference to _tgetflag expected
to be defined in /usr/lib/libSystem.B.dylib
/sw/lib/libreadline.4.2.dylib undefined reference to _tgetnum expected
to be defined in /usr/lib/libSystem.B.dylib
/sw/lib/libreadline.4.2.dylib undefined reference to _tgetstr expected
to be defined in /usr/lib/libSystem.B.dylib
Trace/BPT trap
[YonedaK-mac4:/usr/local/bin] yoneda% otool -L
/usr/local/lib/R/bin/R.bin
/usr/local/lib/R/bin/R.bin:
...
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0,
current version 55.0.0)
...
---
Then I ran across this over the net, in which GHC is the Glasgow
Haskell Compiler:
> From: Wolfgang Thaller <wolfgang.thaller at gmx.net>
> Date: Fre Aug 30, 2002 22:43:34 Europe/Graz
> To: GHC List <glasgow-haskell-users at haskell.org>
> Subject: GHC on Mac OS X 10.2 (Jaguar)
>
> The new Mac OS X 10.2 has arrived, and GHC has stopped working.
> I've compiled a new GHC binary that runs on 10.2 (but not anymore on
> 10.1).
> It is available at:
> http://www.uni-graz.at/imawww/haskell/JaguarGHC.tar.gz
>
> This archive contains just a new GHC binary, the rest of the binary
> release already has to be already installed.
>
> What happened: With Mac OS X 10.1, Apple had included a 'curses'
> library in it's main 'libSystem.dylib' library. For 10.2, they removed
> that, and instead added a separate ncurses library (which wasn't
> included in 10.1.). GHC relies on one of those libraries (via
> readline), but readline has to be recompiled to use the other library.
> GHC-compiled programs that don't explicitly link against readline are
> not affected by this problem.
So my question is: may I assume that
I just have to wait for a new R binary?
If I'm wrong, please let me know the way around.
Hoping this is not an FAQ
Kiyoshi
Kiyoshi YONEDA
mailto: yoneda at econ.fukuoka-u.ac.jp
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help 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-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list