Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Message-ID: <403313EC.7000601@cwilson.fastmail.fm>
Date: Wed, 18 Feb 2004 02:27:40 -0500
From: Charles Wilson <cygwin@cwilson.fastmail.fm>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030630
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: Building dll's and executables in same package
References: <402C2069.7070403@users.sourceforge.net> <402C3B62.6000902@cwilson.fastmail.fm> <402C6D2E.20403@users.sourceforge.net> <6925152046.20040214185113@familiehaase.de> <403267E0.6050607@users.sourceforge.net> <40326EC8.5080101@users.sourceforge.net>
In-Reply-To: <40326EC8.5080101@users.sourceforge.net>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Yaakov Selkowitz wrote:

> OK, here's the story.  I built clamav after the following steps, and
> everything completed without errors, and cygcheck shows the applications
> are linked to cygclamav-1.dll.  But when I try running one of the
> programs that were built, I get a Windows error dialog:
> 
> freshclam.exe - Application Error
> 
> ~  The application failed to initialize properly (0xc0000005).  Click on
> OK to terminate the application.
> 
> This happens by all of the applications, even when I moved
> cygclamav-1.dll into my PATH, and even if I call the programs with
> - --help or --version options.  What's going on now??

Make sure that the dll has executable permissions.
chmod +x cygclamav-1.dll

--
Chuck


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

