Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Oct 2002 15:48:40 +0300
From:      "Toomas Aas" <toomas.aas@raad.tartu.ee>
To:        questions@freebsd.org
Subject:   Re: Webalizer undefined symbol problem
Message-ID:  <200210251249.g9PCnNb24525@lv.raad.tartu.ee>
In-Reply-To: <200210251002.g9PA2qO18779@lv.raad.tartu.ee>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200210251249.g9PCnNb24525>