Opened 14 years ago
Last modified 13 years ago
#27316 closed defect
DateLine uses system's openssl / libcrypto — at Version 2
Reported by: | vulcan_@… | Owned by: | singingwolfboy@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.9.2 |
Keywords: | haspatch | Cc: | |
Port: | DateLine |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
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
Change History (4)
Changed 14 years ago by vulcan_@…
comment:1 Changed 14 years ago 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$
comment:2 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|---|
Owner: | changed from macports-tickets@… to singingwolfboy@… |
Port: | DateLine added |
Summary: | DateLine trys to use wrong libcrypt → DateLine uses system's openssl / libcrypto |
Confirmed, I get the same thing on Snow Leopard. After some Googling it seems that 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.
Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)
Attachment: | DateLine.diff added |
---|
proposed patch
build log file