php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #2625 PDFlib is not detected
Submitted: 1999-10-27 17:42 UTC Modified: 2000-08-06 10:02 UTC
From: glen at gbrmpa dot gov dot au Assigned:
Status: Closed Package: Installation problem
PHP Version: 3.0 Latest CVS (27/10/1999) OS: Linux/Solaris
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: glen at gbrmpa dot gov dot au
New email:
PHP Version: OS:

 

 [1999-10-27 17:42 UTC] glen at gbrmpa dot gov dot au
The configure code that tests for pdflib fails because of a type conflict and library name chage.  A program which compiles with no errors is included below.

This bug is against PHP4.0b2.

int main()
{
	PDF *p;
	p = PDF_new();
	PDF_open_file(p, "pdftestfile");
	PDF_begin_page(p, a4_width, a4_height);
	PDF_end_page(p);
	PDF_close(p);
	PDF_delete(p);
	return 0;
}

  Compile with "gcc -ltiff -lpdf2.01 -o temp temp.c"  Note
that the library name is no longer libpdf.so, but libpdf2.01.so


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-08-06 10:02 UTC] rasmus@php.net
Current PHP 4 CVS works fine against pdflib 3.0.1 (try a snapshot from http://snaps.php.net)
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 14 19:01:26 2024 UTC