Re: /usr/bin/ld: cannot find -ltcl
On Sun, 16 Mar 2003 16:16:58 -0800, Eric G. Miller wrote:
> On Sun, Mar 16, 2003 at 06:23:24PM -0500, Patrick Wiseman wrote:
> > Hi, all:
> >
> > I'm trying to compile a program - not mine, I'm not a C programmer - which
> > wants tcl. At first, it couldn't find tcl.h, but I supplied the full path
> > (I know, that's not really kosher) and it got past that error. Now, I get
> > the subject error. In context, it looks so:
> >
> > # make
> > gcc tcldtk.o -ltts -ltts_us -ltcl -shared -o tcldtk.so
> > /usr/bin/ld: cannot find -ltcl
> > collect2: ld returned 1 exit status
> > make: *** [tcldtk.so] Error 1
> >
> > I have /usr/lib/tcl8.0, 8.0jp, 8.2, 8.3 and tclX8.0.4. Maybe that's the
> > problem?
> >
> > Any suggestions?
>
> For the includes:
>
> -I/usr/include/tcl8.3
>
> For the library:
>
> -ltcl8.3
That may be a workaround in this case, but generally:
How do I get
/usr/include/tcl.h
and
/usr/lib/libtcl.{a,so*}
via a "Debian-official" method?
Am I supposed to do an "alternative" or "diversion" (or whatever) myself?
I'd consider that a bug then - Debian should provide a way to get the
two files *from an official package*. Or if there is a reason for them
missing - what is the reason? - it should be documented in the packages
then.
Can anyone help here?
Lutz
Reply to: