LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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-30-2005, 10:13 PM   #1
vbsaltydog
Member
 
Registered: Nov 2005
Distribution: CentOS
Posts: 154

Rep: Reputation: 15
GD Library?


I am running Red Hat 9 as a web server with php/mysql installed. I am trying to install a php/mysql based site script and it tells me during setup that I do not have the GD library installed but then it says that I do have GD JPEG support enabled. I find this confusing.
I have a GD heading in the output of phpinfo.php when run from a browser and I have the GD RPMs installed when I view my installed RPMs.
I have run another test file that outputs gdinfo through the browser but it only shows an empty page when parsed.

Anybody know what is going on or how I can fix it?

Any help is appreciated,

-vbsaltydog
 
Old 12-01-2005, 02:01 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
AFAIK in RH you must have "php-gd" package installed for gd support.
 
Old 12-01-2005, 02:48 AM   #3
vbsaltydog
Member
 
Registered: Nov 2005
Distribution: CentOS
Posts: 154

Original Poster
Rep: Reputation: 15
Thank you for your reply. I have searched rpm find and got a laundry list of php-gd rpm's but none were for the red hat 9 distro. I am new to linux so forgive my ignorance on this matter. What rpm distro is safe to apply to red hat 9?

-vbsaltydog

Last edited by vbsaltydog; 12-01-2005 at 02:50 AM.
 
Old 12-01-2005, 03:03 AM   #4
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
You must install the one that corresponds to your php version, i.e. you should have something like "php-gd-4.3.10-3.6.i386.rpm" for example if you have php 4.3.10 installed.
 
Old 12-01-2005, 09:29 AM   #5
vbsaltydog
Member
 
Registered: Nov 2005
Distribution: CentOS
Posts: 154

Original Poster
Rep: Reputation: 15
This is regardless of if the rpm is made for mandrake or SuSE, etc?
I will give it a try and let you know.

Thanks for your help,

-vbsaltydog
 
Old 12-01-2005, 09:34 AM   #6
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
If you search the rpm repositories like pbone.net they have rpm for various distros and versions. You must pick the one that's close to yours, i.e. RH, Fedora or Centos if you cannot find the exact
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Which library ? wood@addanc Programming 3 02-20-2005 02:14 PM
adding a bulit in library to my library lg3 Linux - Software 1 10-17-2004 08:19 AM
howto compile bin with my library using all-static and shared linked standart library stpg Programming 4 06-29-2004 04:20 AM
what is the function library of the basic graphics library in rethat9.0? zerwolve Red Hat 0 04-29-2004 09:18 PM
library.. johnyy Linux - Software 2 06-23-2003 10:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:53 PM.

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