delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/02/17/19:14:54

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
From: "Sencer" <blog AT sencer DOT de>
To: <cygwin AT cygwin DOT com>
Subject: RE: lighttpd - dlopen: Win32 error 126
Date: Wed, 18 Feb 2004 01:16:01 +0100
Message-ID: <NEBBIMKOMLKDHGAFJLFIKEEACKAA.blog@sencer.de>
MIME-Version: 1.0
In-Reply-To: <Pine.GSO.4.56.0402171340510.28780@slinky.cs.nyu.edu>


> From: Igor Pechtchanski
> 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)
> > [...]
> > "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.

That makes sense. However I know little about C and makefiles. When trying
to tun it, I followed the basic instructions (configure - make - "make
install") and got the above results. I have uploaded (hopefully) all
relevant files.

http://www.sencer.de/cygwin/configure.txt (~400kb)
http://www.sencer.de/cygwin/configure_log.txt
http://www.sencer.de/cygwin/make_log.txt
http://www.sencer.de/cygwin/make_install_log.txt

When executing `make` the following may be what is responsible for the
problem:
(See make_log.txt)

/bin/bash ../libtool --mode=link
c -Wall -W -O3 -Wshadow -pedantic -g -O2   -o mod_cgi.la -rpath
/usr/local/lib -module -export-dynamic -avoid-version cgi.lo  -lz
mkdir .libs
libtool: link: warning: undefined symbols not allowed in i686-pc-cygwin
shared libraries

An older post on this list is talking about sth. very similar:
http://www.cygwin.com/ml/cygwin/2003-08/msg00576.html

The problems seems to be that it is not actually building the shared objects
as requested, instead only spitting out static libraries. I tried the
proposed solution with: "-no-undefined" but that route didn't work, I ended
up with _WinMain AT 16 - errors.

How to proceed? TIA, much appreciated!


Sencer


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