LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-05-2002, 06:26 AM   #1
webboss
Member
 
Registered: Feb 2001
Location: Badlapur, INDIA
Distribution: debian, Slackware & Small Distros
Posts: 83

Rep: Reputation: 15
Question python2.2 Dependencies


Dear All,
I have RH 7.1 and Python 1.5.2. Now I got python2.2...rpm. If I am trying to install it (2.2) it shows me following dependencies not found.
libcrypto.so.2
libdb-3.2.so
libreadline.so.4
libssl.so.2

I tried to locate the sources for the above on internet. But they individually as a .rpm package look toooo heavy for me to download.

Can anybody suggest / tell me how can I install the latest 2.2 of python and overcome the above dependencies.

Thanks.
Awaiting replies.
Rajesh.
 
Old 03-05-2002, 03:10 PM   #2
ericn
Member
 
Registered: Oct 2001
Distribution: Mandrake 8.2
Posts: 44

Rep: Reputation: 15
download the source rpm and do as root

rpm --rebuild python-xx.xx

this should place rpms in /usr/src/redhat/RPMS/i386 (unless you specify a different architecture in the rebuild.
Then install from your rebuilt rpms.

later
eric
 
Old 03-05-2002, 09:10 PM   #3
nikhiljosh
Member
 
Registered: Jun 2001
Posts: 126

Rep: Reputation: 16
Quote:
Then install from your rebuilt rpms.
But the dependencies won't be solved right.
or will they?

try to locate sources for the libraries
google will be very easy
I searched for readline and found
http://cnswww.cns.cwru.edu/~chet/readline/rltop.html

the sources will be in tar.gz format

Now compile the thing and ur libraries will b ready.

put 'em in /lib /usr/lib or whatever that is appropriate on ur system

#rpm -iv --nodeps packagename
to install

Last edited by nikhiljosh; 03-05-2002 at 09:12 PM.
 
Old 03-06-2002, 05:20 AM   #4
webboss
Member
 
Registered: Feb 2001
Location: Badlapur, INDIA
Distribution: debian, Slackware & Small Distros
Posts: 83

Original Poster
Rep: Reputation: 15
Smile --nodeps worked!

Thanks Everybody,
rpm with --nodeps worked for my problem of dependencies. Even python 2.2 is working fine. Now only time and experiments will tell me if I have really overcome the dependencies!

Anyway Thank You very much.

LINUXQUESTIONS.ORG IS A HEAVEN FOR LINUX USERS ON EARTH.

Rajesh.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Python2.4 sanu Linux - Newbie 1 04-01-2005 08:31 AM
Install python2.4 elopee Programming 7 02-01-2005 01:14 PM
python2.2 is not available? darrylneufeld Fedora 4 06-01-2004 09:10 AM
python2 programming maseby Programming 4 10-26-2003 06:13 PM
python2 interpreter..... maseby Programming 0 10-23-2003 05:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:56 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration