Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Config Fail on x86_64 systems #1

Open
gnalsa opened this issue Nov 5, 2014 · 0 comments
Open

Config Fail on x86_64 systems #1

gnalsa opened this issue Nov 5, 2014 · 0 comments

Comments

@gnalsa
Copy link

gnalsa commented Nov 5, 2014

While trying to setup PCS, error finding libpcap is returned.

python setup.py config

raise "couldn't find pcap build or installation directory"

libpcap drivers are installed:

find / -iname "libpcap"

/usr/lib/x86_64-linux-gnu/libpcap.so.0.8
/usr/lib/x86_64-linux-gnu/libpcap.so
/usr/lib/x86_64-linux-gnu/libpcap.a
/usr/lib/x86_64-linux-gnu/libpcap.so.1.5.3

Was able to fix by modifying the directories searched
for sd in ('lib', 'lib/x86_64-linux-gnu'):
for lib in (('pcap', 'libpcap.a'),
('pcap', 'libpcap.dylib'),
('wpcap', 'wpcap.lib')):

python setup.py config

running config
found {'libraries': ['pcap'], 'library_dirs': ['/usr/lib/x86_64-linux-gnu'], 'include_dirs': ['/usr/include/pcap']}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant