Professional Web Applications Themes

Dynamic libraries and install paths - Mac Programming

A question that I've never taken the time to research, and I wonder if anyone knows the answer off the top of their head. When creating dynamic libraries or frameworks in CodeWarrior or Project Builder, one must specify the install_path of where the library will be installed. If the library is not found at that location (or in one of the standard system locations), the application will refuse to run. However, if you compile a typical Unix dynamic library, say from an open source project for instance, the install_path is not specified (to my knowledge). Does anyone know why the ...

  1. #1

    Default Dynamic libraries and install paths

    A question that I've never taken the time to research, and I wonder if
    anyone knows the answer off the top of their head.

    When creating dynamic libraries or frameworks in CodeWarrior or Project
    Builder, one must specify the install_path of where the library will be
    installed. If the library is not found at that location (or in one of
    the standard system locations), the application will refuse to run.

    However, if you compile a typical Unix dynamic library, say from an
    open source project for instance, the install_path is not specified (to
    my knowledge).

    Does anyone know why the difference exists?

    Wade
    Wade Guest

  2. #2

    Default Re: Dynamic libraries and install paths

    In article <181020030023310584%spam.dogwatchsw.com>,
    Wade Williams <spam.dogwatchsw.com> wrote:
     

    The difference exists because unix shared libraries can only be found in a fixed
    number of places, as determined by the LDPATH environment variable, whereas Mac
    OS X shared objects (frameworks etc) can be found in any place, as long as the
    path in the framework itself is configured correctly. This puts the decision
    about the install path of the framework in the hands of the developer, rather
    than in the hands of whoever decides the default calue for LDPATH (usually OS
    vendor and administrator).

    meeroh
    --
    Last edited by Ramesh; September 28th at 06:16 AM.
    Miro Guest

Similar Threads

  1. SDL libraries dont install on Solaris 9 Ultra 5
    By Ghazan Haider in forum Sun Solaris
    Replies: 10
    Last Post: September 18th, 10:05 PM
  2. Event processing and dynamic libraries
    By Kalani Thielen in forum Mac Programming
    Replies: 0
    Last Post: August 14th, 04:21 PM
  3. #16053 [Com]: Unable to Load Dynamic Libraries
    By iandbigejunk at yahoo dot com in forum PHP Development
    Replies: 1
    Last Post: August 14th, 05:47 AM
  4. dynamic libraries, libtool
    By OSX User in forum Mac Programming
    Replies: 1
    Last Post: August 2nd, 07:25 PM
  5. Dynamic cast libraries
    By Stephen Whipp in forum Macromedia Director Lingo
    Replies: 2
    Last Post: July 30th, 10:01 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139