Share your knowledge at the LQ Wiki.
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 05-08-2007, 06:42 PM   #1
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

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
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:
warning: /home/account/php-5.0.5-2.2.i386.rpm: V3 DSA signature: NOKEY, key ID 30c9ecf8
error: Failed dependencies: is needed by php-5.0.5-2.2.i386 is needed by php-5.0.5-2.2.i386 is needed by php-5.0.5-2.2.i386 is needed by php-mysql-5.0.5-2.2.i386 is needed by php-mysql-5.0.5-2.2.i386 is needed by php-mysql-5.0.5-2.2.i386
Currently for those libraries in /lib I have,,, and no version of (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 and
I appreciate any help!

Last edited by dla-nor; 05-09-2007 at 01:05 AM.
Old 05-11-2007, 08:03 PM   #2
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

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


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
list library function of a shared library .so powah Linux - General 7 10-25-2011 05:47 AM
LINUX - linking archive (static library) with shared (dynamic) library gurkama Programming 5 03-05-2007 12:11 AM
Fight against Slack + PHP5 + MySQL. Weird library dependency baskerville Slackware 1 11-28-2006 11: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 02:16 PM
howto compile bin with my library using all-static and shared linked standart library stpg Programming 4 06-29-2004 05:20 AM

All times are GMT -5. The time now is 12:15 PM.

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