This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: lighttpd - dlopen: Win32 error 126


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@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]