Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 11-15-2006, 06:09 PM   #1
Registered: Jan 2006
Posts: 65

Rep: Reputation: 15
Question can't import zlib in python when using a compiled 2.3.5 version

I am running several instances of RHEL ES4 on vmware server 64-bit instances. When I compile python 2.3.5 and then try to import zlib I get a "ImportError: No module named zlib" error message. This is odd because I compiled python 2.3.5 the same way on our production 32bit RHEL server, which can import zlib fine. zlib had been installed on these machines using Redhats up2date utility, so I'm not sure what the difference is besides that I am now trying this on 64bit systems, but the rpms for zlib are accurate for the different system types.

Any thoughts on what could prevent python 2.3.5 from compiling with zlib support?



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
python problem - compiled from source - python -V still showing old version txm123 Linux - Newbie 1 02-15-2006 11:05 AM
python, import and execfile() cs-cam Programming 1 10-18-2005 08:47 PM
zlib for python irvken Linux - Software 0 06-14-2004 02:56 PM
redhat fedora gcc version (compiled for 2.4.20) doesn't match kernel version 2.4.22 start1000 Linux - Software 0 03-16-2004 08:17 PM
Python - can I import my own stuff? miknight Programming 1 06-10-2003 07:48 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:35 AM.

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