Re: g77 problem with -lstdc++

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Since the other postings in this thread seem to say you've loaded the compatible
c++ libraries, I'd venture that you've probably got some sort of missing symlink
and/or haven't run ldconfig.

Instead of futzing with all that and since you're not compiling any fortran here,
just linking, try:
	gcc -O4 -lstdc++ cwrapper.o toyprob.o algencanma.o algencan.o -o algencanma
(you might need to add "-lfortran" or some such if your main program is in Fortran).

Hope this helps,

-S

Paul Smith wrote:
> 
> Dear All,
> 
> I am experiencing the following problem with g77
> 
> $ g77 -O4 -lstdc++ cwrapper.o toyprob.o algencanma.o algencan.o -o algencanma
> /usr/bin/ld: cannot find -lstdc++
> collect2: ld returned 1 exit status
> $
> 
> Any ideas?
> 
> Thanks in advance,
> 
> Paul
> 
> -- 
> fedora-list mailing list
> fedora-list@xxxxxxxxxx
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
> 

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux