Issue stems from a consequence that occurs when attempting to build a shared object which links to a static library. This prevents the dynamic library for lib_sfengine from being built, which the so rules in turn rely on. Fortunately, the fix is pretty easy. Libdnet must be rebuilt, using the following configure line:./configure –with-gnu-ld –enable-shared-shared.eu. After libdnet is rebuilt, you must then create a symlink between the shared file and the name which snort expects as follows as follows: /usr/local/lib/libdnet.1.1.”]
Source: https://blog.talosintelligence.com/2011/01/successfully-building-shared-object.html

