----- "David Baron" <d_baron(a)012.net.il> wrote:
> > Make ends with:
> > g++ -L/usr/X11R6/lib -pthread -o zita-at1 zita-at1.o styles.o jclient.o
> > mainwin.o png2img.o guiclass.o button.o rotary.o tmeter.o retuner.o
> > -lcairo - lclxclient -lclthreads -lzita-resampler -lfftw3f -ljack -lpng
> > -lXft -lX11 -lrt /usr/bin/ld: cannot find -lgcc_s
> > collect2: ld returned 1 exit status
It is there, in /lib
what is the filename?
if it does not end with .so then gcc (ld) won't link.
On my system, I have a file libgcc_s.so (nothing behind .so)
in /usr/lib/x86_64-linux-gnu/gcc/x86_64-linux-gnu/4.5.2
pointing to /lib/x86_64-linux-gnu/libgcc_s.so.1
your gcc installation is strange. You should have a gcc
directory somewhere in /usr/lib like me with libgcc_s.so
in it. Try "find -name "libgcc_s*" in /usr/lib. It shoud
report something.
As a quick and dirty fix you can do: ln -s ligcc_s.so.XXX libgcc_s.so
in /lib as root, since you have libgcc_s.so in /lib
(assuming it's ending with something in the XXX, if it ends
by .so I don't know what's going on, maybe wrong filetype,
like a 32b file on a 64b host or something? try "file libgcc_s.so"
then)
HTH
C.