OpenCSW Bug Tracker


Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0003846 [gcc4g95rt] regular use major always 2009-08-11 18:53 2011-12-04 12:09
Reporter james View Status public  
Assigned To pfelecan
Priority normal Resolution won't fix  
Status closed  
Summary 0003846: gfortran does not set RPATH to libgfortran
Description gfortran does not set RPATH to libgfortran

Additional Information $ cat main.f
       end
$ gfortran main.f
$ ./a.out
ld.so.1: a.out: fatal: libgfortran.so.3: open failed: No such file or directory
zsh: killed ./a.out


Workaround:
$ gfortran -R/opt/csw/gcc4/lib main.f
$ ./a.out
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0006876)
ghenry (reporter)
2009-10-19 08:16

the problem also exists when compiling 64 bits on amd64 (on linux, people don't have to set anything):
% (setenv LD_LIBRARY_PATH /opt/csw/gcc4/lib;./BENCHENCOURS)
ld.so.1: BENCHENCOURS: fatal: /opt/csw/gcc4/lib/libgfortran.so.3: wrong ELF class: ELFCLASS32
Killed

Any chance to have a mecanism that recognizes the system? Actually that's the case with sunstudio, unfortunately, few people in scientific area are using it
So having a functionnal gfortran is important to convince people use solaris platforms.
(0009453)
pfelecan (manager)
2011-12-04 12:09

1. I'm no more the package manager
2. there is work in progress to deliver a new 4th branch GCC suite


Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker