delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/02/17/13:42:37

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Tue, 17 Feb 2004 13:42:16 -0500 (EST)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Sencer <blog AT sencer DOT de>
cc: cygwin AT cygwin DOT com
Subject: Re: lighttpd - dlopen: Win32 error 126
In-Reply-To: <NEBBIMKOMLKDHGAFJLFIGEDOCKAA.blog@sencer.de>
Message-ID: <Pine.GSO.4.56.0402171340510.28780@slinky.cs.nyu.edu>
References: <NEBBIMKOMLKDHGAFJLFIGEDOCKAA DOT blog AT sencer DOT de>
MIME-Version: 1.0
X-Scanned-By: MIMEDefang 2.39

On Tue, 17 Feb 2004, Sencer wrote:

> Hi,
>
> I have compiled and installed lighttpd (available from:
> http://www.incremental.de/products/lighttpd/documentation/ ) under Cygwin
> (WinXP). When I try to run it I get the following error:
>
> 2004-02-17 09:51:09: (plugin.c.72) dlopen: Win32 error 126
> 2004-02-17 09:51:09: (server.c.374)
>
> When I trim down the configuration before starting it (i.e. take out _all_
> modules) then it runs and works without problems. However being able to use
> those modules is (obviously) crucial. The modules are being compiled and are
> available in the correct directories (/usr/local/lib/):
>
> mod_acces.a
> mod_acces.la
> mod_acceslog.a
> mod_acceslog.la
> ...
> ...
>
> "net helpmsg 126" says that the module could not be found however.
>
> What could I be doing wrong?

dlopen() is used to load a *dynamic* library.  The libraries you listed
above are all *static*.  Check the argument to the dlopen call, and make
sure this library is present on your system and in your $PATH.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019