Wireshark mailing list archives
How do you tell cmake to look in /usr/local/lib for libpcap?
From: Richard Sharpe <realrichardsharpe () gmail com>
Date: Sun, 2 Dec 2018 17:31:25 -0800
Hi folks, I am not having much luck getting cmake to look in the right place for the library. I have set PCAP_HINTS to /usr/local and cmake is finding the include files, but not the correct libraries ... ---------------------- -- Looking for pcap_set_tstamp_type - found -- Looking for pcap_open -- Looking for pcap_open - not found -- PCAP FOUND -- PCAP includes: /usr/local/include -- PCAP libs: /lib64/libpcap.so # This is not what I want. ---------------------- -- Regards, Richard Sharpe (何以解憂?唯有杜康。--曹操)(传说杜康是酒的发明者) ___________________________________________________________________________ Sent via: Wireshark-dev mailing list <wireshark-dev () wireshark org> Archives: https://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-request () wireshark org?subject=unsubscribe
Current thread:
- How do you tell cmake to look in /usr/local/lib for libpcap? Richard Sharpe (Dec 02)
- Re: How do you tell cmake to look in /usr/local/lib for libpcap? Roland Knall (Dec 03)