For Programmers: Free Programming Magazines  


Home > Archive > Fortran > November 2004 > Problem running G95 on Solaris









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Problem running G95 on Solaris
Peter Simon

2004-11-19, 8:57 pm

First, immense kudos to Andy V. for the amazing g95 gift to the world.

I previously have been successful in installing g95 on a HP-UX
platform, and yesterday I tried installing it on a Sun Solaris
platform, by dowloading the tar file containing the precompiled
binary, then installing according to the instructions. When I execute
g95 on the Sun workstation, I get the following error message:

% g95 --version
ld.so.1: g95: fatal: libiconv.so.2: can't open file: errno=2
Killed

I would like to know if that library is something I'm supposed to
have, or if it is something that is missing from g95. Any suggestions
would be appreciated, since I have to get a project done quickly there
and I was hoping to be able to use Fortran 95 rather than 77, or C.

FYI, the following result is returned from the command "uname -a":
SunOS anteng4 5.5.1 Generic_103640-22 sun4m sparc SUNW,SPARCstation-10

I get the same error on another SunOS machine where I also tried to
install g95. The result of typing "uname -a" on that machine is:
tigger 5.8 Generic_108528-11 sun4u sparc SUNW,Ultra-60

If there is an email address to which I'm supposed to report problems
with g95, I couldn't find it on the g95 page (www.g95.org). I did
find Andy's email address there and sent him a message similar to
this, but haven't received a reply (yet, at least).


Thanks in advance for any help,
Peter Simon
Eric K.

2004-11-20, 3:56 pm

petersamsimon2@hotmail.com (Peter Simon) wrote in message news:<dd5f4f66.0411191343.1ef75397@posting.google.com>...

> When I execute
> g95 on the Sun workstation, I get the following error message:
>
> % g95 --version
> ld.so.1: g95: fatal: libiconv.so.2: can't open file: errno=2
> Killed
>
> I would like to know if that library is something I'm supposed to
> have, or if it is something that is missing from g95. Any suggestions
> would be appreciated, since I have to get a project done quickly there
> and I was hoping to be able to use Fortran 95 rather than 77, or C.


Type "libiconv" into Google and it will point you to the GNU site where
you can download the source code for the library. (It's a library that
provides facilities for displaying error messages in different languages.)
Compiling with the makefile supplied in the tarball is straightforward.
Install the library in /usr/local/lib or other directory that you keep
in LD_LIBRARY_PATH.

--Eric
Peter Simon

2004-11-20, 8:56 pm

petersamsimon2@hotmail.com (Peter Simon) wrote in message news:<dd5f4f66.0411191343.1ef75397@posting.google.com>...
> First, immense kudos to Andy V. for the amazing g95 gift to the world.
>
> I previously have been successful in installing g95 on a HP-UX
> platform, and yesterday I tried installing it on a Sun Solaris
> platform, by dowloading the tar file containing the precompiled
> binary, then installing according to the instructions. When I execute
> g95 on the Sun workstation, I get the following error message:
>
> % g95 --version
> ld.so.1: g95: fatal: libiconv.so.2: can't open file: errno=2
> Killed
>


Thanks to Eric K. for his suggestion--I found a precompiled version of
libiconv on sunfreeware.com. After installing it g95 works fine.

--Peter
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com