LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 04-20-2009, 10:26 PM   #1
yuri16
Member
 
Registered: Jan 2009
Location: Philippines
Posts: 59

Rep: Reputation: 15
Question error: command 'gcc' failed with exit status 1


Hi,

I'm trying to install libxml2 python module but I got these error:

/usr/bin/ld: cannot find -lz
collect2: ld returned 1 exit status
error: command 'gcc' failed with exit status 1

What seems to be the problem?

Thanks,
 
Old 04-21-2009, 02:27 AM   #2
spacegctc
LQ Newbie
 
Registered: Apr 2009
Posts: 6

Rep: Reputation: 1
Sounds like you need to install zlib1g-dev. In Ubuntu you can find this package by running:
Code:
sudo aptitude
Then search (by pressing '/') for zlib1g-dev. When you find it pres '+' to marge it for install, then press 'g' twice to install.

If you're using fedora try:
Code:
sudo yum install zlib1g-dev
but note that I haven't verified that this works on fedora (I'm using Ubuntu at home and Fedora at work).
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
how to check for exit status of a command in one scriptA ,from another scriptB? wrapster Solaris / OpenSolaris 8 07-05-2008 01:12 PM
Exit status of system command?? rmvinodh123 Programming 4 05-04-2007 12:15 PM
Duplicate librsvg2 packages - removal causes scriplet failed - exit status 1 trekk Fedora 2 11-08-2006 07:42 PM
Bash command exit status humbletech99 Programming 12 07-06-2006 01:20 PM
gcc exit status 1 Daddio Linux - Software 4 10-25-2003 06:37 PM


All times are GMT -5. The time now is 06:49 PM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration