LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 09-22-2008, 09:27 AM   #1
magnar
LQ Newbie
 
Registered: Sep 2008
Posts: 3

Rep: Reputation: 0
Call to undefined function: imagettftext()


Hi,

I'm getting: Call to undefined function: imagettftext() when trying to open a CAPTCHA-image here.

Can anyone please guide me step-by-step making this work ? Installing GD with TrueType-fonts and any other package that this function needs...?

Using CentOS and RedHat.
 
Old 09-22-2008, 09:33 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,634

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by magnar View Post
Hi,

I'm getting: Call to undefined function: imagettftext() when trying to open a CAPTCHA-image here.

Can anyone please guide me step-by-step making this work ? Installing GD with TrueType-fonts and any other package that this function needs...?

Using CentOS and RedHat.
You don't say what program you're using that's generating the error, so it's hard to "guide you step by step". Chances are you need to install a missing module, probably something that provides imagettftext.
 
Old 09-22-2008, 10:09 AM   #3
magnar
LQ Newbie
 
Registered: Sep 2008
Posts: 3

Original Poster
Rep: Reputation: 0
CAPTCHA for PHPBB

It's for the CAPTCHA for PHPBB, www.phpbb.com

All fresh RedHat-server. I just installed the package from: http://www.libgd.org/Downloads

With the summary:

Support for PNG library: yes
Support for JPEG library: yes
Support for Freetype 2.x library: no
Support for Fontconfig library: no
Support for Xpm library: no
Support for pthreads: yes


The question of the DAY is now is to install these two first packages (H)

Last edited by magnar; 09-22-2008 at 10:10 AM.
 
Old 09-22-2008, 10:31 AM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,634

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by magnar View Post
It's for the CAPTCHA for PHPBB, www.phpbb.com

All fresh RedHat-server. I just installed the package from: http://www.libgd.org/Downloads

With the summary:

Support for PNG library: yes
Support for JPEG library: yes
Support for Freetype 2.x library: no
Support for Fontconfig library: no
Support for Xpm library: no
Support for pthreads: yes


The question of the DAY is now is to install these two first packages (H)
The libgd provides graphic support for PNG/JPG/etc. It seems like you need to install libfreetype, which will satisfy the freetype and fontconfig requirements. The documentation on phpbb references Freetype.
 
Old 09-22-2008, 10:38 AM   #5
magnar
LQ Newbie
 
Registered: Sep 2008
Posts: 3

Original Poster
Rep: Reputation: 0
Ok, excellent.

You have quick tips the command to install this lib?
 
  


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
php5 compile woes: undefined function imagettftext BCarey Slackware 5 05-18-2007 11:42 PM
Call to undefined function mail() The_Lance SUSE / openSUSE 1 04-12-2005 08:55 AM
Call to undefined function domxml_open_mem() apt Programming 2 04-01-2005 03:25 AM
Call to undefined function: mysql_connect() SocialEngineer Linux - Software 2 11-16-2004 02:24 PM
Call to undefined function: gzopen() for WebSVN dancindoc Linux - Software 1 08-26-2004 04:41 PM

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

All times are GMT -5. The time now is 09:21 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