Bug 333091 - Programs linked with tktable cannot find the libraries
Programs linked with tktable cannot find the libraries
Status: CLOSED NOTABUG
Product: Fedora
Classification: Fedora
Component: tktable (Show other bugs)
7
All Linux
low Severity low
: ---
: ---
Assigned To: Jean-Luc Fontaine
Fedora Extras Quality Assurance
: Reopened
Depends On:
Blocks: 352761
  Show dependency treegraph
 
Reported: 2007-10-15 16:38 EDT by Sergio Pascual
Modified: 2007-11-30 17:12 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2007-10-28 19:03:52 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Sergio Pascual 2007-10-15 16:38:39 EDT
Description of problem:
Programs compiled with tktable don't find the libraries after compiling, because
the libraries aren't in the ldconfig search path. The package should add a file
in /etc/ld.so.conf.d

Version-Release number of selected component (if applicable):
tktable-2.9-9.fc6

How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:
Comment 1 Jean-Luc Fontaine 2007-10-18 07:10:06 EDT
tcl itself has no entry in /etc/ld.so.conf.d
Comment 2 Sergio Pascual 2007-10-18 07:34:29 EDT
But tcl library is in /usr/lib/libtk8.4.so 
It doesn't need an entry in /etc/ld.so.conf.d
Comment 3 Jean-Luc Fontaine 2007-10-24 02:35:53 EDT
I see tktable as a tcl package. Which rpm requires it as a C library?
Comment 4 Sergio Pascual 2007-10-24 04:31:16 EDT
I'm trying to package this software: http://hea-www.harvard.edu/RD/ds9/
I has a C++ source program that loads the tcl libraries and mixes them with
C/C++ code. It uses C code to load the libraries
  // Blt
  if (Blt_Init(interp) == TCL_ERROR)
    return TCL_ERROR;
  Tcl_StaticPackage (interp, "BLT", Blt_Init,
                     (Tcl_PackageInitProc*)NULL);

  // Tktable
  if (Tktable_Init(interp) == TCL_ERROR)
    return TCL_ERROR;
  Tcl_StaticPackage (interp, "Tktable", Tktable_Init,
                     (Tcl_PackageInitProc*)NULL);

  // Other tcl packages follow

Comment 5 Jean-Luc Fontaine 2007-10-24 05:00:43 EDT
I understand now. You may want to try to replace Tcl_StaticPackage by
Tcl_PkgRequire(interp, name, version, exact) since I no longer have the
resources to maintain tktable and blt rpms. If you know somebody who wants to
take over...
Comment 6 Sergio Pascual 2007-10-25 13:34:09 EDT
I will frop you an email

Note You need to log in before you can comment on or make changes to this bug.