[DOCS-526] mongosniff: depends strictly on libpcap versions, fixing Created: 15/Sep/12 Updated: 08/Nov/12 Resolved: 08/Nov/12 |
|
| Status: | Closed |
| Project: | Documentation |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Adam Comerford | Assignee: | Sam Kleinman (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Linux, libpcap > 0.9 |
||
| Issue Links: |
|
||||
| Participants: | |||||
| Days since reply: | 11 years, 14 weeks, 6 days ago | ||||
| Description |
|
This came up recently (will link relevant issues). The resolution is to symlink the older version manually to the newer version. Error looks like this:
This happens even when a newer version of libpcap is installed (1.0 for example). The resolution is to symlink the missing dependency to the newer version somewhere in the LD_LIBRARY_PATH The easiest way to do this is to symlink the old version in the same folder as the newer version:
|
| Comments |
| Comment by auto [ 08/Nov/12 ] | |||||||||||||||||||||||||||||||||||||||||||||
|
Author: {u'date': u'2012-11-08T16:41:32Z', u'email': u'samk@10gen.com', u'name': u'Sam Kleinman'}Message: | |||||||||||||||||||||||||||||||||||||||||||||
| Comment by Adam Comerford [ 08/Nov/12 ] | |||||||||||||||||||||||||||||||||||||||||||||
|
samk mongosniff does not have to be compiled - it is distributed as part of the binaries on the downloads page. As proof, here is the output of the folder where I keep various versions - straight extracts of the archives:
Granted, that is on a Mac - here is the release 2.2.1 64 bit Linux download contents:
As you can see, mongosniff is definitely there, and it fails to find libpcap on Ubuntu 12.04 despite it having 2 versions installed:
Adam. | |||||||||||||||||||||||||||||||||||||||||||||
| Comment by Sam Kleinman (Inactive) [ 07/Nov/12 ] | |||||||||||||||||||||||||||||||||||||||||||||
Accordingly, closing this ticket. If my reasoning is in error, feel free to reopen. Cheers, |