httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Dunlop" <>
Subject mod_jk compile fails with undefined symbol RTLD_NOW
Date Wed, 05 Dec 2001 16:32:34 GMT
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 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: In function `load_jvm_dll':
../common//jk_jni_worker.c:732: `RTLD_NOW' undeclared (first use in this
../common//jk_jni_worker.c:732: (Each undeclared identifier is reported only
../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
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 <URL:> for more info.
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message