From owner-freebsd-questions@FreeBSD.ORG Fri May 25 12:57:35 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8548816A400 for ; Fri, 25 May 2007 12:57:35 +0000 (UTC) (envelope-from lreid@cs.okstate.edu) Received: from a.cs.okstate.edu (a.cs.okstate.edu [139.78.113.1]) by mx1.freebsd.org (Postfix) with ESMTP id 6715F13C44C for ; Fri, 25 May 2007 12:57:35 +0000 (UTC) (envelope-from lreid@cs.okstate.edu) Received: from [172.18.0.137] (sky_cpfw-1.tulsatech.org [70.168.226.130]) by a.cs.okstate.edu (Postfix) with ESMTP id 47945A07D7; Fri, 25 May 2007 07:57:34 -0500 (CDT) Message-ID: <4656DD39.6070406@cs.okstate.edu> Date: Fri, 25 May 2007 07:57:29 -0500 From: Reid Linnemann User-Agent: Thunderbird 2.0.0.0 (X11/20070517) MIME-Version: 1.0 To: jbarnet@fire2.dyndns.org References: <46567A6F.4050904@fire2.dyndns.org> In-Reply-To: <46567A6F.4050904@fire2.dyndns.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: CUPs and libgnutls 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: Fri, 25 May 2007 12:57:35 -0000 Written by jbarnet on 05/25/07 00:55>> > I'm receiving this error: /libexec/ld-elf.so.1: Shared object > "libgnutls.so.13" not found, required by "libcups.so.2" > (Swat (part of samba) is trying to load, and it bombs out). > > I installed samba via ports (which cups was either pre-installed or > installed via a pre-req of another package)... so I'm wondering: > > 1) why didn't cups install the correct libgnutls version that it needed? > 2) how do I find out which pacakge/port the libgnutls.so is part of? > > Thanks > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" It sounds to me like cups was installed via a package or previous ports tree, and through some action the gnutls port was upgraded causing the libgnutls.so.13 library to vanish. Since cups is dynamically linked to the old version of the library, and no intervening actions have been made to point it to the right library, it barfs when you try to run it because a library it requires at runtime is missing. I think the best solution at this point would be to rebuild cups from the ports tree so it will link to the correct gnutls library.