<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=text/html;charset=iso-8859-1 http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18241"></HEAD>
<BODY style="PADDING-LEFT: 10px; PADDING-RIGHT: 10px; PADDING-TOP: 15px" 
id=MailContainerBody leftMargin=0 topMargin=0 bgColor=#ffffff 
CanvasTabStop="true" name="Compose message area">
<DIV><FONT size=2 face=Arial>I received the following message from Adrian 
Gallero at tmssoftware:</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><STRONG>Hi Bob,<BR><BR>This is actually a bug in Lazarus, in that it can't 
find zlib1.dll. I don't remember the exact steps, but you can try to:<BR>1) copy 
zlib1.dll as zlib.dll.  <BR>2) copy both zlib1 and zlib2 to a folder where 
the ide can find them. for example c:\windows.<BR><BR>This should fix 
it.<BR></STRONG></DIV>
<DIV><FONT size=2 face=Arial>I've moved the files to the Windows, 
Windows/System32, c:/lasarus, and c:/lib (which is listed in the libraries path 
in Lazarus) folders and I'm still getting the same error.</FONT></DIV>
<DIV style="FONT: 10pt Tahoma">
<DIV><BR></DIV>
<DIV style="BACKGROUND: #f5f5f5">
<DIV style="font-color: black"><B>From:</B> <A title=rkamarowski@yahoo.com 
href="mailto:rkamarowski@yahoo.com">Bob K.</A> </DIV>
<DIV><B>Sent:</B> Thursday, December 04, 2008 13:03</DIV>
<DIV><B>To:</B> <A title=lazarus@lazarus.freepascal.org 
href="mailto:lazarus@lazarus.freepascal.org">General mailing list</A> </DIV>
<DIV><B>Subject:</B> Re: [Lazarus] Import library not found for 
libz</DIV></DIV></DIV>
<DIV><BR></DIV>I copied zlib1.dll to Windows/System32 directory.  I then 
ran Tools | Build Lazarus... and received the same 
error:<BR><BR>C:\lazarus\ide\lazarus.pp(122,1) Error: Import library not found 
for libz<BR><BR>Here's the c:\lazarus\ide\lazarus.pp file:<BR><BR><FONT 
style="BACKGROUND-COLOR: #ffff00" face=Courier>{ $Id: lazarus.pp 16543 
2008-09-11 11:24:03Z mattias $ 
}<BR>{<BR> /***************************************************************************<BR>                                 
Lazarus.pp<BR>                             
-------------------<BR>                   
This is the lazarus editor 
program.<BR><BR>                   
Initial Revision  : Sun Mar 28 23:15:32 CST 
1999<BR><BR><BR> ***************************************************************************/<BR><BR> ***************************************************************************<BR> *                                                                         
*<BR> *   This source is free software; you can redistribute it 
and/or modify   *<BR> *   it under the terms of the GNU 
General Public License as published by  *<BR> *   the Free 
Software Foundation; either version 2 of the License, or     
*<BR> *   (at your option) any later 
version.                                   
*<BR> *                                                                         
*<BR> *   This code is distributed in the hope that it will be 
useful, but      *<BR> *   WITHOUT ANY 
WARRANTY; without even the implied warranty 
of            
*<BR> *   MERCHANTABILITY or FITNESS FOR A PARTICULAR 
PURPOSE.  See the GNU     *<BR> *   
General Public License for more 
details.                              
*<BR> *                                                                         
*<BR> *   A copy of the GNU General Public License is available 
on the World    *<BR> *   Wide Web at 
<http://www.gnu.org/copyleft/gpl.html>. You can 
also      *<BR> *   obtain it by writing 
to the Free Software 
Foundation,                 
*<BR> *   Inc., 59 Temple Place - Suite 330, Boston, MA 
02111-1307, USA.        
*<BR> *                                                                         
*<BR> ***************************************************************************<BR>}<BR><BR>program 
Lazarus;<BR><BR>{$mode objfpc}{$H+}<BR><BR>{$I ide.inc}<BR><BR>{$IFDEF 
WINDOWS}<BR>  {$R lazarus.rc}<BR>{$ENDIF}<BR><BR>{off $DEFINE 
IDE_MEM_CHECK}<BR><BR>uses<BR>  //cmem,<BR>  {$IFDEF UNIX}{$IFDEF 
UseCThreads}<BR>  cthreads,<BR>  {$ENDIF}{$ENDIF}<BR>  {$IFDEF 
IDE_MEM_CHECK}<BR>  MemCheck,<BR>  {$ENDIF}<BR>  {$IF 
defined(Unix) and not defined(VER2_2_0) and not defined(VER2_2_2)}<BR>  
clocale,<BR>  {$ENDIF}<BR>  Interfaces,<BR>  Forms, 
LCLProc,<BR>  Splash,<BR>  Main,<BR>  AboutFrm,<BR>  // use 
the custom IDE static packages AFTER 'main'<BR>  {$IFDEF 
AddStaticPkgs}<BR>  {$I staticpackages.inc}<BR>  {$ENDIF}<BR>  
{$IFDEF BigIDE}<BR>    RunTimeTypeInfoControls, Printer4Lazarus, 
Printers4LazIDE,<BR>    CGILaz, CGILazIDE,<BR>    
MemDSLaz, SDFLaz, TurboPowerIPro, <BR>    FPCUnitTestRunner, 
FPCUnitIDE, ProjTemplates, TAChartLazarusPkg,<BR>    {$IFDEF 
windows}<BR>      SQLDBLaz, 
DBFLaz,<BR>    {$ENDIF}<BR>    {$IFDEF 
Linux}<BR>      SQLDBLaz, DBFLaz,<BR>    
{$ENDIF}<BR>  {$ENDIF}<BR>  MainBase;<BR><BR>{$I 
revision.inc}<BR><BR>begin<BR>  {$IFDEF 
IDE_MEM_CHECK}CheckHeapWrtMemCnt('lazarus.pp: begin');{$ENDIF}<BR><BR>  // 
When quick rebuilding the IDE, FPC rebuilds only the lazarus.pp, so 
any<BR>  // flag that should work with quick build must be set 
here.<BR>  KeepInstalledPackages:={$IFDEF 
BigIDE}True{$ELSE}False{$ENDIF};<BR>  <BR>  
LazarusRevisionStr:=RevisionStr;<BR>  
Application.Title:='Lazarus';<BR>  Application.Initialize;<BR>  
TMainIDE.ParseCmdLineOptions;<BR>  if Application.Terminated then 
exit;<BR><BR>  // Show splashform<BR>  if ShowSplashScreen then 
begin<BR>    SplashForm := 
TSplashForm.Create(nil);<BR>    
SplashForm.Show;<BR>    Application.ProcessMessages; // process 
splash paint message<BR>  end;<BR><BR>  
MainIDE:=TMainIDE.Create(Application);<BR>  
MainIDE.CreateOftenUsedForms;<BR>  MainIDE.StartIDE;<BR>  {$IFDEF 
IDE_MEM_CHECK}CheckHeapWrtMemCnt('lazarus.pp: TMainIDE 
created');{$ENDIF}<BR><BR>  try<BR>    
Application.Run;<BR>  except<BR>    debugln('lazarus.pp - 
unhandled exception');<BR>    Halt;<BR>  end;<BR>  if 
(SplashForm<>nil) then begin<BR>    
SplashForm.Free;<BR>    SplashForm:=nil;<BR>  
end;<BR><BR>  debugln('LAZARUS END - cleaning up .....');<BR><BR>  // 
free the IDE, so everything is freed before the finalization sections<BR>  
MainIDE.Free;<BR>  
MainIDE:=nil;<BR>end.<BR></FONT>          
<BR><BR>--------------------------------------------------<BR>From: "zeljko" 
<zeljko@holobit.net><BR>Sent: Thursday, December 04, 2008 11:32<BR>To: 
"General mailing list" <lazarus@lazarus.freepascal.org><BR>Subject: Re: 
[Lazarus] Import library not found for libz<BR><BR>> On Thursday 04 December 
2008 16:59, Bob K. wrote:<BR>>> I've uninstalled Lazarus, and 
re-installed.  I checked all the environment<BR>>> options and 
everything seems fine.  I ran some Lazarus example projects and<BR>>> 
they all work.<BR>>><BR>>> Version #: 0.9.26 beta<BR>>> Date: 
2008-10-05<BR>>> FPC Version: 2.2.2<BR>>> SVN Revision: 
16885<BR>>> i386-win32-win32/win64<BR>>><BR>>> Windows 
Vista<BR>>><BR>>> I've compiled FlexCel.lpk and FlexCel_DESIGN.lpk 
successfully.  When I<BR>>> attempt to install FlexCel_DESIGN.lpk I'm 
getting the following error:<BR>>><BR>>> 
C:\lazarus\ide\lazarus.pp(122,1) Error: Import library not found for 
libz<BR>>> C:\lazarus\ide\lazarus.pp(122,1) Fatal: There were 1 errors 
compiling<BR>>> module, stopping<BR>> <BR>> hm...I've installed 
FlexCel w/o any problem (winXP), but I've copied zlib1.dll <BR>> into 
....Windows\System32 dir. I cannot remember of any error with "libz" it <BR>> 
sound me like UNIX is declared somewhere ;)<BR>> 
<BR>>><BR>>><BR>>> I updated the Compiler Options | Library 
(-Fl) to include the folder that<BR>>> contains zlib1.dll, but I'm still 
getting the same error.<BR>>><BR>>> Please help,<BR>>> bob 
k.<BR>> _______________________________________________<BR>> Lazarus 
mailing list<BR>> Lazarus@lazarus.freepascal.org<BR>> 
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus 
<P>
<HR>

<P></P>_______________________________________________<BR>Lazarus mailing 
list<BR>Lazarus@lazarus.freepascal.org<BR>http://www.lazarus.freepascal.org/mailman/listinfo/lazarus<BR></BODY></HTML>