Computational Science Stack Exchange is a question and answer site for scientists using computers to solve scientific problems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

The library itself compiles just fine with icc, but when I try to link to it (using icc for both the driver code and the linker), I get the same error that this question on stackoverflow is asking about.

I've heard that gsl is very specific to the gnu compiler. Can gsl be compiled and linked to with icc? What about other compilers, like Clang?

share|improve this question
up vote 4 down vote accepted

We've built it with no problems with both GCC and the Intel compilers at TACC. According to ldd, is linked to which is the library that contains the SSE versions of the string routines. You might try explicitly linking to it with something like: -L/path/to/your/intel/libraries -lintlc.

share|improve this answer
Even explicitly linking doesn't work, I still get the same error. – Dan Jun 7 '12 at 21:32
Not having access to your machine makes this harder to debug. You might try: find /path/to/your/intel/libraries -name '*.so'| xargs nm -DA | grep __intel_sse2_strcpy and then link to the library that resolves the symbol (i.e. has a 'T' in the second column). – Bill Barth Jun 12 '12 at 1:38

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.