Date: 16 Sep 2002 16:46:34 -0000 From: Clement Laforet <sheepkiller@cultdeadsheep.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/42844: libnewt (devel/newt) has wrong version number. Message-ID: <20020916164634.37177.qmail@cultdeadsheep.org>
next in thread | raw e-mail | index | archive | help
>Number: 42844 >Category: ports >Synopsis: libnewt (devel/newt) has wrong version number. >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Sep 16 10:00:08 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Clement Laforet >Release: FreeBSD 4.6-STABLE i386 >Organization: The Cult Of The Dead Sheep >Environment: System: FreeBSD goofy.cultdeadsheep.org 4.6-STABLE FreeBSD 4.6-STABLE #0: Thu Jul 4 10:05:12 CEST 2002 root@goofy.cultdeadsheep.org:/usr/obj/usr/src/sys/GOOFY i386 >Description: I was working on dhcpconf port and I noticed libnewt internal SONAME was wrong. [root@darth-vader|(631)| dhcpconf]# make ===> Extracting for dhcpconf-0.7.3 >How-To-Repeat: Compile something depending to libnewt. >Fix: Dirty patch to put in files/ --- configure.old Mon Sep 16 18:37:29 2002 +++ configure Mon Sep 16 18:37:38 2002 @@ -1187,7 +1187,7 @@ VERSION=$(awk '/^%define version/ {print $3}' $srcdir/newt.spec) VERSION=0.50.38 -SONAME=0.50 +SONAME=50 ac_ext=c >Release-Note: >Audit-Trail: >Unformatted: >> Checksum OK for dhcp-conf.tgz. ===> dhcpconf-0.7.3 depends on shared library: gdbm.2 - found ===> dhcpconf-0.7.3 depends on shared library: newt.50 - found ===> Patching for dhcpconf-0.7.3 ===> Applying FreeBSD patches for dhcpconf-0.7.3 ===> Configuring for dhcpconf-0.7.3 ===> Building for dhcpconf-0.7.3 cc -O -pipe -march=pentiumpro -I/usr/local/include -c main.c cc -O -pipe -march=pentiumpro -I/usr/local/include -c screen.c screen.c: In function `update_fixed_list': screen.c:859: warning: passing arg 4 of `qsort' from incompatible pointer type screen.c: In function `update_subnet_list': screen.c:919: warning: passing arg 4 of `qsort' from incompatible pointer type cc -O -pipe -march=pentiumpro -I/usr/local/include -c help.c cc -O -pipe -march=pentiumpro -I/usr/local/include -c data.c cc -O -pipe -march=pentiumpro -I/usr/local/include -o dhcp-conf -L/usr/local/lib -lgdbm -lnewt main.o screen.o help.o data.o [root@darth-vader|(632)| dhcpconf]# ./work/dhcp-conf/dhcp-conf /usr/libexec/ld-elf.so.1: Shared object "libnewt.so.0.50" not found [root@darth-vader|(633)| dhcpconf]# locate libnewt /usr/local/lib/libnewt.a /usr/local/lib/libnewt.so /usr/local/lib/libnewt.so.50 [root@darth-vader|(634)| dhcpconf]# Maybe, there is a workaround ;) (I tried -soname, without success) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020916164634.37177.qmail>