Bug 255419 - g77 does not compile - Error from ld: library not found
Summary: g77 does not compile - Error from ld: library not found
Status: RESOLVED DUPLICATE of bug 218406
Alias: None
Product: openSUSE 10.2
Classification: openSUSE
Component: Development (show other bugs)
Version: Final
Hardware: x86-64 Other
: P5 - None : Major (vote)
Target Milestone: ---
Assignee: Philipp Thomas
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-16 15:27 UTC by Michael Dingfelder
Modified: 2007-03-16 16:01 UTC (History)
0 users

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Dingfelder 2007-03-16 15:27:58 UTC
Compile
      program hallo
      write(*,*) ' hallo, Welt'
      end
with
g77 -v -o hallo hello.f
ends up in:
Driving: g77 -v -o hallo hello.f -lfrtbegin -lg2c -lm -shared-libgcc
Reading specs from /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/specs
Configured with: ../configure --enable-threads=posix --prefix=/usr --with-local-prefix=/usr/local --infodir=/usr/share/info --mandir=/usr/share/man --enable-languages=c,f77 --disable-checking --libdir=/usr/lib64 --disable-libgcj --with-slibdir=/lib64 --with-system-zlib --enable-shared --enable-__cxa_atexit x86_64-suse-linux
Thread model: posix
gcc version 3.3.5 20050117 (prerelease) (SUSE Linux)
 /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/f771 hello.f -quiet -dumpbase hello.f -auxbase hello -version -o /tmp/ccBrYpZt.s
GNU F77 version 3.3.5 20050117 (prerelease) (SUSE Linux) (x86_64-suse-linux)
        compiled by GNU C version 4.1.2 20061115 (prerelease) (SUSE Linux).
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
 /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/../../../../x86_64-suse-linux/bin/as -V -Qy -o /tmp/ccOL1GGQ.o /tmp/ccBrYpZt.s
GNU assembler version 2.17.50.0.5 (x86_64-suse-linux) using BFD version 2.17.50.0.5 20060927 (SUSE Linux)
 /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/../../../../x86_64-suse-linux/bin/ld --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o hallo /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/../../../../lib64/crt1.o /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/../../../../lib64/crti.o /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/crtbegin.o -L/usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5 -L/usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/../../../../x86_64-suse-linux/lib -L/usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/../../../../lib64 -L/usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/../../.. -L/lib/../lib64 -L/usr/lib/../lib64 /tmp/ccOL1GGQ.o -lfrtbegin -lg2c -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/crtend.o /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/../../../../lib64/crtn.o

/usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/../../../../x86_64-suse-linux/bin/ld: cannot find -lgcc_s

Comments: /lib/gcc_s.so.1 and /lib64/gcc_s.so.1 are installed, /lib/../lib64 is in search path for ld
Comment 1 Andreas Hanke 2007-03-16 16:01:35 UTC
This is already fixed. There is an online update for compat-g77, please install it!

*** This bug has been marked as a duplicate of bug 218406 ***