LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 01-03-2007, 09:54 PM   #1
TSJoshB
LQ Newbie
 
Registered: Jun 2005
Posts: 4

Rep: Reputation: 0
library versions


I am currently working on a script to roll out PHP with about 15 php modules supported. I am wanting to automate this as much as possible. I am going to be doing this on a large number of servers, some already in production and have been in production for years. The older servers may have old libraries installed and newer servers will have updated libraries. I am wanting to be able to check the library versions to make sure it meets the php requirements. If the module libraries are too old then recompile with the newest version. If the server has the newest library version then to skip compiling the software and continue checking the dependencies for the next php module.

My question, Is there an easy way to check the library versions on a server. An example of this would be, the bz2 module for php. This module requires bzip2/libbzip2 version >= 1.0.x. Is there a way to easily check the current version of the libraries installed? Another example would be GD. I am wanting to make sure the latest version of GD is installed, skip the compile if it is already installed.

Any suggestion on how to easily check this, would be greatly appreciated.
 
Old 02-03-2007, 05:54 PM   #2
utopicdog
Member
 
Registered: Aug 2003
Location: france
Distribution: suse/fedora
Posts: 105

Rep: Reputation: 15
i am not sure you are qualified to do your job. just do an 'ls' with the ip address of all your machines in /usr/lib/bzip, for example and check it is the right version (libzz.so.?.?
 
  


Reply



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
LINUX - linking archive (static library) with shared (dynamic) library gurkama Programming 5 03-04-2007 11:11 PM
gcc versions compatibility with kernel versions.. mahesh_manthapuri SUSE / openSUSE 1 03-22-2006 12:28 AM
howto compile bin with my library using all-static and shared linked standart library stpg Programming 4 06-29-2004 04:20 AM
Installing 2 versions of the same library pamide Linux - Software 0 01-15-2004 05:09 AM
Library versions skylark Linux - Software 1 01-23-2003 07:32 AM

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

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