Re: [R] digital unix linking problem

About this list Date view Thread view Subject view Author view

Albrecht Gebhardt (albrecht.gebhardt@uni-klu.ac.at)
Tue, 21 Dec 1999 13:56:45 +0100 (MET)



On Tue, 21 Dec 1999, Rich Budrevich wrote:

> > > 11819:./bin/R.X11: /sbin/loader: Fatal Error: cannot map xxxxxxx
> > What says "odump -Dl your_R_install_path/bin/R.X11" ?
> ...
> ***LIBRARY LIST SECTION***
> Name Time-Stamp CheckSum Flags Version
> ./bin/R.X11:
> libSM.so Apr 2 14:55:43 1999 0xb64c7082 0
> libICE.so Apr 2 14:55:34 1999 0x1199be32 0
> libX11.so Apr 2 14:46:46 1999 0xf86afbad 0
> libdnet_stub.so Apr 13 00:18:15 1999 0x9408a36b 0 osf.1
> xxxxxxx Nov 22 14:27:47 1999 0x3b8a2af6 0
> libUfor.so Nov 17 08:38:01 1998 0xc6e6aa05 0
> libfor.so Nov 17 08:37:59 1998 0x1d987a12 0
> libFutil.so Nov 17 08:37:58 1998 0x896dea97 0
> libm.so Apr 13 00:27:39 1999 0xf29b0962 0 osf.1
> libots.so Apr 13 00:16:38 1999 0x0876eb23 0
> libz.so.1.1.3 Nov 10 13:44:35 1999 0x91c64bf3 0
> libc.so Apr 13 00:14:03 1999 0x59eef91c 0 osf.1

I get:
                        ***LIBRARY LIST SECTION***
        Name Time-Stamp CheckSum Flags Version
/usr/local/lib/R/bin/R.X11:
        libSM.so Dec 9 07:08:11 1997 0xb64c7082 0
        libICE.so Dec 9 07:07:52 1997 0x1199be32 0
        libX11.so May 3 23:16:42 1998 0xeb5251bf 0
        libdnet_stub.so Dec 30 00:16:25 1997 0x9408a36b 0 osf.1
        libUfor.so Jun 13 03:23:27 1996 0x0dca19c3 0
        libfor.so Jun 13 03:23:22 1996 0x00f33ff1 0
        libFutil.so Jun 13 03:22:24 1996 0xa0418f9e 0
        libm.so Dec 30 00:09:53 1997 0xf29b0962 0 osf.1
        libots.so Dec 30 00:13:40 1997 0x0876eb23 0
        libreadline.so.3 Feb 23 17:51:59 1999 0x3a7f2031 0
        libz.so.1.1 Feb 23 18:01:02 1999 0x91c64bf3 0
        libncurses.so.4 Feb 23 17:55:19 1999 0xf6374558 0 4.2
        libc.so Jun 26 23:06:44 1998 0xae0dfa23 0 osf.1

These Fortran subsets are installed:

setld -l | grep -i fortran
DFABASE500 installed DIGITAL Fortran 90 and 77 V5.0 for DIGITAL UNIX Alpha Systems
DFACOM500 installed DIGITAL Fortran V5.0 Tools & their Man Pages
DFADOC500 installed DIGITAL Fortran V5.0 Release Notes and Man Page
DFARTL373 installed Digital Fortran RTL #373 for Digital UNIX Alpha (f77 only)
DFARTL376 installed DIGITAL Fortran RTL #376 for DIGITAL UNIX Alpha Systems (f90 and f77)
PSESHPF107 installed High Performance Fortran Scalar Libraries

examining these symlinks
  /usr/shlib/libfor.so -> ../lib/cmplrs/fortrtl/libfor.so
  /lib/cmplrs/fortrtl -> fortrtl_373/
shows that DFARTL373 gets used.

It seems that some library which gets linked into your R.X11 binary has a
broken SONAME, may this could be a "selfmade" curses, ncurses or
readline library? I remember I had some trouble with SONAMEs of
selfcompiled libraries after the switch from OSF 3.2 to 4.0 because
some default for SONAMEs changed between 3.x and 4.0 (but it was not a
SONAME="xxxxxx" problem!), or was it from 4.0B to 4.0D? It's too long ago,
I don't remember exactly.

You can watch the SONAME (created during building the library with
-soname=<name> (-Wl,soname=<name> for gcc)) with "odump -D libxyz.so"
e.g.:
odump -D /usr/shlib/libc.so | grep SONAME
                      SONAME: libc.so

May be one of your libraries is broken and has "SONAME: xxxxxxx" ?

Try to find this library (with bash):

for i in `find / -type f -name \*\.so\* 2>/dev/null`; do
   if test ! -z "`odump -D $i | grep SONAME | grep xxxxxxx`"; then
      echo $i;
   fi;
done

If you get some result, we can search further for the reason of this
strange behaviour, otherwise I have no idea, may be you should try
another version of Fortran compiler / runtime library (e.g. if you have
older versions available).

But I think we should move further discussion to the r-devel list.

Best wishes

Albrecht

......................................................................
| Albrecht Gebhardt Tel.: (++43 463) 2700/832 |
| Institut fuer Mathematik Fax : (++43 463) 2700/834 |
| Universitaet Klagenfurt mailto:albrecht.gebhardt@uni-klu.ac.at |
| Villacher Str. 161 http://www-stat.uni-klu.ac.at/~agebhard |
| A-9020 Klagenfurt, Austria |
`--------------------------------------------------------------------'

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


About this list Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b3 on Tue 04 Jan 2000 - 13:34:03 EST