[MacPorts] #20058: slptool fails with missing _SLPNetGetThisHostname symbol
MacPorts
noreply at macports.org
Wed Jun 24 09:46:10 PDT 2009
#20058: slptool fails with missing _SLPNetGetThisHostname symbol
--------------------------------+-------------------------------------------
Reporter: pkwarren@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.7.1
Keywords: | Port: openslp
--------------------------------+-------------------------------------------
When you run OpenSLP 1.2.1's slptool, you get an error at runtime about a
missing symbol:
{{{
$ slptool findsrvs '*'
dyld: lazy symbol binding failed: Symbol not found: _SLPNetGetThisHostname
Referenced from: /opt/local/lib/libslp.1.dylib
Expected in: dynamic lookup
dyld: Symbol not found: _SLPNetGetThisHostname
Referenced from: /opt/local/lib/libslp.1.dylib
Expected in: dynamic lookup
Trace/BPT trap
}}}
This has been fixed in the FreeBSD port system by including the slp_net.c
source file while building the libslp library - here is the patch:
http://www.FreeBSD.org/cgi/cvsweb.cgi/ports/net/openslp/files/patch-
slp_net?rev=1.2;content-type=text%2Fplain
--
Ticket URL: <http://trac.macports.org/ticket/20058>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list