From owner-freebsd-questions@FreeBSD.ORG Mon Apr 19 07:14:19 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 271F116A4CE for ; Mon, 19 Apr 2004 07:14:19 -0700 (PDT) Received: from qescan1.qgraph.com (QESCAN2.qgraph.com [206.158.124.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7A06143D48 for ; Mon, 19 Apr 2004 07:14:18 -0700 (PDT) (envelope-from James.Ziller@qg.com) Received: by sxsmtp1.qgraph.com with Internet Mail Service (5.5.2657.72) id ; Mon, 19 Apr 2004 09:14:14 -0500 Message-ID: <025596A38A894B45AFE62346A6BF474609CBACCD@waexch1.qgraph.com> From: "Ziller, James" To: "'freebsd-questions@freebsd.org'" Date: Mon, 19 Apr 2004 09:14:28 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: Dependency hell X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Apr 2004 14:14:19 -0000 Hello all, It's been awhile since I used FreeBSD but I've been itching to try 5.x so I installed it the other day. Im having big problems with the ports collection and dependencies even though I've read through multiple docs on using portupgrade which is suppose to make dealing with dependencies easy. I apoligize if I'm missing something obvious here but I'd appreciate any help because I am not seeing any easy solutions. Problem in a nutshell: I install FBSD 5.2.1 Grab the latest ports tree portsdb -Uu Now,for example, I use portupdate to install a port that requires the latest version of expat - so expat is upgraded and I now have libexpat.so.5 Xterm no longer works because it depends on libexpat.so.4 Making a simple symlink from libexpat.so.4 to libexpat.so.5 will allow xterm to run again - but of course that's a dirty disgusting way to do things. >From what I understood, pkgdb is the tool to fix this, but running pkgdb -F will not prompt me to change xterm dependencies from libexpat.so.4 to libexpat.so.5. This has been the case with a handful of other libraries that have been upgraded. Surely I don't need to recompile Xfree86 and everything else thats looking for libexpat.so.4 or another library that has been upgraded...right??? Heres an example with pango, which was upgraded with portupgrade. [alhazred@jziller lib]$sudo pkgdb -F ---> Checking the package registry database [alhazred@jziller lib]$ Ok, so everything should be fine right? [alhazred@jziller lib]$epiphany /libexec/ld-elf.so.1: Shared object "libpangoft2-1.0.so.200" not found ...but it isnt. [alhazred@jziller lib]$ls -lah libpangoft2* -rw-r--r-- 1 root wheel 167K Apr 19 08:11 libpangoft2-1.0.a lrwxr-xr-x 1 root wheel 22B Apr 19 08:11 libpangoft2-1.0.so -> libpangoft2-1.0.so.399 -rwxr-xr-x 1 root wheel 148K Apr 19 08:11 libpangoft2-1.0.so.399 Shouldn't epiphany have been updated to use the new pango with pkgdb -F? What am I doing wrong?? Please help figure out what I'm missing here! Thanks, James Ziller Information Systems Quad/Graphics - Q/DS West Allis, Wisconsin james.ziller@qg.com