Looking for libgcc_s.so.1 in /bin/bash?

Marc Glisse marc.glisse at inria.fr
Fri Jul 16 10:06:07 CEST 2010

On Thu, 15 Jul 2010, Peng, Frank D (IS) wrote:

> Would there be any reason why the make test is looking for libraries in
> /bin/bash?

You are misreading the message, it is like in dialogs in books:
Eve: want an apple?
Adam: yummy!

So it is bash telling you that the program it launched crashed. Same as it 
is ld.so.1 telling you that it couldn't find the library necessary for 
t-bswap to execute.

The problem has nothing to do with gmp and everything to do with your gcc 

> Is there a way to point it to the right directory?

You didn't provide much information about your platform, but something 
like LDFLAGS=-Wl,-R/some/path (pointing to the directory that contains 
libgcc_s.so.1) may help.

(also, please search the list / the web for your error message, this 
question gets answered here about once a month)

Marc Glisse

More information about the gmp-bugs mailing list