I've managed to solve it. I needed to set an environment variable as follows:

LD_LIBRARY_PATH="/usr/local/lib"

Dave

> -----Original Message-----
> From: Jørgen Nørgaard [mailto:[EMAIL PROTECTED] 
> Sent: Friday, August 01, 2003 2:28 PM
> To: Tomcat Users List
> Subject: Re: Building mod_jk.so
> 
> 
> 
> Look like a library is missing, so just a thought: has apache been 
> built with gcc so it uses gnu libraries?
> 
> 
> 
> >Right, I am trying to build mod_jk 1.2.4 on Solaris 9. It seems to 
> >build okay but I get an error when apache tries to start up.
> >
> >I'll detail the steps I've taken and the error I get.
> >
> >1. Installed the following GNU packages: make, automake, 
> autoconf, m4, 
> >libtools (they came as Solaris packages, which I have simply run 
> >"pkgadd -d" on. I haven't set an environment variables for them, not 
> >sure if I should have done?) 2. Set TOMCAT_HOME and CATALINA_HOME to 
> >point to my tomcat directory (which was installed from a binary)
> >3. Set JAVA_HOME to point to the jdk
> >4. Unpacked the jakarta-tomcat-connectors-jk-1.2.4-src.tar.
> >5. Changed into the jk/native directory
> >6. ./buildconf.sh (no errors)
> >7. ./configure --with-apxs=/software/web/apache/bin/apxs (no errors)
> >8. make (no errors)
> >
> >This leaves me with a mod_jk.so file in the apache-1.3 
> directory, which 
> >I copy into my APACHE_HOME/libexec directory.
> >
> >When I try to start apache I get the following error (I've 
> replaced the 
> >full path with APACHE_HOME to make it easier to read):
> >
> >Syntax error on line 206 of APACHE_HOME/conf/httpd.conf
> >Cannot load APACHE_HOME/libexec/mod_jk.so into server: ld.so.1:
> >APACHE_HOME/bin/httpd: fatal: libgcc_s.so.1: open failed: No 
> such file 
> >or directory
> >
> >Can anyone offer any advice?
> >
> 
> -- 
> /jørgen nørgaard
> SmartTV A/S
> [EMAIL PROTECTED]
> Phone: +45 3332 5770
> http://smarttv.dk/
> 
> ---------------------------------------------------------------------
> 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]

Reply via email to