Projects
New Ticket     Wiki     Browse Source     Timeline     Roadmap     Bug Reports     Search

Ticket #14389 (closed defect: invalid)

Opened 9 months ago

Last modified 8 months ago

wireshark don't launch. "dyld: Library not loaded: /usr/local/lib/libpcre.0.dylib" \n Reason: image not found

Reported by: etiquet@… Owned by: ricci@…
Priority: Normal Milestone: Port Bugs
Component: ports Version: 1.6.0
Keywords: wireshark Cc: opendarwin.org@…
Port:

Description

Hi, Issue when launching wireshark from X11 or double-click from a link to wireshark.

Steps as follow :

Install MacPort. Self Update. "port install wireshark"

launch X11 open X11terminal from menu

bash-3.2$ "/usr/local/bin/wireshark"

dyld: Library not loaded: /usr/local/lib/libpcre.0.dylib

Referenced from: /usr/local/bin/wireshark Reason: image not found

Trace/BPT trap bash-3.2$

bash-3.2$ echo $PATH /usr/bin:/bin:/usr/sbin:/sbin:/usr/X11/bin

Change History

  Changed 9 months ago by jmr@…

  • cc opendarwin.org@… added

Cc maintainer.

  Changed 8 months ago by ryandesign@…

What do you mean "/usr/local"? MacPorts' prefix is "/opt/local". Reconfiguring MacPorts to use "/usr/local" as its prefix is not at all recommended.

follow-up: ↓ 4   Changed 8 months ago by etiquet@…

Hi Ryan,

Thank for taking time on this. unfortunately I am no expert, just tried to use the standard procedure.

Could you give a hint how to workaround for existing installation or fix for new installation will be an help.

many thanks, Eric

in reply to: ↑ 3   Changed 8 months ago by ricci@…

  • owner changed from macports-tickets@… to ricci@…
  • status changed from new to assigned

Replying to etiquet@yahoo.com:

Hi Ryan, Thank for taking time on this. unfortunately I am no expert, just tried to use the standard procedure. Could you give a hint how to workaround for existing installation or fix for new installation will be an help.

The simple hint is: don't use /usr/local as a prefix. As Ryan said, its not recommended. Some ports explicitly disable looking in /usr/local for libs, etc. so as to not auto-include non-MacPorts-controlled bits, and wireshark is one of these, that may be the problem you're running into.

  Changed 8 months ago by ricci@…

  • status changed from assigned to closed
  • resolution set to invalid
Note: See TracTickets for help on using tickets.