[bug-notifications] [gcc4g++ 0004875]: GCC 4.6.2 C++ : dynamic link issue

Mantis Bug Tracker noreply at opencsw.org
Mon Dec 5 11:09:19 CET 2011


A NOTE has been added to this issue. 
====================================================================== 
https://www.opencsw.org/mantis/view.php?id=4875 
====================================================================== 
Reported By:                pfelecan
Assigned To:                maciej
====================================================================== 
Project:                    gcc4g++
Issue ID:                   4875
Category:                   regular use
Reproducibility:            always
Severity:                   block
Priority:                   high
Status:                     assigned
====================================================================== 
Date Submitted:             2011-12-03 09:26 CET
Last Modified:              2011-12-05 11:09 CET
====================================================================== 
Summary:                    GCC 4.6.2 C++ : dynamic link  issue
Description: 
The minimal program:

int main() {}

compiles, links (g++ -o c c.cc) but doesn't run; the following error
message is reported:

        ld.so.1: c: fatal: libstdc++.so.6: open failed: No such file or
        directory

and ldd reports:
	libstdc++.so.6 =>	 (file not found)
	libm.so.2 =>	 /lib/libm.so.2
	libgcc_s.so.1 =>	 (file not found)
	libc.so.1 =>	 /lib/libc.so.1

$ type g++
g++ is /opt/csw/bin/g++

$ g++ --version
g++ (GCC) 4.6.2
====================================================================== 

---------------------------------------------------------------------- 
 (0009458) maciej (manager) - 2011-12-05 11:09
 https://www.opencsw.org/mantis/view.php?id=4875#c9458 
---------------------------------------------------------------------- 
At the moment, I'm still working on the ada build.  I'll complete this,
push the new packages to unstable, and then address this issue.

Peter, if you have any free time on your hands, you could look at the gcc4
recipe and see if you can write a patch for it.

https://gar.svn.sourceforge.net/svnroot/gar/csw/mgar/pkg/gcc4/trunk/

Maciej



More information about the bug-notifications mailing list