You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by David Orriss Jr <da...@tx3.net> on 2002/12/31 22:53:10 UTC

Jakarta Connectors build error

Hi,

When I try to build the libjkjni.so library I'm getting this set messages/errors:

 -lcrypt -L/usr/local/apache2/lib -lapr  -Wl,-soname -Wl,libjkjni.so -o
.libs/libjkjni.so
       [so] StdErr:
       [so] /usr/bin/ld: cannot find -lapr
       [so] collect2: ld returned 1 exit status

BUILD FAILED
file:/home/davidjr/downloads/jakarta-tomcat-connectors-4.1.18-src/jk/native2/build.xml:341:
Link failed libjkjni


Suggestions would be most appreciated.  I'm really stumped as to why it can't
find this apr library.  FWIW, my Apache 2 installation is in /usr/local/apache2
and tomcat 4.1 is in /usr/local/jakarta-tomcat-4.1.18/

Thanks.




-- 


David Orriss Jr.
dave@davenet.net
http://www.davenet.net

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


TOMCAT Not listening on 80

Posted by Vivek Singh <vi...@wipro.com>.
Hi,

             I did exactly as in the John Turner's website, Apache
1.3.27 with mod_jk and tomcat 4.1.18. To sum up here is what is
happening 

  1. I already have a Bugzilla running on my server at port80. Can't
stop it
  2. At port 8080 I can see Tomcat listening. I need it on 80 ( Apache
is running here)


Can anyone help me?


  Thanks a lot in Advance and thanks John mail for Host Container
clarifications


~Vivek

   

 


Re: Jakarta Connectors build error

Posted by Jean-Luc BEAUDET <be...@cyber.kodak.com>.
Well, it seems yu've got some pbs with apr.

I use to work with Apache 1.3.26, not Apache 2.x.
It seems that Apache 2 is build including apr
This is an excerpt of the build.properties.sample.
# APR location - by default the version included in Apache2 is used.
# Don't edit unless you install 'standalone' apr.
apr.home=${apache2.home}

It seems that apr is well included. Just have it verified.
If not, just download and install apr-0.9.1 in the ./jk2 directory - 
from where yu try to compile -

BTW Can you be more precise about the way yu compile install?
I mean ./buildconf.sh and ./configure ???

HTH.

:O) Jean-Luc B

David Orriss Jr wrote:

>Hi,
>
>When I try to build the libjkjni.so library I'm getting this set messages/errors:
>
> -lcrypt -L/usr/local/apache2/lib -lapr  -Wl,-soname -Wl,libjkjni.so -o
>.libs/libjkjni.so
>       [so] StdErr:
>       [so] /usr/bin/ld: cannot find -lapr
>       [so] collect2: ld returned 1 exit status
>
>BUILD FAILED
>file:/home/davidjr/downloads/jakarta-tomcat-connectors-4.1.18-src/jk/native2/build.xml:341:
>Link failed libjkjni
>
>
>Suggestions would be most appreciated.  I'm really stumped as to why it can't
>find this apr library.  FWIW, my Apache 2 installation is in /usr/local/apache2
>and tomcat 4.1 is in /usr/local/jakarta-tomcat-4.1.18/
>
>Thanks.
>
>
>
>



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>