Return-Path: Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 98160 invoked by uid 500); 5 Dec 2001 16:27:40 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 98149 invoked from network); 5 Dec 2001 16:27:40 -0000 Received: from mail.value.net (208.26.239.189) by daedalus.apache.org with SMTP; 5 Dec 2001 16:27:40 -0000 Received: from veenet.value.net (value.net [209.182.128.4]) by mail.value.net (8.11.2/8.11.2) with ESMTP id fB5GWm403361 for ; Wed, 5 Dec 2001 08:32:49 -0800 Received: from rdunlopDell (n180.cs32-f.value.net [209.182.158.180]) by veenet.value.net (8.11.1/8.11.1) with SMTP id fB5GDHG92894 for ; Wed, 5 Dec 2001 08:13:17 -0800 (PST) (envelope-from rdunlop@value.net) Message-ID: <122a01c17daa$71d91910$b49eb6d1@rdunlopDell> From: "Robert Dunlop" To: "apache_users" Subject: mod_jk compile fails with undefined symbol RTLD_NOW Date: Wed, 5 Dec 2001 08:32:34 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N I'm a newbie to Apache/Tomcat so I'm hoping someone can point me in the right direction here... I'm running on an OpenBSD system (2.9 - release build) When I attempt to build mod_jk.so using the supplied scripts (or directly with apxs as documented in the mod_jk HOWTO) I get the following output when compiling jk_jni_worker.c. cc -O2 -DDEV_RANDOM=/dev/arandom -DMOD_SSL=208102 -DEAPI -DUSE_EXPAT -I../li b/expat-lite -fPIC -DSHARED_MODULE -I/usr/lib/apache/include -I../common/ -I /usr/local/jdk/include -I/usr/local/jdk/include/linux -c ../common//jk_jni_worker.c ../common//jk_jni_worker.c: In function `load_jvm_dll': ../common//jk_jni_worker.c:732: `RTLD_NOW' undeclared (first use in this function) ../common//jk_jni_worker.c:732: (Each undeclared identifier is reported only once ../common//jk_jni_worker.c:732: for each function it appears in.) ../common//jk_jni_worker.c:732: `RTLD_GLOBAL' undeclared (first use in this function) apxs:Break: Command failed with rc=1 *** Error code 1 I can't these symbols defined in any header file in the source tree. What am I missing here? TIA Bob Dunlop --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org