From owner-freebsd-questions Fri Oct 25 5:49:30 2002 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 C7F5B37B401 for ; Fri, 25 Oct 2002 05:49:28 -0700 (PDT) Received: from lv.raad.tartu.ee (lv.raad.tartu.ee [194.126.106.110]) by mx1.FreeBSD.org (Postfix) with ESMTP id DAC2C43E6A for ; Fri, 25 Oct 2002 05:49:25 -0700 (PDT) (envelope-from toomas.aas@raad.tartu.ee) Received: Message by Barricade lv.raad.tartu.ee with ESMTP id g9PCnNb24525 for ; Fri, 25 Oct 2002 15:49:23 +0300 Message-Id: <200210251249.g9PCnNb24525@lv.raad.tartu.ee> Received: from SpoolDir by INFO (Mercury 1.48); 25 Oct 02 15:48:44 +0300 From: "Toomas Aas" Organization: Tartu City Government To: questions@freebsd.org Date: Fri, 25 Oct 2002 15:48:40 +0300 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: Webalizer undefined symbol problem In-reply-to: <200210251002.g9PA2qO18779@lv.raad.tartu.ee> X-info: Headers changed by Barricade Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Previously, I wrote: > heerold# webalizer -p -c /usr/local/etc/webalizer.my.conf > /usr/libexec/ld-elf.so.1: /usr/lib/libgd.so.2: Undefined symbol > "jpeg_destroy" > > All the dependencies for webalizer seem to be installed: > > heerold# pkg_info | grep -E "jpeg|png|gd" > gd-1.8.4_6 A graphics library for fast image creation > jpeg-6b_1 IJG's jpeg compression utilities > png-1.2.4 Library for manipulating PNG images The reason for this was me being blind. In spite of staring at the error message for an extended period of time, I never noticed that it was complaining about /usr/lib/libgd.so.2, not /usr/local/lib/libgd.so.2. Only after re-reading a message in this thread did I notice this. There was indeed another instance of libgd.so.2 in /usr/lib, which was actually a symlink to /usr/lib/libgd.so.2.0.0. How it got there, I have no idea. I removed this symlink and voila - webalizer started working! I have yet to see what I broke by removing /usr/lib/libgd.so.2. -- Toomas Aas | toomas.aas@raad.tartu.ee | http://www.raad.tartu.ee/~toomas/ * Key ring - a handy little gadget that allows you to lose all your keys at once. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message