Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 9358f4c9916c22fd2b5d1fbf603979b810b26805
Ticket: 1204237fffffffffffffffffffffffffffffffff
load command in HP (shl_load) picks wrong version of library
User & Date: dwcollins on 2005-05-31 18:02:45
Changes

  1. icomment:
    Logged In: YES 
    user_id=1093010
    
    I thought that was what the +s option on the linker was for 
    though? Each binary and shared library has a flag that 
    defines whether it uses SHLIB_PATH or has embedded 
    paths to find associated libraries
    
    manpage for shl_load states:
    DYNAMIC_PATH:  Allow the loader to dynamically search for 
    the library specified by the path argument.
    The directories to be searched are determined by the +s and 
    +b options of the ld command used when the program was 
    linked.
    
    That suggests to me that if we are giving it a complete path, 
    we don't need the flag, it only becomes useful if we give it a 
    partial path.
    
    I don't claim to be an expert on HP's loading policies, it just 
    seems odd that the end-user behaviour is different on HP 
    than on Solaris for example.
    
    Feel free to downgrade the priority, its quite a low priority 
    thing, I'd just feel happier if the behaviour was consistent 
    across the platforms.
    
    
    
  2. login: "dwcollins"
  3. mimetype: "text/plain"
  4. status changed to: "Open"
  5. username: "dwcollins"