You are viewing a plain text version of this content. The canonical link for it is here.
Posted to rivet-dev@tcl.apache.org by fxper <fx...@yahoo.com> on 2003/07/24 19:28:44 UTC

mod_rivet.so unable to find libtcl8.4.so

Where should libtcl8.4.so be so that mod_rivet.so can
find it? This is apache 1.3.28 on Redhat 9

please cc: me in reply

Thx

[root@californiaclassics root]#
/usr/local/apache/bin/apachectl start
Syntax error on line 205 of
/usr/local/apache/conf/httpd.conf:
Cannot load /usr/local/apache/libexec/mod_rivet.so
into server:
libtcl8.4.so: cannot open shared object file: No such
file or directory
/usr/local/apache/bin/apachectl start: httpd could not
be started
[root@californiaclassics root]# locate libtcl8.4.so
/usr/local/lib/libtcl8.4.so

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: rivet-dev-unsubscribe@tcl.apache.org
For additional commands, e-mail: rivet-dev-help@tcl.apache.org


Re: mod_rivet.so unable to find libtcl8.4.so

Posted by "David N. Welton" <da...@dedasys.com>.
fxper <fx...@yahoo.com> writes:

> [root@californiaclassics root]# ldd
> /usr/local/apache/libexec/mod_rivet.so
>         libtcl8.4.so => not found
>         libdl.so.2 => /lib/libdl.so.2 (0x4001a000)
>         libm.so.6 => /lib/tls/libm.so.6 (0x4001e000)
>         libcrypt.so.1 => /lib/libcrypt.so.1
> (0x40041000)
>         libc.so.6 => /lib/tls/libc.so.6 (0x42000000)
>         /lib/ld-linux.so.2 => /lib/ld-linux.so.2
> (0x80000000)
> 
> My install didn't have TCL, so yes I installed it myself.

Well, it looks like /usr/local/lib isn't in your /etc/ld.so.conf file.

So, you have a couple of options.  As Holger rightly says, you can use
LD_LIBRARY_PATH=/usr/local/lib/ and that should make things work ok,
but you have to remember to always do it.

Another more permanent way of fixing things up would be to add
/usr/local/lib/ to ld.so.conf and then run ldconfig.  More information
in man ldconfig.

Try one of those and see if it fixes things...

-- 
David N. Welton
   Consulting: http://www.dedasys.com/
     Personal: http://www.dedasys.com/davidw/
Free Software: http://www.dedasys.com/freesoftware/
   Apache Tcl: http://tcl.apache.org/

---------------------------------------------------------------------
To unsubscribe, e-mail: rivet-dev-unsubscribe@tcl.apache.org
For additional commands, e-mail: rivet-dev-help@tcl.apache.org


Re: mod_rivet.so unable to find libtcl8.4.so

Posted by fxper <fx...@yahoo.com>.
--- "David N. Welton" <da...@dedasys.com> wrote:
> fxper <fx...@yahoo.com> writes:
> 
> > Where should libtcl8.4.so be so that mod_rivet.so
> can find it? This
> > is apache 1.3.28 on Redhat 9
> 
> > [root@californiaclassics root]#
> > /usr/local/apache/bin/apachectl start
> > Syntax error on line 205 of
> > /usr/local/apache/conf/httpd.conf:
> > Cannot load /usr/local/apache/libexec/mod_rivet.so
> > into server:
> > libtcl8.4.so: cannot open shared object file: No
> such
> > file or directory
> > /usr/local/apache/bin/apachectl start: httpd could
> not
> > be started
> > [root@californiaclassics root]# locate
> libtcl8.4.so
> > /usr/local/lib/libtcl8.4.so
> 
> Was Rivet compiled against that libtcl?
> 
> @ashland [~] $ ldd /usr/lib/apache/1.3/mod_rivet.so 
>         libtcl8.4.so.0 => /usr/lib/libtcl8.4.so.0
> (0x6fef7000)
> 
> Use ldd to have a look.
> 
> I take it that that is a tcl that you installed
> yourself - maybe to
> get around the broken one shipped with Redhat?

[root@californiaclassics root]# ldd
/usr/local/apache/libexec/mod_rivet.so
        libtcl8.4.so => not found
        libdl.so.2 => /lib/libdl.so.2 (0x4001a000)
        libm.so.6 => /lib/tls/libm.so.6 (0x4001e000)
        libcrypt.so.1 => /lib/libcrypt.so.1
(0x40041000)
        libc.so.6 => /lib/tls/libc.so.6 (0x42000000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2
(0x80000000)

My install didn't have TCL, so yes I installed it
myself. 


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: rivet-dev-unsubscribe@tcl.apache.org
For additional commands, e-mail: rivet-dev-help@tcl.apache.org


Re: mod_rivet.so unable to find libtcl8.4.so

Posted by "David N. Welton" <da...@dedasys.com>.
fxper <fx...@yahoo.com> writes:

> Where should libtcl8.4.so be so that mod_rivet.so can find it? This
> is apache 1.3.28 on Redhat 9

> [root@californiaclassics root]#
> /usr/local/apache/bin/apachectl start
> Syntax error on line 205 of
> /usr/local/apache/conf/httpd.conf:
> Cannot load /usr/local/apache/libexec/mod_rivet.so
> into server:
> libtcl8.4.so: cannot open shared object file: No such
> file or directory
> /usr/local/apache/bin/apachectl start: httpd could not
> be started
> [root@californiaclassics root]# locate libtcl8.4.so
> /usr/local/lib/libtcl8.4.so

Was Rivet compiled against that libtcl?

@ashland [~] $ ldd /usr/lib/apache/1.3/mod_rivet.so 
        libtcl8.4.so.0 => /usr/lib/libtcl8.4.so.0 (0x6fef7000)

Use ldd to have a look.

I take it that that is a tcl that you installed yourself - maybe to
get around the broken one shipped with Redhat?

-- 
David N. Welton
   Consulting: http://www.dedasys.com/
     Personal: http://www.dedasys.com/davidw/
Free Software: http://www.dedasys.com/freesoftware/
   Apache Tcl: http://tcl.apache.org/

---------------------------------------------------------------------
To unsubscribe, e-mail: rivet-dev-unsubscribe@tcl.apache.org
For additional commands, e-mail: rivet-dev-help@tcl.apache.org