[MacPorts] #32034: snort: libsf_engine.dylib: No such file or directory
#32034: snort: libsf_engine.dylib: No such file or directory -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: markd@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: haspatch | Port: snort -------------------------------------+-------------------------------------- Actually trying to use snort produces the error message: {{{ /opt/local/lib/snort_dynamicengine/libsf_engine.dylib: No such file or directory }}} as [http://lists.macosforge.org/pipermail/macports- users/2011-November/026101.html reported by Fyodor Vassiley with a reproduction recipe on the mailing list]. snort installs the file libsf_engine.so there, but then later looks for libsf_engine.dylib, which isn't there. So it would be best if the libraries were installed with the correct .dylib extension in the first place. [http://lists.macosforge.org/pipermail/macports- users/2011-November/026133.html Jean-Francois Gobin provided a patch on the mailing list], but it must be applied to the Makefile after the configure phase has run. I don't know if there's a way the patch could be done at the normal time, during the patch phase. Perhaps a patch to the configure script. -- Ticket URL: <https://trac.macports.org/ticket/32034> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32034: snort: libsf_engine.dylib: No such file or directory -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: markd@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: haspatch | Port: snort -------------------------------------+-------------------------------------- Comment(by jmr@…): The OS doesn't actually care about the filename of libraries at all. It's just a convention to use .dylib for shared libraries, and .so is often used instead for dynamically loaded plugin-type files. You just have to link or call dlopen using the filename that is in fact there at runtime. -- Ticket URL: <https://trac.macports.org/ticket/32034#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32034: snort: libsf_engine.dylib: No such file or directory -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: markd@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: haspatch | Port: snort -------------------------------------+-------------------------------------- Comment(by jeanfgobin@…): The attached file is a patch to run during patch phase. It modifies snort-2.9.0.5/src/dynamic-plugins/sf_engine/Makefile.in to add the relevant statements. -- Ticket URL: <https://trac.macports.org/ticket/32034#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32034: snort: libsf_engine.dylib: No such file or directory ---------------------------+--------------------- Reporter: ryandesign@… | Owner: markd@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: | Keywords: Port: snort | ---------------------------+--------------------- Changes (by macsforever2000@…): * keywords: haspatch => Comment: This patch does not work against the current version of the Portfile. -- Ticket URL: <https://trac.macports.org/ticket/32034#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#32034: snort: libsf_engine.dylib: No such file or directory ---------------------------+-------------------------------- Reporter: ryandesign@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: | Keywords: Port: snort | ---------------------------+-------------------------------- Changes (by mf2k@…): * owner: markd@… => macports-tickets@… Comment: markd has retired. See #44782. -- Ticket URL: <https://trac.macports.org/ticket/32034#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts