LinuxQuestions.org
Register a domain and help support LQ
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 11-15-2006, 06:09 PM   #1
laggerific
Member
 
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?

Thanks.
 
  


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
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


All times are GMT -5. The time now is 10:01 PM.

Main Menu
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