Re: link error on compile php4ts.dsw -cannot open input file "zlib.lib"
| From: | John M. Calvert | Date: | Sat, 15 Mar 2003 14:29:33 +0000 |
| Subject: | Re: link error on compile php4ts.dsw -cannot open input file "zlib.lib" | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-19024@lists.php.net to get a copy of this message | ||
I'm not familiar enough with the architecture of PHP to fully understand
your comment. When you say module, to me that means *.dll. However, my error
occurs when the linker is trying to link a library, zlib.lib. The relevant
details are in the /win32/php4dllts.dsp project which is part of the
/win32/php4ts.dsw workspace. I'm trying to build php4ts.dsw as per
/manual/en/install.windows.php#install.windows.build.
Given the linker error I get, I'm looking for zlib.lib which I don't see
anywhere. Mind you, is there a search function for cvs.php.net? I had to
look by randomly rooting around. The zlib project (/ext/zlib/zlib.dsp)
builds php_zlib.dll so that is not it.
Some external libraries are included in /extra/win32build.zip, and the above
instructions even have us build an additional resolv.lib, but there is no
sign of zlib.lib.
I've tried this with both the PHP 4.3.1 (tar.gz) [4,395Kb] - 17 February
2003 and a PHP snapshot Latest CVS (4.5.x-dev). Same problem with both. But
I'm not sure if the problem is my machine configuration, or an error in the
MS VC++ workspace / project details.
John
----- Original Message -----
From: "Frank M. Kromann" <frank@kromann.info>
To: "John M. Calvert" <vbhackattack@hotmail.com>
Cc: <php-windows@lists.php.net>
Sent: Saturday, March 15, 2003 3:22 AM
Subject: Re: [PHP-WIN] link error on compile php4ts.dsw -cannot open input
file "zlib.lib"
the zlib extension is compiled in and you need to get the zlib module from
cvs.php.net.
- Frank
> Hi, I trying for the first time ever to compile PHP on my Windows 2000
> machine using MS VC++ 6. I have been following the instructions in
> /manual/en/install.windows.php. Everything goes fine until the linker
kicks
> in:
>
> Linking...
> LINK : fatal error LNK1181: cannot open input file "zlib.lib"
> Error executing link.exe.
>
> php.exe - 1 error(s), 21 warning(s)
>
> I've spent a few hours poking at it but there is too much new to me to
> figure my way out. The best I can figure is that zlib.lib should be in
> win32build/lib but it isn't.
>
> Can anyone help?
>
> _________________________________________________________________
> Add photos to your e-mail with MSN 8. Get 2 months FREE*.
> http://join.msn.com/?page=features/featuredemail
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>