On Tue, Jan 3, 2012 at 9:41 PM, Tilsley, Jerry M.
<jmtils...@st-claire.org>wrote:

> /usr/bin/ld: cannot find -ltcl8.4.12
> collect2: ld returned 1 exit status
> make: *** [libsqlite3.7.9.so] Error 1
>
> I do have the correct version:
>
> tcl>echo $tcl_patchLevel
> 8.4.12
>

The version might be right, but -ltcl8.4.12 expects to find a file named
libtcl8.4.12.so (or libtcl8.4.12.a) and is not finding it. On your system
it is probably called libtcl.so or libtcl8.so or libtcl8.4.so, or something
along those lines. e.g.

stephan@tiny ~ $ l /usr/lib/libtcl8.4*
-rw-r--r-- 1 root root 726308 Feb 25  2011 /usr/lib/libtcl8.4.so.0

As a quick workaround, you can simply create a symlink to it, e.g.:

# sudo su -
# cd /usr/lib
# ln -s libtcl8.4.so libtcl8.4.12.so

that is of course philosophically arguable, but it might get your build
working.


-- 
----- stephan beal
http://wanderinghorse.net/home/stephan/
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to