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]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux