LinuxQuestions.org
Visit Jeremy's Blog.
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
 
LinkBack Search this Thread
Old 05-08-2007, 05:42 PM   #1
dla-nor
LQ Newbie
 
Registered: Jan 2007
Distribution: FC9, eee-xubuntu r3, RHEL 4, RHEL 5
Posts: 17

Rep: Reputation: 0
Question shared library stuff/installing php5 on old box


Greetings,
The goal is I'm trying to have lighttpd, php 5, and mysql 5 on an old box.

The full story is:
I recently got my hands on an old HP Netserver LPr. I tried to install FC6 on it, but found out that at some point the kernel dropped support for the RAID card, so after using Google, I found that FC2 would support the card. After installing FC2, I upgraded everything except the kernel to FC3 using the instructions here http://fedoraproject.org/wiki/YumUpgradeFaq
I wanted to do then upgrade to FC4, but I ran into a ton of dependency issues (including needing a newer kernel). I realized that I was fine with the old versions of most of the packages, except I wanted newer php and mysql.

I then downloaded and installed some mysql 5.0 rpms. This worked great.

I then tried upgrading php to php 5 as well using yum and by downloading the rpms, but php5 wants some newer shared libraries. At this point I've uninstalled the old php using rpm -e When I try rpm -i php* in the directory with the php rpms, I get:
Code:
warning: /home/account/php-5.0.5-2.2.i386.rpm: V3 DSA signature: NOKEY, key ID 30c9ecf8
error: Failed dependencies:
        libcrypto.so.5 is needed by php-5.0.5-2.2.i386
        libdb-4.3.so is needed by php-5.0.5-2.2.i386
        libssl.so.5 is needed by php-5.0.5-2.2.i386
        libcrypto.so.5 is needed by php-mysql-5.0.5-2.2.i386
        libmysqlclient.so.14 is needed by php-mysql-5.0.5-2.2.i386
        libssl.so.5 is needed by php-mysql-5.0.5-2.2.i386
Currently for those libraries in /lib I have libcrypto.so.4, libdb-4.2.so, libssl.so.4, and no version of libmysqlclient.so.14 (when I tried to install that one it tried to update everything else to resolve dependencies, and ran into the same problems as the yum upgrade for getting to FC4).

I was thinking that the simplest solution at this point is if I could have the old and a new version of the library at the same time, but I don't know how to do that. However I'm open to other overall strategies for what I'm trying to do. Lighttpd also wants libcrypto.so.5 and libssl.so.5
I appreciate any help!

Last edited by dla-nor; 05-09-2007 at 12:05 AM.
 
Old 05-11-2007, 07:03 PM   #2
dla-nor
LQ Newbie
 
Registered: Jan 2007
Distribution: FC9, eee-xubuntu r3, RHEL 4, RHEL 5
Posts: 17

Original Poster
Rep: Reputation: 0
So I decided to start from scratch, and this time I did a minimal install of FC2 before doing the yum upgrade as oulined at http://fedoraproject.org/wiki/YumUpgradeFaq

After that, I used yum to install php which worked great, except that yum stopped working. However manually installing the RPMs I needed with rpm worked fine, so now I'm up and running
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
list library function of a shared library .so powah Linux - General 7 10-25-2011 04:47 AM
LINUX - linking archive (static library) with shared (dynamic) library gurkama Programming 5 03-04-2007 11:11 PM
Fight against Slack + PHP5 + MySQL. Weird library dependency baskerville Slackware 1 11-28-2006 10:52 AM
Cannot see my Win XP SP2 box with shared printer from my SUSE Pro 9.3 box thorlin Linux - Networking 3 09-11-2005 01:16 PM
howto compile bin with my library using all-static and shared linked standart library stpg Programming 4 06-29-2004 04:20 AM


All times are GMT -5. The time now is 11:25 AM.

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