Wireshark

  • Riverbed Technology
  • WinPcap
the world's foremost network protocol analyzer
  • Wireshark
    • About
    • Download
    • Blog
  • Get Help
    • Ask a Question
    • FAQs
    • Documentation
    • Mailing Lists
    • Online Tools
    • Wiki
    • Bug Tracker
  • Develop
    • Get Involved
    • Developer's Guide
    • Browse the Code
    • Latest Builds

Wireshark-users: [Wireshark-users] Why do I need to set $LD_LIBRARY_PATH

Date Index Thread Index Other Months All Mailing Lists
Date Prev Date Next Thread Prev Thread Next


From: "THOMAS LEWIS-FLOOD" <tlewisflood@xxxxxxx>
Date: Sun, 11 Jun 2006 09:09:14 -0400

What am I missing? I can run ./wireshark out of the src dir, but not from /usr/local/bin. Error message:

wireshark: error while loading shared libraries: libwiretap.so.0: cannot open shared object file: No such file or directory

So I set $LD_LIBRARY_PATH and it worked. I'm confused ... compiling on Slackware (10.2) with kernel version 2.4.31, and version 1.2.10 of gtk/glib. The following all seemed to go fine,

    ./configure ; make ; make install

I even noticed that config.log had a line:

    LDFLAGS=' -L/usr/local/lib -L/usr/local/lib'

So I would expect that the executable should have no problem finding libwiretap library:

me@host ~ $ cd /usr/local/lib/ ; ls -l libwiretap*
-rwxr-xr-x  1 root root     914 2006-06-10 21:39 libwiretap.la*
lrwxrwxrwx 1 root root 19 2006-06-10 21:39 libwiretap.so -> libwiretap.so.0.0.1* lrwxrwxrwx 1 root root 19 2006-06-10 21:39 libwiretap.so.0 -> libwiretap.so.0.0.1*
-rwxr-xr-x  1 root root 1164750 2006-06-10 21:39 libwiretap.so.0.0.1*
me@host lib $

--
Hope you enjoy your day,

Tom Lewis-Flood
tlewisflood@xxxxxxx



  • Prev by Date: [Wireshark-users] can't build wireshark on OpenBSD
  • Next by Date: [Wireshark-users] Icon Sizes In Toolbar
  • Previous by thread: [Wireshark-users] can't build wireshark on OpenBSD
  • Next by thread: [Wireshark-users] Icon Sizes In Toolbar
  • Index(es):
    • Date
    • Thread

Wireshark and the "fin" logo are registered trademarks of the Wireshark Foundation