Hi Konstantin,

You are right - my java is 32bit. So that is the probelm in compilation of APR?

JF
______________________________________________________________
> Od: "Konstantin Kolinko" <knst.koli...@gmail.com>
> Komu: Tomcat Users List <users@tomcat.apache.org>
> Datum: 13.04.2011 14:15
> Předmět: Re: Problem with Apache Portable Runtime (APR) based Native library 
> for Tomcat
>
>"/lib64/*" -- is your Java 64-bit as well?
>
>I guess yours is 32-bit, because version.sh printed
>Architecture:   x86
>
>2011/4/13 Jaroslav Fikker <fik...@atlas.cz>:
>>
>> Hi,
>>
>> There is output of ldd command:
>>
>> ldd /opt/tomcat_6_0/lib/libtcnative-1.so
>>        linux-vdso.so.1 =>  (0x00007fff4a5d9000)
>>        libssl.so.6 => /lib64/libssl.so.6 (0x00002ad6f40ad000)
>>        libcrypto.so.6 => /lib64/libcrypto.so.6 (0x00002ad6f42fa000)
>>        libapr-1.so.0 => /usr/lib64/libapr-1.so.0 (0x00002ad6f464b000)
>>        libpthread.so.0 => /lib64/libpthread.so.0 (0x00002ad6f4872000)
>>        libdl.so.2 => /lib64/libdl.so.2 (0x00002ad6f4a8e000)
>>        libc.so.6 => /lib64/libc.so.6 (0x00002ad6f4c92000)
>>        libgssapi_krb5.so.2 => /usr/lib64/libgssapi_krb5.so.2 
>> (0x00002ad6f4fea000)
>>        libkrb5.so.3 => /usr/lib64/libkrb5.so.3 (0x00002ad6f5219000)
>>        libcom_err.so.2 => /lib64/libcom_err.so.2 (0x00002ad6f54ae000)
>>        libk5crypto.so.3 => /usr/lib64/libk5crypto.so.3 (0x00002ad6f56b0000)
>>        libz.so.1 => /usr/lib64/libz.so.1 (0x00002ad6f58d6000)
>>        libuuid.so.1 => /lib64/libuuid.so.1 (0x00002ad6f5aea000)
>>        libcrypt.so.1 => /lib64/libcrypt.so.1 (0x00002ad6f5cee000)
>>        /lib64/ld-linux-x86-64.so.2 (0x000000349dc00000)
>>        libkrb5support.so.0 => /usr/lib64/libkrb5support.so.0 
>> (0x00002ad6f5f27000)
>>        libkeyutils.so.1 => /lib64/libkeyutils.so.1 (0x00002ad6f612f000)
>>        libresolv.so.2 => /lib64/libresolv.so.2 (0x00002ad6f6331000)
>>        libselinux.so.1 => /lib64/libselinux.so.1 (0x00002ad6f6547000)
>>        libsepol.so.1 => /lib64/libsepol.so.1 (0x00002ad6f675f000)
>>
>> It seems that all is OK.
>>
>> Jarda
>>
>> ______________________________________________________________
>>> Od: "Mladen Turk" <mt...@apache.org>
>>> Komu: Tomcat Users List <users@tomcat.apache.org>
>>> Datum: 13.04.2011 09:18
>>> Předmět: Re: Problem with Apache Portable Runtime (APR) based Native 
>>> library for Tomcat
>>>
>>>On 04/13/2011 07:14 AM, Jaroslav Fikker wrote:
>>>>
>>>> Hi,
>>>>
>>>> I also create /opt/tomcat_6_0/bin/setenv.sh file with this content:
>>>> LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$CATALINA_HOME/lib
>>>> export LD_LIBRARY_PATH
>>>>
>>>> But when I start server with startup.sh script I can find next warning 
>>>> incatalina.out file (but Tomcat application server runs and works):
>>>> Apr 11, 2011 8:44:15 AM org.apache.catalina.core.AprLifecycleListener init
>>>> INFO: The APR based Apache Tomcat Native library which allows 
>>>> optimalperformance in production environments was not found on the 
>>>> java.library.path:/usr/lib/jvm/java-1.6.0-ibm-1.6.0.9.1/jre/lib/i38
>>>> 6::/opt/tomcat_6_0/lib:/usr/lib
>>>>
>>>> Where could be a problem? Thank you very much for your help.
>>>>
>>>> What is the output of "ls /opt/tomcat_6_0/lib" ?
>>>>
>>>
>>>$ LD_LIBRARY_PATH=$CATALINA_HOME/lib:$LD_LIBRARY_PATH
>>>$ export LD_LIBRARY_PATH
>>>$ ldd /opt/tomcat_6_0/lib/libtcnative-1.so
>>>
>>>Make sure there are no unresolved references.
>>>
>>>
>>>Regards
>>>--
>>>^TM
>>>
>>>---------------------------------------------------------------------
>>>To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
>>>For additional commands, e-mail: users-h...@tomcat.apache.org
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
>> For additional commands, e-mail: users-h...@tomcat.apache.org
>>
>>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
>For additional commands, e-mail: users-h...@tomcat.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to