Opened 16 years ago

Closed 16 years ago

Last modified 15 years ago

#16221 closed defect (invalid)

subversion should depend on heimdal or be configured not to be linked to it

Reported by: vinc17@… Owned by: danielluke (Daniel J. Luke)
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: Cc:
Port:

Description

After upgrading heimdal from 1.0.1_0 to 1.1_1, I get the following error when executing svn:

dyld: Library not loaded: /opt/local/lib/libgssapi.2.dylib
  Referenced from: /opt/local/bin/svn
  Reason: image not found

This file was installed by heimdal. I don't know if this library is optional, but in any case, the use of this library should be consistent to the declared dependencies.

Change History (5)

comment:1 Changed 16 years ago by vinc17@…

Summary: subversion should depend on heimdal or configured not to be linked to itsubversion should depend on heimdal or be configured not to be linked to it

comment:2 Changed 16 years ago by danielluke (Daniel J. Luke)

Resolution: invalid
Status: newclosed

Subversion used to explicitly not link in kerberos to solve this, but the heimdal port was modified to not conflict with the system libraries and allow subversion to be built with system kerberos support.

Looks like you just had unlucky timing with the versions of the subversion port and the heimdal port you have installed.

comment:3 Changed 16 years ago by vinc17@…

OK, I'll try to reinstall the necessary ports: the build of Subversion 1.5.0 currently fails. In fact, the problem now seems to come from neon:

$ grep libgssapi /opt/local/lib/*.la
/opt/local/lib/libneon.la:dependency_libs=' -R/opt/local/lib -L/opt/local/lib /opt/local/lib/libintl.la /opt/local/lib/libiconv.la -lc -lssl -lz /opt/local/lib/libgssapi.la /opt/local/lib/libheimntlm.la /opt/local/lib/libkrb5.la /opt/local/lib/libhx509.la -lcrypto /opt/local/lib/libasn1.la /opt/local/lib/libcom_err.la /opt/local/lib/libroken.la -lresolv /opt/local/lib/libexpat.la'

Really, MacPorts should be fixed to take care of these problems (e.g. with some kind of dynamic dependencies).

comment:4 Changed 16 years ago by danielluke (Daniel J. Luke)

This is the same thing as your other ticket (ie, neon used to build specifically without kerberos support but when the heimdal port was modified so that it didn't install into a location where the configure script would find and link to it, neon was changed back so that it could link with the system libs).

I'm sure we would welcome patches to base to help deal with this sort of thing in a more automated fashion.

comment:5 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.