Re: [PHP-DEV] (SOLVED) 4.0.2 can't find zlib From: Matthew Hagerty (mhagerty <email protected>)
Date: 09/11/00

Greetings,

Well, it seems that by using --with-gd= instead of --with-gd-dir= _and_
copying my libmckcrypto.a file to /usr/local/lib solved my problems. Thank
you all.

Matthew

At 02:03 PM 9/8/00 -0400, Matthew Hagerty wrote:
>I think this is the part of config.log you are looking for? Also, I just
>checked the FreeBSD-4.0 source and zlib-1.1.3 is the default used in the
>standard system, so my "re-install" of zlib in /usr/local/lib should have
>been unecessary.
>
>Matthew
>
>
>configure:39647: checking whether to include zlib support
>configure:39836: checking for gzgets in -lz
>configure:39855: gcc -o conftest -g -O2 -DXML_BYTE_ORDER=12
>-L/usr/lib -R/usr/
>local/pgsql/lib -L/usr/local/pgsql/lib conftest.c -lz -lpq -lttf -lpng
>-lz -lgd
> -lmckcrypto -lcpdf -lm -lcrypt 1>&5
>/usr/libexec/elf/ld: cannot open -lmckcrypto: No such file or directory
>configure: failed program was:
>#line 39844 "configure"
>#include "confdefs.h"
>/* Override any gcc2 internal prototype to avoid an error. */
>/* We use char because int might match the return type of a gcc2
> builtin and then its argument prototype would still apply. */
>char gzgets();
>
>int main() {
>gzgets()
>; return 0; }
>
>At 08:01 PM 9/8/00 +0200, Derick Rethans wrote:
>>Hello,
>>
>>can you post the appriopriate piece of config.log?
>>
>>Derick
>>
>>Matthew Hagerty wrote:
>>
>> > Greetings,
>> >
>> > I have had this problem since 4.x and was hoping it would finally be
>> > resolved in 4.0.2, no luck. Here is my system:
>> >
>> > FreeBSD-4.0-RELEASE
>> > Apache-1.3.12
>> > gcc version 2.95.2 19991024 (release)
>> > zlib-1.1.3, fresh install from source into /usr/local/lib
>> >
>> > My PHP configure line:
>> >
>> > ./configure --with-zlib=/usr/local --with-pgsql --without-mysql
>> > --with-apache=../../apache_1.3.12
>> >
>> > The result:
>> >
>> > checking whether to include zlib support... yes
>> > checking for gzgets in -lz... no
>> > configure: error: Zlib module requires zlib >= 1.0.9.
>> >
>> > A search through the archives and bug list shows other people having this
>> > same problem, but never is an answer given... What gives? Any help would
>> > be greatly appreciated.
>> >
>> > Thanks,
>> > Matthew
>> >
>> > --
>> > PHP Development Mailing List <http://www.php.net/>
>> > To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
>> > For additional commands, e-mail: php-dev-help <email protected>
>> > To contact the list administrators, e-mail: php-list-admin <email protected>
>>
>>--
>>Derick Rethans
>>JDI Media Solutions
>>
>>H.v.Tussenbroekstraat 1
>>6952 BL Dieren
>>The Netherlands
>>
>>e-mail: d.rethans <email protected>
>>http://www.jdimedia.nl/
>>
>>
>>
>>--
>>PHP Development Mailing List <http://www.php.net/>
>>To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
>>For additional commands, e-mail: php-dev-help <email protected>
>>To contact the list administrators, e-mail: php-list-admin <email protected>
>
>
>--
>PHP Development Mailing List <http://www.php.net/>
>To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
>For additional commands, e-mail: php-dev-help <email protected>
>To contact the list administrators, e-mail: php-list-admin <email protected>
>

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>