Bug 10996 - Arping fails with error due to missing libnet.so.1
Summary: Arping fails with error due to missing libnet.so.1
Status: CLOSED FIXED
Alias: None
Product: IPFire
Classification: Unclassified
Component: libnet (show other bugs)
Version: 2
Hardware: all All
: - Unknown - - Unknown -
Assignee: Matthias Fischer
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-05 15:40 UTC by Tom Rymes
Modified: 2015-12-05 20:20 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tom Rymes 2015-12-05 15:40:18 UTC
As discussed here on the forum: http://forum.ipfire.org/viewtopic.php?f=27&t=15377

I noticed this error twice on bootup after moving our main IPFire host to a newly installed Core94 machine:

/usr/sbin/arping: error while loading shared libraries: libnet.so.1: cannot open shared object file: No such file or directory

I cannot locate the libnet.so.1 module anywhere on the disk (using updatedb/locate), and Ummeegge confirms that it is commented out here: https://github.com/ipfire/ipfire-2.x/blob/562cc8f7214635af6c167d1c844f589f57a70054/config/rootfiles/common/libnet

Please let me know if I can provide any more details.

Tom
Comment 1 Matthias Fischer 2015-12-05 16:05:41 UTC
Hi,

seems to be *my* fault, sorry...

Would it be sufficient to uncomment the '/usr/lib/libnet'-libraries (see below) or are more files needed?

config/rootfiles/common/libnet:

#usr/bin/libnet-config
#usr/include/libnet
#usr/include/libnet.h
#usr/include/libnet/libnet-asn1.h
#usr/include/libnet/libnet-functions.h
#usr/include/libnet/libnet-headers.h
#usr/include/libnet/libnet-macros.h
#usr/include/libnet/libnet-structures.h
#usr/include/libnet/libnet-types.h
#usr/lib/libnet.a
#usr/lib/libnet.la
usr/lib/libnet.so
usr/lib/libnet.so.1
usr/lib/libnet.so.1.7.0
#usr/share/man/man3/libnet-functions.h.3
#usr/share/man/man3/libnet-macros.h.3
#usr/share/man/man3/libnet.h.3

Regards
Matthias
Comment 2 Matthias Fischer 2015-12-05 16:45:16 UTC
As far as I can see

...
usr/lib/libnet.so.1
usr/lib/libnet.so.1.7.0
...

should be sufficient!?

Feedback welcome...

Regards,
Matthias
Comment 3 Matthias Fischer 2015-12-05 20:16:10 UTC
Hi,

I pushed http://git.ipfire.org/?p=people/mfischer/ipfire-2.x.git;a=commit;h=8ce30653f53f0d6e5ba2a3b7246f6dd2da25e7c2

I hope this is fxed now.

Regards,
Matthias