[MacPorts] #27316: DateLine trys to use wrong libcrypt
#27316: DateLine trys to use wrong libcrypt -----------------------------+---------------------------------------------- Reporter: vulcan_@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: -----------------------------+---------------------------------------------- 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 -- Ticket URL: <https://trac.macports.org/ticket/27316> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27316: DateLine trys to use wrong libcrypt -----------------------------+---------------------------------------------- Reporter: vulcan_@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: -----------------------------+---------------------------------------------- Comment(by vulcan_@…): this is the libcrypto situation .. maky:~ jeffhayes$ ls /usr/lib/libcrypto.0.9.7.dylib /usr/lib/libcrypto.0.9.7.dylib* maky:~ jeffhayes$ ll /usr/lib/libcrypto.0.9.7.dylib -rwxr-xr-x 1 root wheel 3.2M 11 Feb 2010 /usr/lib/libcrypto.0.9.7.dylib* maky:~ jeffhayes$ ls /usr/local/lib/libc* /usr/local/lib/libcharset.1.dylib* /usr/local/lib/libcharset.la* /usr/local/lib/libcharset.dylib@ maky:~ jeffhayes$ ls /opt/local/lib/*crypt* /opt/local/lib/libcrypto.1.0.0.dylib* /opt/local/lib/libgcrypt.11.dylib@ /opt/local/lib/libcrypto.a /opt/local/lib/libgcrypt.a /opt/local/lib/libcrypto.dylib@ /opt/local/lib/libgcrypt.dylib@ /opt/local/lib/libgcrypt.11.6.0.dylib* /opt/local/lib/libgcrypt.la* maky:~ jeffhayes$ -- Ticket URL: <https://trac.macports.org/ticket/27316#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27316: DateLine trys to use wrong libcrypt -----------------------------+---------------------------------------------- Reporter: vulcan_@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: -----------------------------+---------------------------------------------- Comment(by vulcan_@…): drat .. forgot to use the braces {{{ maky:~ jeffhayes$ maky:~ jeffhayes$ ls /usr/lib/libcrypto.0.9.7.dylib /usr/lib/libcrypto.0.9.7.dylib* maky:~ jeffhayes$ ll /usr/lib/libcrypto.0.9.7.dylib -rwxr-xr-x 1 root wheel 3.2M 11 Feb 2010 /usr/lib/libcrypto.0.9.7.dylib* maky:~ jeffhayes$ ls /usr/local/lib/libc* /usr/local/lib/libcharset.1.dylib* /usr/local/lib/libcharset.la* /usr/local/lib/libcharset.dylib@ maky:~ jeffhayes$ ls /opt/local/lib/*crypt* /opt/local/lib/libcrypto.1.0.0.dylib* /opt/local/lib/libgcrypt.11.dylib@ /opt/local/lib/libcrypto.a /opt/local/lib/libgcrypt.a /opt/local/lib/libcrypto.dylib@ /opt/local/lib/libgcrypt.dylib@ /opt/local/lib/libgcrypt.11.6.0.dylib* /opt/local/lib/libgcrypt.la* maky:~ jeffhayes$ }}} -- Ticket URL: <https://trac.macports.org/ticket/27316#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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
#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: haspatch | Port: DateLine -----------------------------+---------------------------------------------- Changes (by ryandesign@…): * keywords: => haspatch Comment: I have attached a patch that allows the port to compile on Snow Leopard using whatever libcrypto is current, though it still uses Apple's and not MacPorts'. Also, the app crashes on launch. Note that the port version is 0.61, which installs version 0.63 of the software for some reason, but that the current version of the software on the [http://www.machinecodex.com/dateline/ developer's web site] is 0.96 (also apparently known as 0.964). They don't appear to have released the source code for this newer version. So you're better off downloading the software directly from the developer at this point. -- Ticket URL: <https://trac.macports.org/ticket/27316#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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: haspatch | Port: DateLine -----------------------------+---------------------------------------------- Comment(by ryandesign@…): According to [http://www.cocoalab.com/?q=node/45 this page] DateLine is no longer open source. As such, and since the software is outdated and doesn't work on Snow Leopard, perhaps this port should be deleted. -- Ticket URL: <https://trac.macports.org/ticket/27316#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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: haspatch | Port: DateLine -----------------------------+---------------------------------------------- Comment(by vulcan_@…): saw your warning about not using /usr/local/ but sorry .. there is too much OS stuff that installs into that tree for that to be realistic. IMHO MacPorts should configure its builds to put /opt/local/lib ahead of other lib folders in the linker search order and thus solve the problem i have installed the creator's latest version from their site and it is working .. thanks for looking at this. close it when you want. over and out -- Ticket URL: <https://trac.macports.org/ticket/27316#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27316: DateLine uses system's openssl / libcrypto ------------------------------+--------------------------------------------- Reporter: vulcan_@… | Owner: singingwolfboy@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Resolution: fixed | Keywords: haspatch Port: DateLine | ------------------------------+--------------------------------------------- Changes (by jmr@…): * status: new => closed * resolution: => fixed Comment: r85356 -- Ticket URL: <https://trac.macports.org/ticket/27316#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27316: DateLine uses system's openssl / libcrypto ------------------------------+--------------------------------------------- Reporter: vulcan_@… | Owner: singingwolfboy@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Resolution: fixed | Keywords: haspatch Port: DateLine | ------------------------------+--------------------------------------------- Comment(by ryandesign@…): Replying to [comment:5 vulcan_@…]:
saw your warning about not using /usr/local/ but sorry .. there is too much OS stuff that installs into that tree for that to be realistic.
There is no "OS stuff" in /usr/local. Apple ships /usr/local empty, as do all other OS vendors that I'm aware of.
IMHO MacPorts should configure its builds to put /opt/local/lib ahead of other lib folders in the linker search order and thus solve the problem
We are not aware of a way to do that. If you can tell us specifically how to do it (on the macports-dev mailing list, please) we're all ears. Until then, we must stick by our policy of not providing support for MacPorts for users who install things in /usr/local. Replying to [comment:6 jmr@…]:
r85356
/opt/local was hardcoded in one location in the patch added in this revision; fixed in r85427. -- Ticket URL: <https://trac.macports.org/ticket/27316#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts