Opened 17 years ago

Closed 17 years ago

Last modified 16 years ago

#14389 closed defect (invalid)

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

Reported by: etiquet@… Owned by: ghosthound
Priority: Normal Milestone:
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 (6)

comment:1 Changed 17 years ago by jmroot (Joshua Root)

Cc: opendarwin.org@… added

Cc maintainer.

comment:2 Changed 17 years ago by ryandesign (Ryan Carsten Schmidt)

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.

comment:3 Changed 17 years 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

comment:4 in reply to:  3 Changed 17 years ago by ghosthound

Owner: changed from macports-tickets@… to ricci@…
Status: newassigned

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.

comment:5 Changed 17 years ago by ghosthound

Resolution: invalid
Status: assignedclosed

comment:6 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.