Date: Thu, 24 Apr 2008 19:41:17 +0200 (CEST) From: Antoine Brodin <antoine.brodin@laposte.net> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/123056: net/libnet-devel is unusable Message-ID: <200804241741.m3OHfH2A011418@peanut.dreadbsd.org> Resent-Message-ID: <200804241800.m3OI04ht047443@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 123056 >Category: ports >Synopsis: net/libnet-devel is unusable >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Apr 24 18:00:03 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Antoine Brodin >Release: FreeBSD 8.0-CURRENT i386 >Organization: none >Environment: System: FreeBSD barton.dreadbsd.org. 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Sat Apr 19 22:15:51 CEST 2008 root@barton.dreadbsd.org.:/usr/obj/usr/src/sys/GENERIC i386 >Description: net/libnet-devel is unusable >How-To-Repeat: install net/libnet-devel > cat > test.c << EOF #include <libnet.h> int main(void) { char errbuf[LIBNET_ERRBUF_SIZE]; libnet_t *l; l = libnet_init(LIBNET_LINK, NULL, errbuf); return (0); } EOF > gcc `libnet113-config --cflags` `libnet113-config --defines` `libnet113-config --libs` test.c -o test > ldd test test: libnet.so.1 => not found (0x0) libc.so.7 => /lib/libc.so.7 (0x2807d000) > ./test /libexec/ld-elf.so.1: Shared object "libnet.so.1" not found, required by "test" >Fix: Add something like this to net/libnet-devel/Makefile: USE_LDCONFIG=${PREFIX}/lib/libnet${SHORT_VER} >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200804241741.m3OHfH2A011418>