Expect library is not linked to tcl

Bug #885152 reported by AzaToth
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
expect (Debian)
Fix Released
Unknown
expect (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

libexpect.so is not linked to tcl8.5 (is reported in the buildlog), and thus it's impossible to link to the expect library, getting errors like:
/usr/lib/gcc/x86_64-linux-gnu/4.6.1/../../../../lib/libexpect.so: undefined reference to `Tcl_ErrnoMsg'
/usr/lib/gcc/x86_64-linux-gnu/4.6.1/../../../../lib/libexpect.so: undefined reference to `Tcl_Alloc'
/usr/lib/gcc/x86_64-linux-gnu/4.6.1/../../../../lib/libexpect.so: undefined reference to `Tcl_Free'

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: expect-dev 5.45-1
ProcVersionSignature: Ubuntu 3.0.0-12.20-generic 3.0.4
Uname: Linux 3.0.0-12-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 1.23-0ubuntu4
Architecture: amd64
Date: Wed Nov 2 12:02:01 2011
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
ProcEnviron:
 LANGUAGE=sv_SE:en
 PATH=(custom, user)
 LANG=en_GB.UTF-8
 LC_MESSAGES=sv_SE.UTF-8
 SHELL=/bin/bash
SourcePackage: expect
UpgradeStatus: Upgraded to oneiric on 2011-10-06 (26 days ago)

Revision history for this message
AzaToth (azatoth-gmail) wrote :
Julian Taylor (jtaylor)
Changed in expect (Ubuntu):
status: New → Confirmed
Revision history for this message
Julian Taylor (jtaylor) wrote :

you can work around this issue by disabling as-needed

gcc whatever.c -Wl,--no-as-needed -lexpect

Changed in expect (Debian):
status: Unknown → New
Changed in expect (Debian):
status: New → Incomplete
Changed in expect (Debian):
status: Incomplete → Fix Released
Revision history for this message
Dave Walker (davewalker) wrote :

The forwarded issue has been closed in the Debian bug tracker.

@jtaylor, Does this mean that it is also Invalid in Ubuntu?

Thanks.

Changed in expect (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Julian Taylor (jtaylor) wrote :

as this is easily solved and it is documented I don't think this is reason enough to deviate from debian.
Marking it invalid.

Changed in expect (Ubuntu):
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.