title: Ubuntu 12.10 - Cannot find -ltcl when I compile my C++ program
body: <p>I am working on a C++ project and I need to use libtcl.
  I am running Ubuntu 12.10 32bits and there is a problem when I try to compile my files :</p>
  
  <pre><code>g++ -o executable executable.o -L/usr/share/tcltk -lncurses -ltcl
  /usr/bin/ld: cannot find -ltcl
  </code></pre>
  
  <p>libncurses is found but not libtcl...
  Do you have any idea?</p>
  
  <p>I have seen that libtcl8.4.so.0 libtcl8.5.so.0 exist in /usr/lib</p>
  
  <p>The makefile that I am using looks like this :</p>
  
  <pre><code>CC = g++
  CFLAGS = -g
  LDFLAGS =
  EXEC = executable
  LIB = -L/usr/share/tcltk -lncurses -ltcl
  
  all: executable
  
  executable: executable.o
      $(CC) $(LDFLAGS) -o $(EXEC) executable.o $(LIB)
  
  executable.o: executable.cpp
      $(CC) $(CFLAGS) -c executable.cpp
  
  clean:
      rm -f executable executable.o
  </code></pre>
  
  <p>Thanks</p>