On 04/08/2012 05:26 AM, hvlems at zonnet.nl wrote:
Well, this isn't a linux forum but perhaps one of you solved this problem.
I have an Asus Eee PC 900, and it Tnow) has Fedora 14 installed.
It runs the bridge program and I want to run simh on this box since it is cheap on mains
power. Its battery is shot which is why my ex gave it to me.
I have libpcap installed and used 'make USE_NETWORK'=1' to build simh.
Which fails because it cannot locate
/usr/local/llib/libpcap.a
There is a libpcap.so, in /usr/lib
Am I running an old version of linux, or made an error installing libcap?
Hi! It sounds to me like you've got the runtime support for libpcap
installed, but not the "development" support.
For libraries, .so files (so == Shared Object) are used at runtime,
while .a (Archive) files are used at compile time. (well, more
specifically at link time). The former are dynamically-linked shared
libraries, whereas the latter are non-shared libraries for static linking.
These days, compilation support is rarely included by default on Linux
OS or package distributions to save space. One must explicitly install
the "dev" version of the library, which typically gets you .a files for
static linking, as well as the header (.h) files.
I've never seen Fedora 14, so I don't know exactly how its package
repository system works, but you'll need to find and install whatever
package corresponds to "libpcap-dev" or something very similarly named.
This should get you going.
-Dave
--
Dave McGuire, AK4HZ
New Kensington, PA
Show replies by date