[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

RE: gd and libgd



Thanks, Stephen.

That was indeed a typo as  you guessed.  I thought /lib and /usr/lib
were included by default but I've got this really weird problem.  I'll
do as you suggest and see if I can track it down.

Fred 
 

-----Original Message-----
From: nahant-list-bounces redhat com
[mailto:nahant-list-bounces redhat com] On Behalf Of Stephen Gardner
Sent: Thursday, March 24, 2005 8:57 AM
To: Red Hat Enterprise Linux 4 (Nahant) Discussion List
Subject: RE: gd and libgd

On Thu, 24 Mar 2005, Fred Magee wrote:

>>> Jason Brown wrote:
>>> I was trying to install ImageMagick and it wouldn't pick up the gd
and
>>> libgd.  I compiled these packages and then the ImageMagick program
now
>>> works.  The problem that I am now having is with my Webalizer
program
>>> is not working because it says that it cannot find libgd.  I try
>>> compiling it with the --with-libgd option which points to
>>> /usr/local/lib and it compiles ok, but when I try and start the
>>> program it complains that it can't find libgd.so.2
>>> Does anyone have any ideas on how to fix this?

>> Is /usr/local/lib listed in your /etc/ld.so.conf?
>> If not, add it and run ldconfig as root.

> Does /usr/lib or /lib need to be in /etc/ld.so.conf?  I'm having a
> similar problem with libdc++.so.5.

Fred,
        /usr/lib  and  /lib  are included when ldconfig is run by
default. 
You could run  ldconfig -p |grep <libraryname>  to see if the library is

listed in the dynamic library cache. It may be worth running
ldd <program-name>  and putting the missing library name into
find / -name '<missing-libraryname>'  just to make sure the 
required library file(s) is on the system if you haven't already.

Regards,
         Stephen

PS.  A quick final thought is that if  libdc++.so.5  was a typo of 
libstdc++.so.5  then is comes as part of the compat-libstdc++-33..
rpm -q compat-libstdc++-33  might worth checking.

References:
ldconfig(8)  man page

--
nahant-list mailing list
nahant-list redhat com
http://www.redhat.com/mailman/listinfo/nahant-list


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]