[accidentally was sent to the R-help-owner only; MM]
** when I compile R-0.62.3 on RedHat 5.1, the following messages
appear:
...
f77 -export-dynamic -o R.binary ...
../lib/libunix.a(dataentry.o): In function `NextEvent':
/home/ming/R-0.62.3/src/unix/dataentry.c:1286: undefined reference to
`XNextEvent'
../lib/libunix.a(dataentry.o): In function `GetKey':
/home/ming/R-0.62.3/src/unix/dataentry.c:1286: undefined reference to
`XLookupString'
...
there are tens of such undefined references. I guess it is due to
some uninstalled RPMs, but do not have any idea what they are.
** I also tried to get binary-R in rpm files, but the message says:
<> rpm -ivh R-base-0_62_3-1_i386.rpm
failed dependencies:
libncurses.so.3.0 is needed by R-base-0.62.3-1
I checked it, and found libncurses.so.3.0 is linked to
libncurses.so.1.9.9e under the directory /usr/i486-linux-libc5/lib
I am confused...
Your help is appreciated.
--
Xiaoming Cai
School of Geography
.&______~*@*~______&. University of Birmingham
"w/%%%%%%%%%%%%%%%%%%%\w" Edgbaston, Birmingham
`Y""Y""Y"""""Y""Y""Y'
B15 2TT United Kingdom
p-p_|__|__|_____|__|__|_q-q Tel: 44 (121) 414-5533 (O)
_-[EEEEM==M==MM===MM==M==MEEEE]-_ Fax: 44 (121) 414-5528
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Dr X Cai <caix at isdugp.bham.ac.uk> writes:> ../lib/libunix.a(dataentry.o): In function `NextEvent': > /home/ming/R-0.62.3/src/unix/dataentry.c:1286: undefined reference to `XNextEvent'...> ** I also tried to get binary-R in rpm files, but the message says: > <> rpm -ivh R-base-0_62_3-1_i386.rpm > failed dependencies: > libncurses.so.3.0 is needed by R-base-0.62.3-1 > I checked it, and found libncurses.so.3.0 is linked to > libncurses.so.1.9.9e under the directory /usr/i486-linux-libc5/lib > I am confused... > > Your help is appreciated.Looks like you need to install a) the X development package b) ncurses cf.: $ rpm -qf /usr/X11R6/lib/libX11.so XFree86-devel-3.3.2-13 $ rpm -qf /usr/lib/libncurses.so.3.0 ncurses3-1.9.9e-5 -- O__ ---- Peter Dalgaard Blegdamsvej 3 c/ /'_ --- Dept. of Biostatistics 2200 Cph. N (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk) FAX: (+45) 35327907 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
On 07-Oct-98 Dr X Cai wrote:>** I also tried to get binary-R in rpm files, but the message says: ><> rpm -ivh R-base-0_62_3-1_i386.rpm >failed dependencies: > libncurses.so.3.0 is needed by R-base-0.62.3-1 >I checked it, and found libncurses.so.3.0 is linked to >libncurses.so.1.9.9e under the directory /usr/i486-linux-libc5/lib >I am confused...You need to install the package ncurses3-1.9.9e-5, as stated in the README file. Between 5.0 and 5.1, RedHat changed the ncurses library from version 3.0 to version 4.0. In order to produce an rpm which runs on both RedHat 5.0 and 5.1, I linked R binary against the earlier version of ncurses. This means that if you are running RedHat 5.1 you must install the ncurses3 package, which is provided for backward compatibility. The version of libncurses you found is another library provided for backward compatibility with programs that were linked against libc5, which was used in version 4.x of RedHat. As to why ncurses 3.0 is linked to ncurses 1.9.9e, this is a long story. You are not the only one who is confused. Martyn -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._