Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#39003 closed defect (invalid)

emacs @24.3_0 installation is ok, but no gnutls deps, runtime error

Reported by: egor7@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.1.3
Keywords: Cc: drkp (Dan Ports)
Port: emacs

Description

There is no correct gnutls dependency in emacs port.

port rdeps emacs
The following ports are dependencies of emacs @24.3_0:
  pkgconfig
    libiconv
      gperf
  texinfo
    xz
      gettext
        expat
        ncurses

But this dependency exists:

> emacs
dyld: Library not loaded: /opt/local/lib/libgnutls.26.dylib
  Referenced from: /usr/local/bin/emacs
  Reason: image not found
Trace/BPT trap: 5

I've updated ports. The new gnutls now has

/opt/local/lib/libgnutls.28.dylib

but emacs wants

/opt/local/lib/libgnutls.26.dylib

Change History (3)

comment:1 Changed 11 years ago by egor7@…

sudo port upgrade --force emacs

didn't help

comment:2 in reply to:  description Changed 11 years ago by larryv (Lawrence Velázquez)

Cc: egor7@… openmaintainer@… removed
Port: gnutls removed
Resolution: invalid
Status: newclosed

Thanks. In the future, don’t Cc “openmaintainer” (dummy email address) or yourself (you’re the ticket reporter).

Replying to egor7@…:

> emacs
dyld: Library not loaded: /opt/local/lib/libgnutls.26.dylib
  Referenced from: /usr/local/bin/emacs
  Reason: image not found
Trace/BPT trap: 5

MacPorts does not install anything in /usr/local/bin, and we don’t support having anything else in there. This is a separate Emacs that you must have installed yourself. Please remove it, or change your PATH so that /opt/local/bin comes before /usr/local/bin, or run Emacs using its full path (/opt/local/bin/emacs).

Last edited 11 years ago by larryv (Lawrence Velázquez) (previous) (diff)

comment:3 Changed 11 years ago by cooljeanius (Eric Gallager)

I have gnutls installed, and I'm just posting to verify (with otool (via my port-depcheck.sh script)) that MacPorts's emacs doesn't actually link against gnutls.

Last edited 11 years ago by cooljeanius (Eric Gallager) (previous) (diff)
Note: See TracTickets for help on using tickets.