tcl-rivet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dav...@dedasys.com (David N. Welton)
Subject Re: package require ***
Date Wed, 15 Jan 2003 23:47:06 GMT
"Jeff Rankin" <jrankin@oneil.com> writes:

> It looks like the answer lay in my $auto_path, which is:

> /home/jrankin/apache/rivet/rivet-tcl /usr/sfw/lib/tcl8.3 /usr/sfw/lib ./lib
> /home/jrankin/apache/rivet/packages
> /home/jrankin/apache/rivet/packages-local .

> It appears that it's using the lib directories for the wrong tcl. I
> want it to use /usr/local/ActiveTcl/lib, and it's using the default
> libs that came with solaris 9 (/usr/sfw/lib). I verified that I
> could access libraries in that dir without errors.

Aha!

> I'm confused in that I know it used ActiveTcl when I compiled. I
> guess the only issue now is how to 'tell' Rivet to include the
> proper lib directory.  As usual, help would be appreciated.

Does it link to activetcl?  On Linux, I do this to get that
information:

@ashland [~/workshop/tcl-rivet/src] $ ldd mod_rivet.so
        libtcl8.4.so.0 => /usr/lib/libtcl8.4.so.0 (0x6fef3000)
        libdl.so.2 => /lib/libdl.so.2 (0x6fed0000)
        libm.so.6 => /lib/libm.so.6 (0x6fe39000)
        libcrypt.so.1 => /lib/libcrypt.so.1 (0x6fded000)
        libc.so.6 => /lib/libc.so.6 (0x6fc92000)
        /lib/ld.so.1 => /lib/ld.so.1 (0x08000000)

If it's picking up the wrong one... hrm.  Well, let's see if it is,
then we can deal with it.  On Linux, you can set LD_LIBRARY_PATH to
make it choose a different lib, for instance.

-- 
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


Mime
View raw message