Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com To: cygwin AT cygwin DOT com X-Injected-Via-Gmane: http://gmane.org/ Path: not-for-mail From: Charles Wilson Newsgroups: gmane.os.cygwin Subject: Re: Solution to issue with apache and mod_php4 Date: Sat, 29 Jun 2002 22:54:54 -0400 Lines: 33 Message-ID: <3D1E72FE.1020304@ece.gatech.edu> References: <002001c21fd4$8e339c30$db474ed5 AT thinker> NNTP-Posting-Host: 1cust196.tnt11.atl4.da.uu.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1025405650 28152 65.234.238.196 (30 Jun 2002 02:54:10 GMT) X-Complaints-To: usenet AT main DOT gmane DOT org NNTP-Posting-Date: Sun, 30 Jun 2002 02:54:10 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.4) Gecko/20011019 Netscape6/6.2 X-Accept-Language: en-us Grant Kaufmann wrote: > Using apache-php-4.2.0-1 and apache-1.3.24-5, I ran into a problem > whereby Apache wouldn't run with php being LoadModule and AddModule'ed. > The error message on "apachectl start" (or just running httpd) was: > Cannot load /usr/lib/apache/libphp4.dll into server: dlopen: Win32 > error 126 > > I ran DependencyWalker (http://www.dependencywalker.com/), which showed > that /usr/lib/apache/libphp4.dll had a missing dependency of > "cygbz21.0.dll". I saw that there was a "/bin/cygbz2-1.dll", so I just > ran: > "cp /bin/cygbz2-1.dll /bin/cygbz21.0.dll", and everything seemed to > worked. > > So it looks like the PHP DLL was linked against a cygbz2 DLL with a > different name. It looks like the PHP is working now, but I haven't > tested any bz2 routines from within PHP, so couldn't be certain. cygbz21.0.dll is in the libbz2_0-1.0.2-1 package. Whenever "DLL not found" errors arise with cygwin, it is invariably because you have not installed all of the correct packages. Your first step should be to check http://www.cygwin.com/packages/ NEVER rename or copy DLLs. --Chuck bzip maintainer -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/