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 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 Reply-To: cygwin AT cygwin DOT com To: Sencer cc: cygwin AT cygwin DOT com Subject: Re: lighttpd - dlopen: Win32 error 126 In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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/