Re: Webalizer undefined symbol problem
Friday, October 25, 2002, 12:02:01 PM, you wrote: Hello! To analyze the logs of my web server, I installed /usr/ports/www/webalizer, which got me webalizer-2.1.10_1 version of the port. The install goes without any problems, but attempts to run webalizer result in following message: 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 What's up? -- Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/ * War doesn't determine who's right. War determines who's left. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message Dear Toomas, Do `find /usr/ports -name pkg-plist -exec grep -l libgd* \;` This will find all ports that may got your file in there list. If one or more port come along that you have installed on your system then rebuild it. (Assuming you got portupgrade installed) `portupgrade -f port` If this doesn't work do `find / -name libgd*`. If you find a file named like libgd.so.number some where on you file system make a link to it. Check if there is a libgd.so@ (ls -F) If so make a link to this file (it will save you trouble when the number changes). -- Best regards, Alex The FreeBSD handbook http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/index.html How to get the best results from FreeBSD-Questions http://www.lemis.com/questions.html To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Webalizer undefined symbol problem
Hi! 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 Do `find /usr/ports -name pkg-plist -exec grep -l libgd* \;` This will find all ports that may got your file in there list. If one or more port come along that you have installed on your system then rebuild it. (Assuming you got portupgrade installed) `portupgrade -f port` If this doesn't work do `find / -name libgd*`. If you find a file named like libgd.so.number some where on you file system make a link to it. Are you hinting that the gd library is not actually installed on my system? I don't think this is the case, because when installing webalizer, the following is printed on the screen: === webalizer-2.1.10_1 depends on shared library: gd.2 - found Also, libgd.so.2 lives in /usr/local/lib and libgd.so is symlinked to it. I think there's something else going on here... -- Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/ * Money is the root of all evil. For more info send $39 To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re[2]: Webalizer undefined symbol problem
Hello/Beste Toomas, Friday, October 25, 2002, 12:42:18 PM, you wrote: Previously, I wrote: Are you hinting that the gd library is not actually installed on my system? I don't think this is the case, because when installing webalizer, the following is printed on the screen: === webalizer-2.1.10_1 depends on shared library: gd.2 - found Also, libgd.so.2 lives in /usr/local/lib and libgd.so is symlinked to it. I apologize for my blindness. I didn't notice that the error message referred to /usr/lib/libgd.so.2, not /usr/local/lib/libgd.so.2 There was indeed *another* version of libgd.so.2 in /usr/local. I have no idea why it was there, so I removed it to see what breaks :-) As soon as I removed /usr/lib/libgd.so.2, webalizer started to work. I assume it's now using the right version of libgd. I had a similar problem with a other port. Sometimes everything look ok but this wasn't the case. Now days i just recompile the port with the mentioned file. If that doesn't work then i recompile everything. (either idprio 30 portupdrade -Rrf port-i-want-to-start or idprio 30 portupdrade -fa) Worst case is that *my machine* lost some time (which it got plenty of), best case is that my problem is fixed. -- Best regards/Met vriendelijke groet, Alex To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message