Opened 16 years ago
Closed 16 years ago
#3957 closed bug (fixed)
Building on OS X fails from tools not finding libroot_build.so
Reported by: | titer | Owned by: | bonefish |
---|---|---|---|
Priority: | normal | Milestone: | R1 |
Component: | Build System | Version: | R1/pre-alpha1 |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description
For example:
SetType1 generated/objects/haiku/x86/release/add-ons/kernel/network/protocols/unix/unix export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:generated/objects/darwin/lib generated/objects/darwin/x86/release/tools/settype -t application/x-vnd.Be-elfexecutable "generated/objects/haiku/x86/release/add-ons/kernel/network/protocols/unix/unix" ; dyld: Library not loaded: ../../../../../../generated/objects/darwin/lib/libroot_build.so Referenced from: /Volumes/Haiku/haiku/generated/objects/darwin/x86/release/tools/settype Reason: image not found ...failed SetType1 generated/objects/haiku/x86/release/add-ons/kernel/network/protocols/unix/unix ...
Note that the tools load fine if run from inside generated/objects/darwin/x86/release/tools/, but jam runs them from the source root directory.
I am attaching a patch for build/jam/BuildSetup that sets DYLD_LIBRARY_PATH on Darwin the same way it sets LD_LIBRARY_PATH on Linux, which fixes the problem for me.
Attachments (1)
Change History (2)
by , 16 years ago
Attachment: | 3957.patch added |
---|
comment:1 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Thanks! Applied in hrev30845.