Dear Marco,
this is the first quick message. Massimo may answer with more knowledge.

When compiling rivet, the tcl version (e.g. the libtcl.8.5.so) is fixed
by the linker.
Ways to switch:
- ln -s /usr/lib(64)/libtcl.8.6.so /usr/lib(64)/libtcl.8.5.so
  -> does not work for you, as you have both installed
- recompile rivet with the tcl8.6 tcl folder which contains
"tclConfig.sh" which gives the library name.

In my case, this was (on CentOS 64):
./configure --with-tcl=/usr/local/lib64 --with-apxs=/usr/sbin/apxs
--with-tclsh=/usr/local/bin/tclsh8.6 --with-apache-version=2
--with-rivet-target-dir=/usr/local/lib64/rivet --enable-version-display
make
make install
Additional hints on:
wiki.tcl.tk/rivet

Hope this helps,
Harald

Am 20.10.2012 17:21, schrieb Marco Pallante:
> Hello everyone,
> 
> This is my first message to the list, so please forgive me if there is an 
> answer
> somewhere else, but I didn't find it.
> 
> I'm just trying Rivet 2.0.5 on a Debian machine, using the official
> packages, and
> I've both Tcl 8.5 and 8.6 installed on it, the former from the sid
> repos, and the
> latter from the experimental.
> 
> I'd like to use Rivet with Tcl8.6, but if I try <? puts $tcl_version"
> ?>, I get 8.5
> as result. ldd on librivet.so gives libtcl8.5.so.0 as requisite, so I
> wonder if there
> is a way to choose between 8.6 and 8.5 at runtime, or I need to recompile 
> Rivet.
> 
> Thank you very much,
> 
> Marco Pallante
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: rivet-dev-unsubscr...@tcl.apache.org
> For additional commands, e-mail: rivet-dev-h...@tcl.apache.org
> 


-- 
ELMICRON Dr. Harald Oehlmann GmbH
Koesener Str. 85
D - 06618 Naumburg
Phone: +49 (0)3445 78112 0
Fax: +49 (0)3445 78112 19
www.Elmicron.de
German legal references:
Geschaeftsfuehrer: Dr. Harald Oehlmann, Jens Oehlmann
UST Nr. / VAT ID No.: DE206105272
HRB 212803 Stendal

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

Reply via email to