From owner-freebsd-bugs@FreeBSD.ORG Fri Nov 8 15:50:00 2013 Return-Path: Delivered-To: freebsd-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 9FA8DC36 for ; Fri, 8 Nov 2013 15:50:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 7F9392170 for ; Fri, 8 Nov 2013 15:50:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id rA8Fo0Rr095769 for ; Fri, 8 Nov 2013 15:50:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id rA8Fo0Bb095768; Fri, 8 Nov 2013 15:50:00 GMT (envelope-from gnats) Resent-Date: Fri, 8 Nov 2013 15:50:00 GMT Resent-Message-Id: <201311081550.rA8Fo0Bb095768@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, ganthore Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id D0BA4C26 for ; Fri, 8 Nov 2013 15:48:15 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id BE49C2164 for ; Fri, 8 Nov 2013 15:48:15 +0000 (UTC) Received: from oldred.freebsd.org ([127.0.1.6]) by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id rA8FmFaA053754 for ; Fri, 8 Nov 2013 15:48:15 GMT (envelope-from nobody@oldred.freebsd.org) Received: (from nobody@localhost) by oldred.freebsd.org (8.14.5/8.14.5/Submit) id rA8FmFnw053750; Fri, 8 Nov 2013 15:48:15 GMT (envelope-from nobody) Message-Id: <201311081548.rA8FmFnw053750@oldred.freebsd.org> Date: Fri, 8 Nov 2013 15:48:15 GMT From: ganthore To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: misc/183790: ports-mgmt/pkg broken due to missing /usr/local/lib/libyaml.so.1 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Nov 2013 15:50:00 -0000 >Number: 183790 >Category: misc >Synopsis: ports-mgmt/pkg broken due to missing /usr/local/lib/libyaml.so.1 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Nov 08 15:50:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: ganthore >Release: FreeBSD-10.0-BETA3 >Organization: Red Hat >Environment: FreeBSD 10.0-BETA3 FreeBSD 10.0-BETA3 #0 r257580: Sun Nov 3 19:43:01 UTC 2013 root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 >Description: After upgrading to FreeBSD-10.0-BETA3, I noticed that pkg is broken. This may correlate to my earlier report: amd64/183789: Upgrading to FreeBSD-10.0-BETA3 Breaks Portmaster DB I use portmaster for everything so I didn't notice the problem until I invoked pkg by itself. It results in the following error: # pkg Shared object "libyaml.so.1" not found, required by "pkg" I checked /usr/local/lib and discovered that libyaml.so is there but libyaml.so.1 is not: # ls -lah /usr/local/lib | grep libyaml lrwxr-xr-x 1 root wheel 14B Nov 8 10:36 libyaml-0.so -> libyaml-0.so.2 -rwxr-xr-x 1 root wheel 128K Nov 8 10:36 libyaml-0.so.2 -rw-r--r-- 1 root wheel 163K Nov 8 10:36 libyaml.a -rwxr-xr-x 1 root wheel 943B Nov 8 10:36 libyaml.la lrwxr-xr-x 1 root wheel 14B Nov 8 10:36 libyaml.so -> libyaml-0.so.2 To correct the problem. I simply made a symbolic link, but this should be corrected in the ports-mgmt/pkg or textproc/libyaml package. >How-To-Repeat: 1) Have a FreeBSD-10.0-BETA2 system fully up-to-date in ports. Have PKGNG enabled in /etc/make.conf and make sure that ports-mgmt/pkg is installed. 2) Upgrade to FreeBSD-10.0-BETA3 from BETA2. 3) Run the pkg command: pkg 4) You should see this error: Shared object "libyaml.so.1" not found, required by "pkg" >Fix: To fix the immediate problem, make a symbolic link to /usr/local/lib/libyaml.so as /usr/local/lib/libyaml.so.1 ln -s /usr/local/lib/libyaml.so /usr/local/lib/libyaml.so.1 >Release-Note: >Audit-Trail: >Unformatted: