[prev in list] [next in list] [prev in thread] [next in thread] 

List:       haiku-bugs
Subject:    [haiku-bugs] Re: [Haiku] #12184: 'setarch x86' doesn't change LIBRARY_PATH
From:       "pulkomandy" <trac () haiku-os ! org>
Date:       2015-06-30 6:19:51
Message-ID: 056.cd753b6eb9a7f0cf441dfb70862aaf0e () haiku-os ! org
[Download RAW message or body]

#12184: 'setarch x86' doesn't change LIBRARY_PATH
-----------------------------------------------+---------------------------
   Reporter:  haiqu                            |      Owner:  nobody
       Type:  bug                              |     Status:  new
   Priority:  normal                           |  Milestone:  Unscheduled
  Component:  Applications/Command Line Tools  |    Version:
 Resolution:                                   |  R1/Development
 Blocked By:                                   |   Keywords:
Has a Patch:  0                                |   Blocking:
                                               |   Platform:  All
-----------------------------------------------+---------------------------

Comment (by pulkomandy):

 The runtime_loader automatically adds the architecture suffix to the paths
 in LIBRARY_PATH (and same for add-ons). If you changed the LIBRARY_PATH,
 any gcc2 app would stop working (including bash, so you wouldn't go very
 far in your setarch environment).

 The fact that some language's runtime are using/manipulating LIBRARY_PATH
 without taking this into account is not Haiku's problem. Please report
 this to the people working on Freepascal so they can add the suffix where
 needed.

 The find_paths and BPathFinder APIs were introduced to make it easy for
 applications to find the correct paths. These function will do the
 appropriate manipulations and add the suffix as needed to the paths they
 return.

--
Ticket URL: <https://dev.haiku-os.org/ticket/12184#comment:2>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic