ltcl84 not found
Brought to you by:
msobczak
Hi
I'm kinda new to Linux and I'm having a problem on
compiling a program with cpptk.
this is what I do and the output of the system:
g++ example1.cc cpptk.cc base/cpptkbase.cc -o myprog
-I/usr/lib/tcl8.4 -I/usr/lib/tk8.4 -I/usr/X11R6/include
-I/usr/local/include/boost-1_33 -L/usr/lib -ltcl84
-ltk84 -pthread
/usr/lib/gcc-lib/i486-slackware-linux/3.3.4/../../../../i486-slackware-linux/bin/ld:
cannot find -ltcl84
collect2: ld returned 1 exit status
Thanks
Rafael Sartor
rafaelmsartor@gmail.com
Logged In: YES
user_id=736047
Please, check if Tcl and Tk libraries on your system are
named as libtcl84 and libtk84.
It is possible, that those libs have quite different names,
e.g. on Ubuntu 5.10 their names are:
/usr/lib/libtcl8.4.so
/usr/lib/libtk8.4.so
(See the dot in 8.4)
and here I link with:
-ltk8.4 and -ltcl8.4
Cheers
Mateusz