LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-29-2012, 12:11 PM   #1
malexrinco
LQ Newbie
 
Registered: Dec 2011
Posts: 8

Rep: Reputation: Disabled
Smile 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:

./configure --prefix=/dados/curso/lib/zlib-1.2.5

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!

Last edited by malexrinco; 03-29-2012 at 12:13 PM.
 
Old 03-30-2012, 09:37 PM   #2
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
` 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.

Last edited by EDDY1; 03-30-2012 at 09:39 PM.
 
  


Reply

Tags
configure, install, zlib



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
no matching comp found: client zlib none, zlib@openssh.com lost connection jorge_ivan Linux - Networking 0 08-14-2006 07:09 PM
PHP installation with zlib on gentoo emanresu Linux - Software 1 07-11-2006 02:03 AM
Anybody with GD, ZLIB issues..Please rajnair0278 Linux - Software 1 04-21-2006 07:58 AM
zlib installation issues Robin01 Linux - Software 1 09-25-2004 07:45 PM
zlib installation Canadian_2k2 Linux - Software 0 01-06-2003 06:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:31 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration