pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/41710 (security/dsniff link errors (NetBSD 4.0))



Synopsis: security/dsniff link errors (NetBSD 4.0)

State-Changed-From-To: open->feedback
State-Changed-By: shattered%NetBSD.org@localhost
State-Changed-When: Tue, 09 Nov 2010 23:04:39 +0000
State-Changed-Why:
Builds fine on 4.0 (nearly -current pkgsrc).  Quoting
http://lists.freebsd.org/pipermail/freebsd-questions/2007-September/158000.html 
:
"Note: missing `pkgconfig --libs gthread-2.0` in LDFLAGS.
This happens when libnids is installed in the same run as dependency, because 
LIBNIDS_GLIB2 will be empty and the pre-configure target will not be 
installed."

Working link command is:
"cc -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lglib-2.0 -lgthread-2.0 -L/usr/lib 
-Wl,-R/usr/lib -L/usr/pkg/lib/libnet10 -
Wl,-R/usr/pkg/lib/libnet10 -o webspy webspy.o base64.o buf.o remote.o -lresolv 
-lrpcsvc  -L. -lmissing -L/usr/pkg
/lib -lnids -lpcap -L/usr/pkg/lib/libnet10 -lnet -lSM -lICE -lXmu -lX11
"





Home | Main Index | Thread Index | Old Index