#43059: openssh fails to build using default xcode gcc 4.2 --------------------------+-------------------------------- Reporter: leeawalsh@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: openssh | --------------------------+-------------------------------- Comment (by leeawalsh@…): Replying to [comment:4 cal@…]:
The only reasonable explanation I have for this is that older versions of the OS X linker first tried finding dynamic libraries in '''all''' linker search paths before trying to link against static libraries. Do you have a file named `libssh.dylib` in any of `/opt/local/lib`, `/usr/local/lib`, or `/usr/lib`?
I have these: {{{ $ ls /opt/local/lib/libssh*dylib /opt/local/lib/libssh.4.2.5.dylib* /opt/local/lib/libssh_threads.4.2.5.dylib* /opt/local/lib/libssh.4.dylib@ /opt/local/lib/libssh_threads.4.dylib@ /opt/local/lib/libssh.dylib@ /opt/local/lib/libssh_threads.dylib@ $ ls /usr/local/lib/libssh*dylib ls: /usr/local/lib/libssh*dylib: No such file or directory $ ls /usr/lib/libssh*dylib ls: /usr/lib/libssh*dylib: No such file or directory }}} Most of those are links to `libssh.4.2.5.dylib` which I've attached. -- Ticket URL: <https://trac.macports.org/ticket/43059#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X