Skip to content
Tcl Source Code History Of Ticket 1163896fffffffff
Login

History Of Ticket 1163896fffffffff

Artifacts Associated With Ticket 1163896fffffffff

  1. Ticket change [bacde0586c] (rid 129382) by heidibr on 2005-03-15 17:12:42:

    1. assignee initialized to: "kennykb"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      I'm trying to use dynamically linked Tcl/Tk (v.8.4.9) 
      libraries on a LynxOS version 4.0 operating system. I 
      can get the dynamically linked libraries to work using C 
      functions. But I can't get them to work in Tcl. 
       
       There is a sample extension that we've been trying to 
      use and we can get it to compile with the correct 
      parameters (as per Welch book),  but when we try 
      to "load" it we get:
      
      dynamic loading is not currently available on this system
       
       When we use any type of command for dynamic 
      loading we get this same message. Is there some global 
      that needs to be set for operating systems that are not 
      in your normal tcl.m4 checks?
      
      
    4. foundin initialized to: "obsolete: 8.4.9"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "heidibr"
    9. subsystem initialized to: "40. Dynamic Loading"
    10. title initialized to: "dynamic loading error on LynxOS"
    11. type initialized to: "Bug"
  2. Ticket change [c391772401] (rid 111685) by kennykb on 2005-03-16 00:44:53:

    1. resolution changed to: "Remind"
  3. Ticket change [08cb83213e] (rid 89621) by kennykb on 2005-03-16 00:44:54:

    1. icomment:
      Logged In: YES 
      user_id=99768
      
      Looking at tcl.m4, it appears that nobody has
      attempted a LynxOS port. 
      
      The [case] command that begins around line 890 of tcl.m4
      is the place where the options that control dynamic loading
      get set.  What needs to be added is a branch for
      LynxOS (or whatever 'uname -s' calls it) and code to
      set the flags:
      
      SHLIB_CFLAGS = Any extra compiler flags needed when building
      code to go in shared libraries (-fPIC, for instance)
      
      SHLIB_LD = The command to link a shared library (often ${CC}
      -shared)
      
      SHLIB_SUFFIX = The suffix for a shared library (.so for
      instance)
      
      SHLIB_LD_LIBS = The libraries to include when linking a
      shared library.
      
      DL_OBJS = Usually 'tclLoadDl.o' (use dlopen to load shared
      libraries).  HPUX, AIX, and Windows all do it differently, I
      hope we don't need to invent one for LynxOS
      
      DL_LIBS = The library (libraries) needed in the base
      executable for it to find 'dlopen'.
      
      CC_SEARCH_FLAGS, LD_SEARCH_FLAGS = Flags needed to adjust
      the runtime search path for shared libraries.  Often,
      CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
      and
      LD_SEARCH_FLAGS='-rpath,${LIB_RUNTIME_DIR}' 
      
      If you come up with a combination that works, I'll be happy
      to update the build system.  I don't have access to a LynxOS
      system for testing, so I'll have to take your patch on faith. :)
      
      
    2. login: "kennykb"
    3. mimetype: "text/plain"
    4. username: "kennykb"
  4. Ticket change [7bcf104ea1] (rid 96969) by kennykb on 2005-04-14 03:52:07:

    1. icomment:
      Logged In: YES 
      user_id=99768
      
      downgrading the priority of this until original
      submitter (or someone else) can tell us what
      the correct combination of flags should be.
      
      
    2. login: "kennykb"
    3. mimetype: "text/plain"
    4. priority changed to: "3 Low"
    5. username: "kennykb"
  5. Ticket change [c18ebd4de1] (rid 111340) by nobody on 2005-04-14 03:57:03:

    1. icomment:
      Logged In: NO 
      
      These aren't 100% thoroughly tested, but so far they are 
      working for us.
      
      In the tc.m4 file, around line 890, add in the following code:
      
      Lynx*)
          SHLIB_CFLAGS="-fPIC"
          SHLIB_LD_LIBS='${LIBS}'
          SHLIB_SUFFIX=".so"
          CFLAGS_OPTIMIZE=-02
          SHLIB_LD="${CC} -shared "
          DL_OBJS="tclLoadDl.o"
          DL_LIBS="-mshared -ldl"
          LD_FLAGS="-Wl,--export-dynamic"
          CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
          LD_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
          ;;
      
      
      
      
      
      
    2. login: "nobody"
    3. mimetype: "text/plain"
    4. username: "nobody"
  6. Ticket change [c9559c59c1] (rid 122266) by heidibr on 2005-04-14 03:58:32:

    1. icomment:
      Logged In: YES 
      user_id=1239152
      
      Hi Kennykb,
      
      I just added that last comment and forgot to log in first!
      
      Heidi
      
      
    2. login: "heidibr"
    3. mimetype: "text/plain"
    4. username: "heidibr"
  7. Ticket change [a83cd17149] (rid 98944) by kennykb on 2005-11-05 03:42:47:

    1. assignee changed to: "hobbs"
    2. icomment:
      Logged In: YES 
      user_id=99768
      
      Fixed in 8.5.  Jeff, can you backport into 8.4?
      
      
    3. login: "kennykb"
    4. mimetype: "text/plain"
    5. priority changed to: "8"
    6. username: "kennykb"
  8. Ticket change [0fb219ca02] (rid 94839) by dgp on 2005-11-05 04:40:27:

    1. status changed to: "Closed"
  9. Ticket change [58e44e43dd] (rid 117878) by dgp on 2005-11-05 04:40:28:

    1. assignee changed to: "dgp"
    2. closedate changed to: "2005-11-04T21:40:28"
    3. closer changed to: "dgp"
    4. icomment:
      Logged In: YES 
      user_id=80530
      
      
      backported for 8.4.12
      
      
    5. login: "dgp"
    6. mimetype: "text/plain"
    7. resolution changed to: "Accepted"
    8. username: "dgp"