Opened 7 years ago

Closed 7 years ago

#52749 closed defect (fixed)

transmission fails to link with newer versions of openssl's libcrypto

Reported by: karypid Owned by: kurthindenburg (Kurt Hindenburg)
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc: iqgrande, favadi (Diep Pham)
Port: transmission

Description (last modified by neverpanic (Clemens Lang))

So I was using ElCapitan and upgraded to Sierra just now. Had to reinstall ports and all.

When running port install transmission +daemon I go:

--->  Building transmission
Error: org.macports.build for port transmission returned: command execution failed
Please see the log file for port transmission for details:

Looking at the log:

:info:build ld: library not found for -lcrypto.0.9.8
:info:build clang: error: linker command failed with exit code 1 (use -v to see invocation)

I checked my openssl and it has:

$ port contents openssl | grep libcrypto
  /opt/local/lib/libcrypto.1.0.0.dylib

So this appears to need a version number change for the more recent openssl package.

Prior to upgrading to Sierra I had (this had the 0.9.8 I guess):

openssl @1.0.2d_0 (active) platform='darwin 14' archs='x86_64'

Now I have:

openssl @1.0.2j_0 (active)

Not sure at which point 0.9.8 became 1.0.0...

Attachments (1)

main.log (465.6 KB) - added by favadi (Diep Pham) 7 years ago.

Download all attachments as: .zip

Change History (13)

comment:1 Changed 7 years ago by karypid

Cc: karypid added

comment:2 Changed 7 years ago by karypid

I downloaded revision 121619 and installed it successfuly with openssl 1.0.2j_0

@121619 2 years khindenburg transmission: update to 2.84 - closes #44089 (may have to rethink the …

This ssems to be something intoduced with:

@146739 8 months easieste net/transmission: update to transmission-2.92

comment:3 Changed 7 years ago by neverpanic (Clemens Lang)

Cc: karypid removed
Description: modified (diff)
Owner: changed from macports-tickets@… to kurthindenburg
Status: newassigned

If you are the reporter, you don't need to Cc yourself. When reporting tickets against ports, please cc the maintainer (port info --maintainer transmission), if any.

libcrypto.0.9.8.dylib was installed by OpenSSL 0.9.8, which was provided by Apple until Sierra. While I would argue it was a bad idea to use such an old version of OpenSSL, it seems the developers of transmission probably made this choice deliberately.

I can reproduce the problem. Did you report this to the developers of transmission already?

comment:4 Changed 7 years ago by neverpanic (Clemens Lang)

comment:5 Changed 7 years ago by karypid

I was still documenting info; have not reported upstream yet.

I though it was a macports problem initially so opened a ticket here. I am not an expert, but looking at this diff: svn diff -r 121619:146739 https://svn.macports.org/repository/macports/trunk/dports/net/transmission

...it seems to me there is nothing changed in the port other than the version change in upstream code that could introduce this.

comment:6 Changed 7 years ago by karypid

I will try to get access to upstream bug tracker and report this, referencing your finding in comment 4.

Will leave it up to the maintainer to decide what to do with this ticket. Maybe he wants to patch it, maybe not...

Thanks for your help.

comment:7 Changed 7 years ago by karypid

Last edited 7 years ago by karypid (previous) (diff)

comment:8 Changed 7 years ago by iqgrande

Cc: iqgrande added

comment:9 Changed 7 years ago by favadi (Diep Pham)

Cc: favadi added

Changed 7 years ago by favadi (Diep Pham)

Attachment: main.log added

comment:10 Changed 7 years ago by stanimura

This issue seems to have been fixed in upstream https://build.transmissionbt.com/job/trunk-mac/6499/changes, so that I wish it applies to the port.

comment:11 Changed 7 years ago by kurthindenburg (Kurt Hindenburg)

They really just need to release 2.93 - that diff doesn't apply cleanly due to the other patches.

comment:12 Changed 7 years ago by ken-cunningham-webuse

Resolution: fixed
Status: assignedclosed

In 865fbc2ce55bca3d6acb6f5bd49469aa295493e0/macports-ports:

transmission@2.9.2 : fix missing libcrypto.0.9.8

hardlinks against libcrypto.0.9.8 which does not exist on all systems
changes to link against libcrypto
this patch will not be needed in transmission @2.9.3

closes: #52749
closes: #53743

Note: See TracTickets for help on using tickets.