[MacPorts] #48437: kerberos5 @1.13.2: ld: -dylib_compatibility_version must be greater than zero
MacPorts
noreply at macports.org
Sat Feb 11 11:55:29 UTC 2017
#48437: kerberos5 @1.13.2: ld: -dylib_compatibility_version must be greater than
zero
------------------------+------------------------
Reporter: mrkapqa | Owner: ryandesign
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.3.3
Resolution: | Keywords: tiger
Port: kerberos5 |
------------------------+------------------------
Comment (by ryandesign):
The name of the port is "apple-gcc42". The name of one of the programs it
installs is "gcc-apple-4.2". The name of this compiler in MacPorts, for
the purposes of the `configure.compiler` variable, is apple-gcc-4.2. This
naming confusion was perhaps not planned well at the time, but it's
probably too late to change things now.
There is no reason to try to tell MacPorts to use the Apple gcc 4.2
compiler, because that is what it is already doing on Tiger by default.
The problem is not Intel- or PowerPC-specific. It's a well-known problem
of Tiger's development tools (the linker, I guess) that it does not allow
the compatibility version to be zero. It is an error for the developers of
kerberos to be specifying a compatibility version of zero, but they may
not know or care since the developer tools on Leopard and later no longer
have that limitation.
That is why I'm asking you to try a newer linker provided by MacPorts. If
you had apple-gcc42 installed without the bootstrap variant, you should
already have the ld64 port installed, which is why I suspect you have
apple-gcc42 installed with the bootstrap variant, and should reinstall it
without that variant.
--
Ticket URL: <https://trac.macports.org/ticket/48437#comment:19>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list