#41749: gdb: dyld: Library not loaded @rpath/libCore.so --------------------------+---------------------- Reporter: alkulakov@… | Owner: dweber@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: gdb | --------------------------+---------------------- Comment (by moo@…): Replying to [comment:6 cal@…]:
- `dyld(1)`, section "DYLD_LIBRARY_PATH", especially the part where is says what `DYLD_LIBRARY_PATH` is supposed to do: "It allows you to test new versions of existing libraries."
Thanks for the info. I was unaware of the {{{install_name_tool}}}, and we should be able to make use of that in our build process. Even so, it strikes me as odd that the new gcc doesn't seem to honor the DYLD_LIBRARY_PATH. We may be able to change our workflow to accommodate this, but it would be nice to know if this is an intentional feature of gdb 7.x. I'll do some digging around on the gdb site. -- Ticket URL: <https://trac.macports.org/ticket/41749#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X