#27316: DateLine uses system's openssl / libcrypto -----------------------------+---------------------------------------------- Reporter: vulcan_@… | Owner: singingwolfboy@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: DateLine -----------------------------+---------------------------------------------- Changes (by ryandesign@…): * owner: macports-tickets@… => singingwolfboy@… * port: => DateLine Old description:
Snow Leopard 10.6.4 MacBook Intel DuoCore 32 bit
i tried building DateLine today, got this {{{
/Developer/usr/bin/gcc-4.2 -arch i386 -L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_DateLine/work/DateLine/build/Deployment -F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_DateLine/work/DateLine/build/Deployment -F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_DateLine/work/DateLine -F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_DateLine/work/DateLine -filelist /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_DateLine/work/DateLine/build/DateLine.build/Deployment/DateLine.build /Objects-normal/i386/DateLine.LinkFileList -mmacosx-version-min=10.6 -framework Cocoa -framework Carbon -framework Sparkle -lcrypto.0.9.7 -framework QuartzCore -o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_DateLine/work/DateLine/build/Deployment/DateLine.app/Contents/MacOS/DateLine ld: cannot link directly with /usr/lib/libcrypto.0.9.7.dylib collect2: ld returned 1 exit status }}}
looks like the configure step found /usr/lib/libcrypto.0.9.7.dylib and it fails to link
New description: Snow Leopard 10.6.4 [[br]] MacBook Intel DuoCore 32 bit i tried building DateLine today, got this {{{ /Developer/usr/bin/gcc-4.2 -arch i386 -L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_DateLine/work/DateLine/build/Deployment -F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_DateLine/work/DateLine/build/Deployment -F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_DateLine/work/DateLine -F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_DateLine/work/DateLine -filelist /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_DateLine/work/DateLine/build/DateLine.build/Deployment/DateLine.build /Objects-normal/i386/DateLine.LinkFileList -mmacosx-version-min=10.6 -framework Cocoa -framework Carbon -framework Sparkle -lcrypto.0.9.7 -framework QuartzCore -o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_DateLine/work/DateLine/build/Deployment/DateLine.app/Contents/MacOS/DateLine ld: cannot link directly with /usr/lib/libcrypto.0.9.7.dylib collect2: ld returned 1 exit status }}} looks like the configure step found /usr/lib/libcrypto.0.9.7.dylib and it fails to link -- Comment: Confirmed, I get the same thing on Snow Leopard. After some Googling it seems that [http://groups.jonzu.com/z_apple_libcrypto-on-snow-leopard.html you simply can't use libcrypto.0.9.7 on Snow Leopard]. You must use a later version. And this project hardcodes the use of libcrypto.0.9.7. It should be changed to use the MacPorts version in all cases, if possible. Note, however, that your output above shows that you have things in /usr/local, which is not supported, because software installed there can interfere with MacPorts. You should move or remove /usr/local to avoid future problems. -- Ticket URL: <https://trac.macports.org/ticket/27316#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS