Re: Building dll's and executables in same package

2004-08-30 Thread Reini Urban
Dr. Volker Zell schrieb:
Yaakov == Yaakov Selkowitz writes:
Yaakov OK, here's the story.  I built clamav after the following steps, and
Yaakov everything completed without errors, and cygcheck shows the applications
Yaakov are linked to cygclamav-1.dll.  But when I try running one of the
Yaakov programs that were built, I get a Windows error dialog:
Yaakov freshclam.exe - Application Error
Yaakov ~  The application failed to initialize properly (0xc005).  Click on
Yaakov OK to terminate the application.
Yaakov This happens by all of the applications, even when I moved
Yaakov cygclamav-1.dll into my PATH, and even if I call the programs with
Yaakov - --help or --version options.  What's going on now??
It happened to me too sometimes. Check the permissions on the dll's
sometimes they do not have the execute permission. Don't know why so.
Couldn't this be overcome by a fix in winsup/dlfcn.cc ?
Must they be executable?
And if so, shouldn't we print a warning if dlopen() fails because of a 
missing +x permission?

--
Reini Urban
http://xarch.tu-graz.ac.at/home/rurban/


Re: Building dll's and executables in same package

2004-02-17 Thread Dr. Volker Zell
 Yaakov == Yaakov Selkowitz writes:

Yaakov OK, here's the story.  I built clamav after the following steps, and
Yaakov everything completed without errors, and cygcheck shows the applications
Yaakov are linked to cygclamav-1.dll.  But when I try running one of the
Yaakov programs that were built, I get a Windows error dialog:

Yaakov freshclam.exe - Application Error

Yaakov ~  The application failed to initialize properly (0xc005).  Click on
Yaakov OK to terminate the application.

Yaakov This happens by all of the applications, even when I moved
Yaakov cygclamav-1.dll into my PATH, and even if I call the programs with
Yaakov - --help or --version options.  What's going on now??

It happened to me too sometimes. Check the permissions on the dll's
sometimes they do not have the execute permission. Don't know why so.

Yaakov Yaakov

Ciao
  Volker