zlib 1.2.5 installation issues
Hi I'm running Debian squeeze with intel composer compiler for fortran and c. Now Im trying to install the zlib libray, but when Im configuring it , I got this:
Checking for shared library support...
Tested icc -w -c -O ztest31822.c
Tested cc -shared -O -o ztest31822.so ztest31822.o
/usr/bin/ld: ztest31822.o: relocation R_X86_64_PC32 against undefined symbol `getchar@@GLIBC_2.2.5' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Bad value
collect2: ld returned 1 exit status
No shared library support; try without defining CC and CFLAGS
Building static library libz.a version 1.2.5 with icc.
Checking for off64_t... Yes.
Checking for fseeko... Yes.
Checking for unistd.h... Yes.
Checking whether to use vs[n]printf() or s[n]printf()... using vs[n]printf().
Checking for vsnprintf() in stdio.h... Yes.
Checking for return value of vsnprintf()... Yes.
What is the real problem?, How could I follow the directions:
"recompile with -fPIC" and "try without defining CC and CFLAGS"?
Thanks in advance!
` what language are you trying to do this in? If you notice this symbol may be your error ` Check the commands that you ran. Hopefully you can see the symol at beginning of my post or the 1 marked in red.
|All times are GMT -5. The time now is 11:36 PM.|