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
 [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

Add a Patch

Pull Requests

Add a Pull Request

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: Fri Apr 19 04:01:28 2024 UTC