Re: Problems installing php with pdflib

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 4/25/07, Richard Lynch <ceo@xxxxxxxxx> wrote:
On Tue, April 24, 2007 7:39 am, Tijnema ! wrote:
> On 4/17/07, Richard Lynch <ceo@xxxxxxxxx> wrote:
>> On Sat, April 14, 2007 3:55 am, Merlin wrote:
>> > I am moving to a new box and want to install php with pdflib
>> again.
>> > After configure I get an error saying:
>> > pdflib.h not found! Check the path passed to --with-pdflib
>> >
>> > The path is just fine:
>> > '--with-pdflib=/usr/local/lib'
>>
>> configure needs to find TWO things:
>>  #1 the "lib" file which is libpdf.so in /usr/local/lib
>>  #2 the "header" file which is libpdf.h in /usr/local/include
>>
>> If you tell configure to look inside of /usr/local/lib, it can't
>> *find* the libpdf.h file, because it's not inside that directory,
>> it's
>> inside a directory parallel to that.
>>
>> If you tell configure to look in /usr/local, it "knows" to check in
>> /usr/local/lib for the .so file, and in /usr/local/include for the
>> .h
>> file, and it finds everything it needs.
>>
> It won't, because his headers are in /usr/local/lib, and not in
> /usr/include/header

If his headers are in /usr/local/lib, I'll be very very very surprised...

They shouldn't be there.

Move them.


He hasn't replied yet, and i was also confused, but in his first post
he said this:
ls /usr/local/lib/pdflib.*
/usr/local/lib/pdflib.h

Of course, moving them is the best way, however, sometimes it gives
problems with other things, so i guess creating a symlink here would
be better

Tijnema

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux