Opened 15 years ago

Closed 14 years ago

#20058 closed defect (fixed)

openslp: slptool fails with missing _SLPNetGetThisHostname symbol

Reported by: pkwarren@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 1.7.1
Keywords: Cc:
Port: openslp

Description

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

Change History (2)

comment:1 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: changed from macports-tickets@… to ryandesign@…
Status: newassigned

Has duplicate #23639.

comment:2 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: assignedclosed
Summary: slptool fails with missing _SLPNetGetThisHostname symbolopenslp: slptool fails with missing _SLPNetGetThisHostname symbol

Fixed in r67240.

Note: See TracTickets for help on using tickets.