pkgsrc-Bugs archive

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

pkg/40995: libnids needs glib and gthread

>Number:         40995
>Category:       pkg
>Synopsis:       libnids needs glib and gthread
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Mar 11 12:50:00 +0000 2009
>Originator:     Alan Barrett
>Release:        NetBSD 5.99.7
Not much
System: NetBSD 5.99.7 i386
        The net/libnids package installs only a static library. 
        Programs that link against ilbnids need

                -lnids -lglib-2.0 -lghtread-2.0

        but there appears to be no mechanism for informing such programs
        of that fact.

        For example, the security/dsniff-nox11 package won't build,
        complaining about several undefined symbols that are referenced
        by libnids, and provided by libglib02.0 and libghtread-2.0.

        Try to build security/dsniff-nox11

        Unknown.  Perhaps convert libnids to use libtool and to provide
        a shared library with appropriate dependency information?

        A workaround is to patch the Makefile in
        security/dsniff-nox11/work/dsniff-2.3/Makefile (after "make
        configure" has created the Makefile, but before proceeding to
        the rest of the build), changing the LIBNIDS line to:

        NIDSLIB = -L/usr/pkg/lib -lnids -lglib-2.0 -lgthread-2.0

        However, this is clearly the wrong solution, since it would have
        to be integrated into the configure script and repeated for
        every package that uses libnids.

Home | Main Index | Thread Index | Old Index