(I sent the following to the list a few days ago, but it seems to have
gotten lost in the shuffle, so here it is again.)

Siegmar Szlavik ([EMAIL PROTECTED]) writes:

>I downloaded the Mlucas executable for IRIX the other day to give our SGI
>workstations some work to do, but unfortunately I get the following error
>message, when I start it:
>
>rousseau:~/. Mlucas
> 4774:Mlucas: rld: Fatal Error: cannot successfully map soname
>'libfortran.so' under any of the filenames 
>/usr/lib32/libfortran.so:/lib32/libfortran.so:/usr/libn32/libfortran.so:
>/libn32/libfortran.so:/usr/lib32/libfortran.so.1:/lib32/libfortran.so.1:
>/usr/libn32/libfortran.so.1:/libn32/libfortran.so.1:


Hi, Siegmar: I'm sending a copy of this to the Mersenne mailing list, in
hopes one of the MIPS experts can be of help (I only have limited access
to a friend's SGI.)

I believed the binary to be portable, since the MIPSpro f90 compiler manpages
make no reference to a shared/non_shared flag and since no one has previously
reported the problem you cite. But based on the error message you got it 
appears
to be shared after all, i.e. needs the f90 RTL files.

On a hunch, I tried adding a -non_shared flag to my compile sequence and
it seems to be OK (i.e. the option is supported) but now I get the following
error message:

FATAL 9; I/O error (/usr/lib32/nonshared/crt1.o): no such file or directory.

The only file I found in the /usr/lib32/nonshared (actually the /usr/lib32
/mips4/nonshared, due to a soft link from lib32 to lib32/mips4) directory is
a 2.2MB file called libftn.a.

I did find a crt1.o file in /usr/lib, but neither including it in the compile
source/object file input list, not via -I/usr/lib/crt1.o worked - same error
keeps repeating.

Does any of the MIPS experts know if (as root, which I'm not on the system
I use) one could move /usr/lib/crt1.o to /usr/lib32/crt1.o, since the f90
compiler appears to insist on looking for it there?

In the meantime, I've posted a gzipped copy of the .so RTL files to my
ftp archive: ftp://209/133/33.182/pub/mayer/bin/SGI/libf*.so.gz ,
and have added instructions on how one can install them in a local
directory and access them there via the LD_LIBRARY_PATH environment
variable. That should allow you to run the current shared executable.

-Ernst

ftp://209.133.33.182/pub/mayer/README.html

_________________________________________________________________
Unsubscribe & list info -- http://www.scruz.net/~luke/signup.htm
Mersenne Prime FAQ      -- http://www.tasam.com/~lrwiman/FAQ-mers

Reply via email to