#6080: BUG: tsocks-1.8beta5_1 can't resolve libSystem symbols ----------------------------+-------------------- Reporter: darren.bane@… | Owner: toby@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.0 Resolution: fixed | Keywords: Port: tsocks | ----------------------------+-------------------- Changes (by ryandesign@…): * port: => tsocks Old description:
the error log can be found here: INLINE
Description: When preloaded using DYLD_INSERT_LIBRARIES, libtsocks.dylib can't resolve symbols from libSystem.dylib like close and connect.
Comments: I used a sh-compatible shell. I also tried setting DYLD_INSERT_LIBRARIES to "/opt/local/ lib/libtsocks.dylib:/usr/lib/libSystem.dylib", to no avail.
================INLINE CONTENT================ $ port install tsocks $ DYLD_INSERT_LIBRARIES=/opt/local/lib/libtsocks.dylib $ export DYLD_INSERT_LIBRARIES $ DYLD_FORCE_FLAT_NAMESPACE=t $ export DYLD_FORCE_FLAT_NAMESPACE $ telnet btmux.com 5555 Trying 130.127.67.247... 14:40:00 libtsocks(21133): Unresolved symbol: close 14:40:00 libtsocks(21133): Unresolved symbol: close 14:40:00 libtsocks(21133): Unresolved symbol: close 14:40:00 libtsocks(21133): Unresolved symbol: connect telnet: connect to address 130.127.67.247: Unknown error: 0 telnet: Unable to connect to remote host 14:40:00 libtsocks(21133): Unresolved symbol: close $ -- Darren Bane
New description: the error log can be found here: INLINE Description: When preloaded using DYLD_INSERT_LIBRARIES, libtsocks.dylib can't resolve symbols from libSystem.dylib like close and connect. Comments: I used a sh-compatible shell. I also tried setting DYLD_INSERT_LIBRARIES to "/opt/local/ lib/libtsocks.dylib:/usr/lib/libSystem.dylib", to no avail. ================INLINE CONTENT================ {{{ $ port install tsocks $ DYLD_INSERT_LIBRARIES=/opt/local/lib/libtsocks.dylib $ export DYLD_INSERT_LIBRARIES $ DYLD_FORCE_FLAT_NAMESPACE=t $ export DYLD_FORCE_FLAT_NAMESPACE $ telnet btmux.com 5555 Trying 130.127.67.247... 14:40:00 libtsocks(21133): Unresolved symbol: close 14:40:00 libtsocks(21133): Unresolved symbol: close 14:40:00 libtsocks(21133): Unresolved symbol: close 14:40:00 libtsocks(21133): Unresolved symbol: connect telnet: connect to address 130.127.67.247: Unknown error: 0 telnet: Unable to connect to remote host 14:40:00 libtsocks(21133): Unresolved symbol: close $ }}} -- \\ Darren Bane -- -- Ticket URL: <https://trac.macports.org/ticket/6080#comment:7> MacPorts <https://www.macports.org/> Ports system for OS X