From owner-freebsd-questions@FreeBSD.ORG Sun Jun 18 00:36:08 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 B767616A479 for ; Sun, 18 Jun 2006 00:36:08 +0000 (UTC) (envelope-from brenthostetler@gmail.com) Received: from wx-out-0102.google.com (wx-out-0102.google.com [66.249.82.206]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0661743D45 for ; Sun, 18 Jun 2006 00:36:07 +0000 (GMT) (envelope-from brenthostetler@gmail.com) Received: by wx-out-0102.google.com with SMTP id i31so641186wxd for ; Sat, 17 Jun 2006 17:36:07 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=mKgWIKQNEl7S2eYxyZIbPIouhNo7EyOc7EgdvfAbTFTsh+9BxhiUeZxPMfjB2h7WOjbSAdn24NCARVNbCZLAAPrza+a2odiu/LLF5Veyr+Sih+3ag+3dL41/oO10QGAOApuenvf3i5yl4rBLhCFdvAWD1xPBMMNzV4ahQbcREl8= Received: by 10.70.73.4 with SMTP id v4mr6290294wxa; Sat, 17 Jun 2006 17:36:07 -0700 (PDT) Received: by 10.70.21.3 with HTTP; Sat, 17 Jun 2006 17:36:07 -0700 (PDT) Message-ID: Date: Sat, 17 Jun 2006 17:36:07 -0700 From: "Brent Hostetler" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Library Dependency: package built from port X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Jun 2006 00:36:08 -0000 Here is scenario: Machine1: destination server with multiple jails Machine2: build computer Machine2 tracks RELENG_6_1, builds any updates. /usr/src and /usr/obj copied from Machine2 to Machine 1. Updates are installed on Machine1. This works great. Now I want to build ports on Machine2 as packages then install the packages on Machine1. I am having problems with this scenario. Here is what Im doing. Example case, install /usr/ports/www/elinks 1. cd /usr/ports/www/elinks 2. use make all-depends-list to determine dependencies 3. make package-recursive 4. then I tar up the .tbz files 5. copy to Machine1; untar; then pkg_add the tarballs 6. rehash 7. www# elinks /libexec/ld-elf.so.1: Shared object "libX11.so.6" not found, required by "elinks" www# ldd /usr/local/bin/elinks /usr/local/bin/elinks: libX11.so.6 => not found (0x0) libssl.so.4 => /usr/lib/libssl.so.4 (0x28115000) libcrypto.so.4 => /lib/libcrypto.so.4 (0x28143000) libz.so.3 => /lib/libz.so.3 (0x2823a000) libbz2.so.2 => /usr/lib/libbz2.so.2 (0x2824a000) libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x28259000) libc.so.6 => /lib/libc.so.6 (0x28346000) Questions: 1. Why is pkg_add not mentioning missing dependency? 2. What pkg/port needs install for this dependency? 3. How can I improve this process to eliminate future problems? Thanks! brent