Re: problem with new 2.04 mod_jk2

2004-04-05 Thread Walter Truitt
I would guess it is related to the libgcc_s.so that is being picked
up.  The version in /usr/local/lib probably has all these libraries
linked.

 -walter

 I don't know either, but it's a simple fact. However, I discovered I am
 getting different results from different users while running the ldd on
 the mod_jk2.so module:
 
 With my user, I am getting:
 
 [EMAIL PROTECTED] dsavard]$ ldd /usr/local/apps/apache2/modules/mod_jk2.so 
   /usr/lib/libgdkxft.so = /usr/lib/libgdkxft.so (0x4002c000)
   libgcc_s.so.1 = /usr/local/lib/libgcc_s.so.1 (0x40031000)
   libc.so.6 = /lib/i686/libc.so.6 (0x40054000)
   libgtk-1.2.so.0 = /usr/lib/libgtk-1.2.so.0 (0x4019)
   libgdk-1.2.so.0 = /usr/lib/libgdk-1.2.so.0 (0x402be000)
   libgmodule-1.2.so.0 = /usr/lib/libgmodule-1.2.so.0 (0x402f4000)
   libglib-1.2.so.0 = /usr/lib/libglib-1.2.so.0 (0x402f7000)
   libdl.so.2 = /lib/libdl.so.2 (0x4031b000)
   libXi.so.6 = /usr/lib/libXi.so.6 (0x4031f000)
   libXext.so.6 = /usr/lib/libXext.so.6 (0x40327000)
   libX11.so.6 = /usr/lib/libX11.so.6 (0x40336000)
   libm.so.6 = /lib/i686/libm.so.6 (0x4040)
   libXft.so.1 = /usr/lib/libXft.so.1 (0x40423000)
   /lib/ld-linux.so.2 = /lib/ld-linux.so.2 (0x8000)
   libXrender.so.1 = /usr/lib/libXrender.so.1 (0x4044d000)
   libfreetype.so.6 = /usr/lib/libfreetype.so.6 (0x40452000)
   libz.so.1 = /usr/lib/libz.so.1 (0x404a3000)
 
 And using another user:
 
 [EMAIL PROTECTED] gnometest]$ ldd
 /usr/local/apps/apache2/modules/mod_jk2.so 
   libgcc_s.so.1 = /lib/libgcc_s.so.1 (0x40046000)
   libc.so.6 = /lib/i686/libc.so.6 (0x4004f000)
   /lib/ld-linux.so.2 = /lib/ld-linux.so.2 (0x8000)
 
 I know it's no longer a Tomcat question, but anyone knows what can
 influence the result of the ldd command? A but? A problem with the glibc
 library? Anyone has ever encountered such a problem?
 
 I tried unsetting the LIBRARY and LD_LIBRARY_PATH environment variables
 without anoy success. And anyway, I don't see how any variable can
 influence which libraries are required to resolve a symbol, except the
 path to these libraries.
 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Re: problem with new 2.04 mod_jk2

2004-04-04 Thread Daniel Savard
Le dim 04/04/2004 à 00:01, QM a écrit :
 On Sat, Apr 03, 2004 at 11:38:37PM -0500, Daniel Savard wrote:
 
 : I know it's no longer a Tomcat question, but anyone knows what can
 : influence the result of the ldd command? A but? A problem with the glibc
 : library? Anyone has ever encountered such a problem?
 
 
 Smells like $LD_PRELOAD.
 
 What's the result of a diff between env | sort for each user?
 
 -QM

Ok, that's right. The LD_PRELOAD variable is set for the offending user
reporting incorrect libraries.

Thanks,
 
-- 

===
Daniel Savard
Consultation Informatique Daniel Savard
551, boul. Sir-Wilfrid-Laurier
suite 105
Beloeil, (Québec)
Canada J3G 4J1

Tél: (450) 467-8014
Internet: [EMAIL PROTECTED]
===



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Re: problem with new 2.04 mod_jk2

2004-04-03 Thread Daniel Savard
Walter Truitt a écrit:

...

 I don't know why someone would have X11 libraries linked in with an
 Apache module.

  -walter

I don't know either, but it's a simple fact. However, I discovered I am
getting different results from different users while running the ldd on
the mod_jk2.so module:

With my user, I am getting:

[EMAIL PROTECTED] dsavard]$ ldd /usr/local/apps/apache2/modules/mod_jk2.so 
/usr/lib/libgdkxft.so = /usr/lib/libgdkxft.so (0x4002c000)
libgcc_s.so.1 = /usr/local/lib/libgcc_s.so.1 (0x40031000)
libc.so.6 = /lib/i686/libc.so.6 (0x40054000)
libgtk-1.2.so.0 = /usr/lib/libgtk-1.2.so.0 (0x4019)
libgdk-1.2.so.0 = /usr/lib/libgdk-1.2.so.0 (0x402be000)
libgmodule-1.2.so.0 = /usr/lib/libgmodule-1.2.so.0 (0x402f4000)
libglib-1.2.so.0 = /usr/lib/libglib-1.2.so.0 (0x402f7000)
libdl.so.2 = /lib/libdl.so.2 (0x4031b000)
libXi.so.6 = /usr/lib/libXi.so.6 (0x4031f000)
libXext.so.6 = /usr/lib/libXext.so.6 (0x40327000)
libX11.so.6 = /usr/lib/libX11.so.6 (0x40336000)
libm.so.6 = /lib/i686/libm.so.6 (0x4040)
libXft.so.1 = /usr/lib/libXft.so.1 (0x40423000)
/lib/ld-linux.so.2 = /lib/ld-linux.so.2 (0x8000)
libXrender.so.1 = /usr/lib/libXrender.so.1 (0x4044d000)
libfreetype.so.6 = /usr/lib/libfreetype.so.6 (0x40452000)
libz.so.1 = /usr/lib/libz.so.1 (0x404a3000)

And using another user:

[EMAIL PROTECTED] gnometest]$ ldd
/usr/local/apps/apache2/modules/mod_jk2.so 
libgcc_s.so.1 = /lib/libgcc_s.so.1 (0x40046000)
libc.so.6 = /lib/i686/libc.so.6 (0x4004f000)
/lib/ld-linux.so.2 = /lib/ld-linux.so.2 (0x8000)

I know it's no longer a Tomcat question, but anyone knows what can
influence the result of the ldd command? A but? A problem with the glibc
library? Anyone has ever encountered such a problem?

I tried unsetting the LIBRARY and LD_LIBRARY_PATH environment variables
without anoy success. And anyway, I don't see how any variable can
influence which libraries are required to resolve a symbol, except the
path to these libraries.


-- 

===
Daniel Savard
Consultation Informatique Daniel Savard
551, boul. Sir-Wilfrid-Laurier
suite 105
Beloeil, (Québec)
Canada J3G 4J1

Tél: (450) 467-8014
Internet: [EMAIL PROTECTED]
===



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Re: Re: problem with new 2.04 mod_jk2 (KMM16055293V54052L0KM)

2004-04-03 Thread Auto-Reply ACD Systems
**This is an automated response.**
**Do not reply to this message.**

Thank you for contacting the ACD Systems Online Store. If you require
the assistance of our Customer Care Center representatives, please
review the below information so that we can help you with your
question(s) as fast as possible.

Do you have DOWNLOAD, BILLING AND/OR SHIPPING QUESTIONS?

Our Customer Care Center at http://service.digitalriver.com/acd/cs can
help you perform the following tasks:
  - Download a digital order
  - Check the shipping status of a physical order
  - View and print an invoice
  - Get answers to common questions
  - Contact our Customer Care Center representatives

If you need to contact our Customer Care Center via email or have been
unable to login to our Customer Care Center page, you can go directly to
our email web form located at: http://service.digitalriver.com/acd/question

Do you have TECHNICAL SUPPORT QUESTIONS?

Please review your order confirmation message for the appropriate
technical support contact information for assistance with any of the
following:
  - Questions on installation
  - Troubleshooting software
  - Help with features
  - General questions regarding the product

Thank you for contacting the ACD Systems Online Store.

Sincerely,

Customer Care Center
http://www.acdsystems.com/
Case ID 6834531




Original Message Follows:


Walter Truitt a écrit:
...

 I don't know why someone would have X11 libraries linked in with an
 Apache module.

  -walter
I don't know either, but it's a simple fact. However, I discovered I am
getting different results from different users while running the ldd on
the mod_jk2.so module:
With my user, I am getting:
[EMAIL PROTECTED] dsavard]$ ldd /usr/local/apps/apache2/modules/mod_jk2.so
/usr/lib/libgdkxft.so = /usr/lib/libgdkxft.so (0x4002c000)
libgcc_s.so.1 = /usr/local/lib/libgcc_s.so.1 (0x40031000)
libc.so.6 = /lib/i686/libc.so.6 (0x40054000)
libgtk-1.2.so.0 = /usr/lib/libgtk-1.2.so.0 (0x4019)
libgdk-1.2.so.0 = /usr/lib/libgdk-1.2.so.0 (0x402be000)
libgmodule-1.2.so.0 = /usr/lib/libgmodule-1.2.so.0 (0x402f4000)
libglib-1.2.so.0 = /usr/lib/libglib-1.2.so.0 (0x402f7000)
libdl.so.2 = /lib/libdl.so.2 (0x4031b000)
libXi.so.6 = /usr/lib/libXi.so.6 (0x4031f000)
libXext.so.6 = /usr/lib/libXext.so.6 (0x40327000)
libX11.so.6 = /usr/lib/libX11.so.6 (0x40336000)
libm.so.6 = /lib/i686/libm.so.6 (0x4040)
libXft.so.1 = /usr/lib/libXft.so.1 (0x40423000)
/lib/ld-linux.so.2 = /lib/ld-linux.so.2 (0x8000)
libXrender.so.1 = /usr/lib/libXrender.so.1 (0x4044d000)
libfreetype.so.6 = /usr/lib/libfreetype.so.6 (0x40452000)
libz.so.1 = /usr/lib/libz.so.1 (0x404a3000)
And using another user:
[EMAIL PROTECTED] gnometest]$ ldd
/usr/local/apps/apache2/modules/mod_jk2.so
libgcc_s.so.1 = /lib/libgcc_s.so.1 (0x40046000)
libc.so.6 = /lib/i686/libc.so.6 (0x4004f000)
/lib/ld-linux.so.2 = /lib/ld-linux.so.2 (0x8000)
I know it's no longer a Tomcat question, but anyone knows what can
influence the result of the ldd command? A but? A problem with the glibc
library? Anyone has ever encountered such a problem?
I tried unsetting the LIBRARY and LD_LIBRARY_PATH environment variables
without anoy success. And anyway, I don't see how any variable can
influence which libraries are required to resolve a symbol, except the
path to these libraries.
--
===
Daniel Savard
Consultation Informatique Daniel Savard
551, boul. Sir-Wilfrid-Laurier
suite 105
Beloeil, (Québec)
Canada J3G 4J1
Tél: (450) 467-8014
Internet: [EMAIL PROTECTED]
===
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Re: problem with new 2.04 mod_jk2

2004-04-03 Thread QM
On Sat, Apr 03, 2004 at 11:38:37PM -0500, Daniel Savard wrote:

: I know it's no longer a Tomcat question, but anyone knows what can
: influence the result of the ldd command? A but? A problem with the glibc
: library? Anyone has ever encountered such a problem?


Smells like $LD_PRELOAD.

What's the result of a diff between env | sort for each user?

-QM


-- 

software  -- http://www.brandxdev.net
tech news -- http://www.RoarNetworX.com


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: problem with new 2.04 mod_jk2

2004-04-01 Thread Walter Truitt
You shouldn't have more than just the two.

The issue is that the version of APR that is in the package included
with the apache 2.0.40, does not use the same function names.
Somewhere back there they change from apr_send to apr_socket_send.

On the side, that is what broke the mod_webapp.  You can probably
build the current webapp connector just fine if you check it out from
CVS.

I think the simplest method to get up is to upgrade to a newer version
of apache.  Or you can probably go back to a version of mod_jk2 that
would match with the APR version.  It appears the renames were done in
APR 0.9.2.

Looking in the archives of the jk2 connector, there are binaries of
the module for Apache 2.0.42.  I guess that means, that you cannot
build it for older versions.  I think if you try to link it with
another copy of libapr, you would have duplicate definitions of some
functions.

If you want to patch the sources, you can use this mapping of function
names (reverse):

 apr_filename_of_pathname - apr_filepath_name_get
 apr_get_groupid - apr_gid_get
 apr_get_groupname - apr_gid_name_get
 apr_compare_groups - apr_gid_compare
 apr_parse_addr_port - apr_port_addr_parse
 apr_shutdown - apr_socket_shutdown
 apr_bind - apr_socket_bind
 apr_listen - apr_socket_listen
 apr_accept - apr_socket_accept
 apr_connect - apr_socket_connect
 apr_send - apr_socket_send
 apr_sendv - apr_socket_sendv
 apr_sendto - apr_socket_sendto
 apr_implode_gmt - apr_time_exp_gmt_get
 apr_get_home_directory - apr_uid_homepath_get
 apr_get_userid - apr_uid_get
 apr_current_userid - apr_uid_current
 apr_compare_users - apr_uid_compare
 apr_get_username - apr_uid_name_get
 apr_recvfrom - apr_socket_recvfrom
 apr_sendfile - apr_socket_sendfile
 apr_recv - apr_socket_recv

[EMAIL PROTECTED] BUILD]# ldd /usr/lib/httpd/modules/mod_jk2.so
libc.so.6 = /lib/tls/libc.so.6 (0x4200)
   /lib/ld-linux.so.2 = /lib/ld-linux.so.2 (0x8000)

I don't know why someone would have X11 libraries linked in with an
Apache module.

 -walter

 Le mer 31/03/2004 à 16:24, [EMAIL PROTECTED] a écrit :
  I am using apache 2.0.40-21.9 (the default for redhat9) .  Does this
  version of apache not come with APR support?  I just installed apr 0.9.4
  from source, but httpd still complains about apr_socket_send.  I'm
  wondering...  do I need to link these apr libraries to apache somehow?
  
  thanks,
  devin
 
 You don't need to link anything. They are shared libraries and symbols
 are resolved at runtime. This is the reason it fails at runtime.
 
 To see which libraries the module expect, just type:
 
 ldd mod_jk2.so
 
 You should get something like:
 
   /usr/lib/libgdkxft.so = /usr/lib/libgdkxft.so (0x4002c000)
   libgcc_s.so.1 = /usr/local/lib/libgcc_s.so.1 (0x40031000)
   libc.so.6 = /lib/i686/libc.so.6 (0x40054000)
   libgtk-1.2.so.0 = /usr/lib/libgtk-1.2.so.0 (0x4019)
   libgdk-1.2.so.0 = /usr/lib/libgdk-1.2.so.0 (0x402be000)
   libgmodule-1.2.so.0 = /usr/lib/libgmodule-1.2.so.0 (0x402f4000)
   libglib-1.2.so.0 = /usr/lib/libglib-1.2.so.0 (0x402f7000)
   libdl.so.2 = /lib/libdl.so.2 (0x4031b000)
   libXi.so.6 = /usr/lib/libXi.so.6 (0x4031f000)
   libXext.so.6 = /usr/lib/libXext.so.6 (0x40327000)
   libX11.so.6 = /usr/lib/libX11.so.6 (0x40336000)
   libm.so.6 = /lib/i686/libm.so.6 (0x4040)
   libXft.so.1 = /usr/lib/libXft.so.1 (0x40423000)
   /lib/ld-linux.so.2 = /lib/ld-linux.so.2 (0x8000)
   libXrender.so.1 = /usr/lib/libXrender.so.1 (0x4044d000)
   libfreetype.so.6 = /usr/lib/libfreetype.so.6 (0x40452000)
   libz.so.1 = /usr/lib/libz.so.1 (0x404a3000)
 
 Try to run ldconfig -v as root, it will rebuild the cache
 /etc/ld.so.cache. The problem may be your library is located somewhere
 out of reach of the directories specified in /etc/ld.so.conf. If it is
 the case, add you directory in /etc/ld.so.conf before running ldconfig
 -v.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: problem with new 2.04 mod_jk2

2004-04-01 Thread Valeri Martchouk
Hello Devin,

it was my way to compile jk2-connector:
Apache source : /usr/local/apache2/src/httpd-2.0.48
cd /usr/local/src/
tar xzf jakarta-tomcat-connectors-jk2-2.0.4-src.tar.gz
cd jakarta-tomcat-connectors-jk2-2.0.4-src/jk/native2
./buildconf.sh

./configure --with-apxs2=/usr/local/apache2/bin/apxs \
--with-apache2=/usr/local/apache2/src/httpd-2.0.48 \
--with-tomcat41=/usr/local/tomcat5 --with-jni \
--with-java-home=/usr/local/jdk
vi server/apache2/Makefile
Line 1   # Gnu makefile and libtool are required
Line 2   # use -D options to overrides defaults
Line 3   APACHE2_HOME=/usr/local/apache2
Line 4   include ${APACHE2_HOME}/build/config_vars.mk
..skipped..
Line56 ALL_LIBS = $(EXTRA_LIBS) $(NOTEST_LIBS) $(LIBS) ${AP_LIBS}
..skipped..
Line63 MOD_LINK = $(LIBTOOL) --mode=link $(CC) -avoid-version -module -rpath 
${APACHE2_LIBEXEC} $(LT_LDFLAGS) $(ALL_LDFLAGS) ${ALL_LIBS}
...

..

make clean

make

After this ldd  ../build/jk2/apache2/libjkjni.so will look like this:
   libz.so.1 = /usr/local/lib/libz.so.1 (0x40034000)
   libssl.so.0.9.7 = /usr/local/lib/libssl.so.0.9.7 (0x40046000)
   libcrypto.so.0.9.7 = /usr/local/lib/libcrypto.so.0.9.7 (0x40076000)
   libaprutil-0.so.0 = /usr/local/apache2/lib/libaprutil-0.so.0 
(0x4016a000)
   libgdbm.so.2 = /usr/lib/libgdbm.so.2 (0x4017f000)
   libdb.so.3 = /lib/libdb.so.3 (0x40185000)
   libexpat.so.0 = /usr/local/apache2/lib/libexpat.so.0 (0x401be000)
   libapr-0.so.0 = /usr/local/apache2/lib/libapr-0.so.0 (0x401db000)
   libm.so.6 = /lib/libm.so.6 (0x401f9000)
   libnsl.so.1 = /lib/libnsl.so.1 (0x40215000)
   libresolv.so.2 = /lib/libresolv.so.2 (0x4022a000)
   libdl.so.2 = /lib/libdl.so.2 (0x40238000)
   libcrypt.so.1 = /lib/libcrypt.so.1 (0x4023b000)
   libc.so.6 = /lib/libc.so.6 (0x40269000)
   /lib/ld-linux.so.2 = /lib/ld-linux.so.2 (0x8000)

+: This work for me on Slackware 7.0 or 7.1 (im not sure here).
-:  Every ./configure ... recreate server/apache2/Makefile.
Valeri.

_
E-Mails sind Ihnen nicht schnell genug? http://www.msn.de/messenger MSN 
Messenger - Kommunikation in Echtzeit

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


problem with new 2.04 mod_jk2

2004-03-31 Thread admin
Hello,

I decided to try the new mod_jk2 today.  I put all the files in the
right place, but fot this error when starting up httpd:
Starting httpd: Syntax error on line 5 of /etc/httpd/conf.d/jk2.conf:
Cannot load /etc/httpd/modules/mod_jk2.so into server: 
/etc/httpd/modules/mod_jk2.so: undefined symbol: apr_socket_send

has anyone seen this or know what I have done wrong?

Thanks,
Devin

Re: problem with new 2.04 mod_jk2

2004-03-31 Thread Emerson Cargnin
for what I have researched, you need to have APR's and build mod_jk2 
against it. That's why I decided to mantain mod_jk. Still have some 
problems, but I'll post it in another mail.

Emerson

[EMAIL PROTECTED] wrote:
Hello,

I decided to try the new mod_jk2 today.  I put all the files in the
right place, but fot this error when starting up httpd:
Starting httpd: Syntax error on line 5 of /etc/httpd/conf.d/jk2.conf:
Cannot load /etc/httpd/modules/mod_jk2.so into server: 
/etc/httpd/modules/mod_jk2.so: undefined symbol: apr_socket_send

has anyone seen this or know what I have done wrong?

Thanks,
Devin


--
Emerson Cargnin
Analista de Sistemas
Setor de Desenvolvimento de Sistemas - TRE-SC
tel : (048) - 251-3700 - Ramal 3181
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: problem with new 2.04 mod_jk2

2004-03-31 Thread admin
weird.  Why would they put Linux binaries up on the Jakarta site
that wont work in Linux?
-devin


for what I have researched, you need to have APR's and build mod_jk2 
against it. That's why I decided to mantain mod_jk. Still have some 
problems, but I'll post it in another mail.

Emerson

[EMAIL PROTECTED] wrote:
Hello,

I decided to try the new mod_jk2 today.  I put all the files in the
right place, but fot this error when starting up httpd:
Starting httpd: Syntax error on line 5 of /etc/httpd/conf.d/jk2.conf:
Cannot load /etc/httpd/modules/mod_jk2.so into server: 
/etc/httpd/modules/mod_jk2.so: undefined symbol: apr_socket_send

has anyone seen this or know what I have done wrong?

Thanks,
Devin


--
Emerson Cargnin
Analista de Sistemas
Setor de Desenvolvimento de Sistemas - TRE-SC
tel : (048) - 251-3700 - Ramal 3181
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: problem with new 2.04 mod_jk2

2004-03-31 Thread Emerson Cargnin
I had the same error than him, and it looks like he is using apache 1.3, 
that doesn't come with APR, so you have to install it separated 
(although it didn't worked for me)...

[EMAIL PROTECTED] wrote:
weird.  Why would they put Linux binaries up on the Jakarta site
that wont work in Linux?
-devin


for what I have researched, you need to have APR's and build mod_jk2 
against it. That's why I decided to mantain mod_jk. Still have some 
problems, but I'll post it in another mail.

Emerson

[EMAIL PROTECTED] wrote:

Hello,

I decided to try the new mod_jk2 today.  I put all the files in the
right place, but fot this error when starting up httpd:
Starting httpd: Syntax error on line 5 of /etc/httpd/conf.d/jk2.conf:
Cannot load /etc/httpd/modules/mod_jk2.so into server: 
/etc/httpd/modules/mod_jk2.so: undefined symbol: apr_socket_send

has anyone seen this or know what I have done wrong?

Thanks,
Devin


--
Emerson Cargnin
Analista de Sistemas
Setor de Desenvolvimento de Sistemas - TRE-SC
tel : (048) - 251-3700 - Ramal 3181
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



--
Emerson Cargnin
Analista de Sistemas
Setor de Desenvolvimento de Sistemas - TRE-SC
tel : (048) - 251-3700 - Ramal 3181
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: problem with new 2.04 mod_jk2

2004-03-31 Thread admin
I am using apache 2.0.40-21.9 (the default for redhat9) .  Does this
version of apache not come with APR support?  I just installed apr 0.9.4
from source, but httpd still complains about apr_socket_send.  I'm
wondering...  do I need to link these apr libraries to apache somehow?
thanks,
devin


I had the same error than him, and it looks like he is using apache 
1.3, that doesn't come with APR, so you have to install it separated 
(although it didn't worked for me)...

[EMAIL PROTECTED] wrote:
weird.  Why would they put Linux binaries up on the Jakarta site
that wont work in Linux?
-devin

for what I have researched, you need to have APR's and build 
mod_jk2 against it. That's why I decided to mantain mod_jk. Still 
have some problems, but I'll post it in another mail.

Emerson

[EMAIL PROTECTED] wrote:

Hello,

I decided to try the new mod_jk2 today.  I put all the files in the
right place, but fot this error when starting up httpd:
Starting httpd: Syntax error on line 5 of /etc/httpd/conf.d/jk2.conf:
Cannot load /etc/httpd/modules/mod_jk2.so into server: 
/etc/httpd/modules/mod_jk2.so: undefined symbol: apr_socket_send

has anyone seen this or know what I have done wrong?

Thanks,
Devin


--
Emerson Cargnin
Analista de Sistemas
Setor de Desenvolvimento de Sistemas - TRE-SC
tel : (048) - 251-3700 - Ramal 3181
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


--
Emerson Cargnin
Analista de Sistemas
Setor de Desenvolvimento de Sistemas - TRE-SC
tel : (048) - 251-3700 - Ramal 3181
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: problem with new 2.04 mod_jk2

2004-03-31 Thread Emerson Cargnin
As I failed to use mod_jk 1.2.2 or mod_jk 1.2.5 (it looks like doe not 
accept apj13) I'm trying to use mod_jk2, but as detailed in mod_jk 
documents, I need to re-build apache, is that true???



Suse-9.0-i386/usr/share/apache2/manual/mod_jk2/jk2/installhowto.html

jk documentation
Apache 1.3
In the following example Apache-1.3 is installed in /home/apache13/ and 
the commands are executed in the jakarta-tomcat-connectors directory.

Apache 1.3 require APR, and if APR has been built with pthread support 
and your Apache 1.3 wasn't (general case in Unix platforms) you should :

* Rebuild Apache 1.3 with pthread support (recommanded)
* Add the LoadFile /usr/lib/pthread.so in beginning of your httpd.conf
You should also ensure that the linker will be able to locate the apr 
shared libraries, libapr.so, and libaprutil.so, make sure they have been 
installed in linker search locations.
/jk documentation

does 1.2.5 version can be used with apache 1.3.28 and tomcat 5??? I 
think that it can, but I just can't configure it :(

Any idea or suggestion???

[EMAIL PROTECTED] wrote:
I am using apache 2.0.40-21.9 (the default for redhat9) .  Does this
version of apache not come with APR support?  I just installed apr 0.9.4
from source, but httpd still complains about apr_socket_send.  I'm
wondering...  do I need to link these apr libraries to apache somehow?
thanks,
devin


I had the same error than him, and it looks like he is using apache 
1.3, that doesn't come with APR, so you have to install it separated 
(although it didn't worked for me)...

[EMAIL PROTECTED] wrote:

weird.  Why would they put Linux binaries up on the Jakarta site
that wont work in Linux?
-devin

for what I have researched, you need to have APR's and build mod_jk2 
against it. That's why I decided to mantain mod_jk. Still have some 
problems, but I'll post it in another mail.

Emerson

[EMAIL PROTECTED] wrote:

Hello,

I decided to try the new mod_jk2 today.  I put all the files in the
right place, but fot this error when starting up httpd:
Starting httpd: Syntax error on line 5 of /etc/httpd/conf.d/jk2.conf:
Cannot load /etc/httpd/modules/mod_jk2.so into server: 
/etc/httpd/modules/mod_jk2.so: undefined symbol: apr_socket_send

has anyone seen this or know what I have done wrong?

Thanks,
Devin




--
Emerson Cargnin
Analista de Sistemas
Setor de Desenvolvimento de Sistemas - TRE-SC
tel : (048) - 251-3700 - Ramal 3181
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


--
Emerson Cargnin
Analista de Sistemas
Setor de Desenvolvimento de Sistemas - TRE-SC
tel : (048) - 251-3700 - Ramal 3181
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



--
Emerson Cargnin
Analista de Sistemas
Setor de Desenvolvimento de Sistemas - TRE-SC
tel : (048) - 251-3700 - Ramal 3181
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: problem with new 2.04 mod_jk2

2004-03-31 Thread Daniel Savard
Le mer 31/03/2004 à 16:24, [EMAIL PROTECTED] a écrit :
 I am using apache 2.0.40-21.9 (the default for redhat9) .  Does this
 version of apache not come with APR support?  I just installed apr 0.9.4
 from source, but httpd still complains about apr_socket_send.  I'm
 wondering...  do I need to link these apr libraries to apache somehow?
 
 thanks,
 devin

You don't need to link anything. They are shared libraries and symbols
are resolved at runtime. This is the reason it fails at runtime.

To see which libraries the module expect, just type:

ldd mod_jk2.so

You should get something like:

/usr/lib/libgdkxft.so = /usr/lib/libgdkxft.so (0x4002c000)
libgcc_s.so.1 = /usr/local/lib/libgcc_s.so.1 (0x40031000)
libc.so.6 = /lib/i686/libc.so.6 (0x40054000)
libgtk-1.2.so.0 = /usr/lib/libgtk-1.2.so.0 (0x4019)
libgdk-1.2.so.0 = /usr/lib/libgdk-1.2.so.0 (0x402be000)
libgmodule-1.2.so.0 = /usr/lib/libgmodule-1.2.so.0 (0x402f4000)
libglib-1.2.so.0 = /usr/lib/libglib-1.2.so.0 (0x402f7000)
libdl.so.2 = /lib/libdl.so.2 (0x4031b000)
libXi.so.6 = /usr/lib/libXi.so.6 (0x4031f000)
libXext.so.6 = /usr/lib/libXext.so.6 (0x40327000)
libX11.so.6 = /usr/lib/libX11.so.6 (0x40336000)
libm.so.6 = /lib/i686/libm.so.6 (0x4040)
libXft.so.1 = /usr/lib/libXft.so.1 (0x40423000)
/lib/ld-linux.so.2 = /lib/ld-linux.so.2 (0x8000)
libXrender.so.1 = /usr/lib/libXrender.so.1 (0x4044d000)
libfreetype.so.6 = /usr/lib/libfreetype.so.6 (0x40452000)
libz.so.1 = /usr/lib/libz.so.1 (0x404a3000)

Try to run ldconfig -v as root, it will rebuild the cache
/etc/ld.so.cache. The problem may be your library is located somewhere
out of reach of the directories specified in /etc/ld.so.conf. If it is
the case, add you directory in /etc/ld.so.conf before running ldconfig
-v.

 
-- 

===
Daniel Savard
Consultation Informatique Daniel Savard
551, boul. Sir-Wilfrid-Laurier
suite 105
Beloeil, (Québec)
Canada J3G 4J1

Tél: (450) 467-8014
Internet: [EMAIL PROTECTED]
===



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: problem with new 2.04 mod_jk2

2004-03-31 Thread E Cunningham

add libapr.dll or .so to your LD_LIBRARY_PATH?
e

--- [EMAIL PROTECTED] wrote:
 Hello,
 
 I decided to try the new mod_jk2 today.  I put all
 the files in the
 right place, but fot this error when starting up
 httpd:
 
 Starting httpd: Syntax error on line 5 of
 /etc/httpd/conf.d/jk2.conf:
 Cannot load /etc/httpd/modules/mod_jk2.so into
 server: 
 /etc/httpd/modules/mod_jk2.so: undefined symbol:
 apr_socket_send
 
 has anyone seen this or know what I have done wrong?
 
 Thanks,
 Devin


__
Do you Yahoo!?
Yahoo! Small Business $15K Web Design Giveaway 
http://promotions.yahoo.com/design_giveaway/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: problem with new 2.04 mod_jk2

2004-03-31 Thread Daniel Savard
Le mer 31/03/2004 à 22:07, E Cunningham a écrit :
 
 add libapr.dll or .so to your LD_LIBRARY_PATH?
 e
 
 --- [EMAIL PROTECTED] wrote:
  Hello,
  
  I decided to try the new mod_jk2 today.  I put all
  the files in the
  right place, but fot this error when starting up
  httpd:
  
  Starting httpd: Syntax error on line 5 of
  /etc/httpd/conf.d/jk2.conf:
  Cannot load /etc/httpd/modules/mod_jk2.so into
  server: 
  /etc/httpd/modules/mod_jk2.so: undefined symbol:
  apr_socket_send
  
  has anyone seen this or know what I have done wrong?
  
  Thanks,
  Devin
 
 
 __
 Do you Yahoo!?
 Yahoo! Small Business $15K Web Design Giveaway 
 http://promotions.yahoo.com/design_giveaway/
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 

Well, you may get more than just symbols in the apr library unresolved
at runtime. The error you got is for the first unresolved symbol
encountered at runtime. But, anyway, starting with the APR library is
probably good.

It's definitely a .so file, I assume you are on a Linux or Unix variant
system. Adding the library path to the LD_LIBRARY_PATH may worth
trying...

Personnally, I didn't get this problem with 2.0.4, since I am still with
2.0.2, but I got the same problem with 2.0.2 and I rebuilt the module
after correcting a buggy Makefile. But, anyway, the symptoms you
described are definitely pointing to something like: The module cannot
find the library, even if you know the library is effectively installed
on your system. So, the problem is the loader cannot find the library
with the information it has. I am not sure if LD_LIBRARY_PATH, or even
the ld.so.conf follow by ldconfig, will be enough to correct the problem
because I don't know if there is a way to force the module to look only
at specific directories determined at compile time, even if it is shared
libraries.

Your last solution is to build yourself the module.

-- 

===
Daniel Savard
Consultation Informatique Daniel Savard
551, boul. Sir-Wilfrid-Laurier
suite 105
Beloeil, (Québec)
Canada J3G 4J1

Tél: (450) 467-8014
Internet: [EMAIL PROTECTED]
===



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: problem with new 2.04 mod_jk2

2004-03-31 Thread admin
Daniel,
thanks for the suggestions - i've replied below...
You don't need to link anything. They are shared libraries and symbols
are resolved at runtime. This is the reason it fails at runtime.
To see which libraries the module expect, just type:

ldd mod_jk2.so

You should get something like:

/usr/lib/libgdkxft.so = /usr/lib/libgdkxft.so (0x4002c000)
libgcc_s.so.1 = /usr/local/lib/libgcc_s.so.1 (0x40031000)
libc.so.6 = /lib/i686/libc.so.6 (0x40054000)
libgtk-1.2.so.0 = /usr/lib/libgtk-1.2.so.0 (0x4019)
libgdk-1.2.so.0 = /usr/lib/libgdk-1.2.so.0 (0x402be000)
libgmodule-1.2.so.0 = /usr/lib/libgmodule-1.2.so.0 (0x402f4000)
libglib-1.2.so.0 = /usr/lib/libglib-1.2.so.0 (0x402f7000)
libdl.so.2 = /lib/libdl.so.2 (0x4031b000)
libXi.so.6 = /usr/lib/libXi.so.6 (0x4031f000)
libXext.so.6 = /usr/lib/libXext.so.6 (0x40327000)
libX11.so.6 = /usr/lib/libX11.so.6 (0x40336000)
libm.so.6 = /lib/i686/libm.so.6 (0x4040)
libXft.so.1 = /usr/lib/libXft.so.1 (0x40423000)
/lib/ld-linux.so.2 = /lib/ld-linux.so.2 (0x8000)
libXrender.so.1 = /usr/lib/libXrender.so.1 (0x4044d000)
libfreetype.so.6 = /usr/lib/libfreetype.so.6 (0x40452000)
libz.so.1 = /usr/lib/libz.so.1 (0x404a3000)
actually, when I ran ldd mod_jk2.so it outputted:
libc.so.6 = /lib/tls/libc.so.6 (0x4200)
/lib/ld-linux.so.2 = /lib/ld-linux.so.2 (0x8000)
Is it strange that it only requires 2?  for curiosity's sake, i also ran
ldd on the old mod_jk2.so file, and it also showed the same 2 files as
the new one.  I found that to be odd.

Try to run ldconfig -v as root, it will rebuild the cache
/etc/ld.so.cache. The problem may be your library is located somewhere
out of reach of the directories specified in /etc/ld.so.conf. If it is
the case, add you directory in /etc/ld.so.conf before running ldconfig
I added the location of the newly compiled apr libs to my /etc/ld.so.conf file,
and then ran the ldconfig -v as root.  I then tried to start apache, 
but got the
same error as before: Cannot load /etc/httpd/modules/mod_jk2.so into 
server: /etc/httpd/modules/mod_jk2.so: undefined symbol: 
apr_socket_send

In the 2.04 jk2 binary DL, it came with another lib file 
libjkjni.so, which was
inside of the modules folder with the mod_jk2.so file.  Is it 
possible that it is
relying on this lib, and this lib isn't being loaded, etc?

thanks,
devin
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: problem with new 2.04 mod_jk2

2004-03-31 Thread admin
add libapr.dll or .so to your LD_LIBRARY_PATH?
e


I tried that, same error!

fyi, this is on redhat 9.

thanks,
devin
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]