LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   strange error during make of gd-library (http://www.linuxquestions.org/questions/linux-software-2/strange-error-during-make-of-gd-library-230788/)

anttu 09-15-2004 02:10 AM

strange error during make of gd-library
 
trying to compile gd-library after configure and getting this:

Code:

.
.
.
rm -fr .libs/libgd.la .libs/libgd.* .libs/libgd.*
 gcc -shared gd.lo gdfx.lo gd_gd.lo gd_gd2.lo gd_io.lo gd_io_dp.lo
gd_gif_in.lo gd_gif_out.lo gd_io_file.lo gd_io_ss.lo gd_jpeg.lo gd_png.lo
gd_ss.lo gd_topal.lo gd_wbmp.lo gdcache.lo gdfontg.lo gdfontl.lo gdfontmb.lo
gdfonts.lo gdfontt.lo gdft.lo gdhelpers.lo gdkanji.lo gdtables.lo gdxpm.lo
wbmp.lo -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/local/lib
-L/usr/local/lib -L/home/bla/files/linux_progs/source/gd-2.0.28 -ljpeg
/usr/local/lib/libfreetype.so -lpng12 -lz -lm -Wl,--rpath -Wl,/usr/local/lib
-Wl,-rpath -Wl,-soname -Wl,libgd.so.2 -o .libs/libgd.so.2.0.0
 /usr/bin/ld: cannot open libgd.so.2: No such file or directory
 collect2: ld returned 1 exit status
 make[2]: *** [libgd.la] Error 1
 make[2]: Leaving directory `/home/bla/files/linux_progs/source/gd-2.0.28'
 make[1]: *** [all-recursive] Error 1
 make[1]: Leaving directory `/home/bla/files/linux_progs/source/gd-2.0.28'
 make: *** [all] Error 2

It's trying to create a file in ./libs but I just can't understand why it can't do it??!
I'm running make as root...the folder (and the whole tree) has root as owner...?!

Can anyone answer this??
Thanx!

/Anttu

320mb 09-15-2004 06:13 AM

Re: strange error during make of gd-library
 
Quote:

Originally posted by anttu
trying to compile gd-library after configure and getting this:

Code:

/usr/bin/ld: cannot open libgd.so.2: No such file or directory

it's looking for this shared library..............

do a "find" for this shared library--------libgd.so.2.0.0

if you have it....just make a symlink


Code:

libgd.so.2.0.0 -> libgd.so.2

anttu 09-15-2004 04:45 PM

Re: Re: strange error during make of gd-library
 
Quote:

Originally posted by 320mb
it's looking for this shared library..............

do a "find" for this shared library--------libgd.so.2.0.0

if you have it....just make a symlink


Code:

libgd.so.2.0.0 -> libgd.so.2

There is already a libgd.so.2 in the same folder as libgd.so.2.0.0 which is /usr/local/lib. In fact I think that the file libgd.so.2.0.0 is a symlink from libgd.so.2
Is there anything else I can do to make it work??

It's by the way a RH 8.0 system

/Anttu

anttu 09-16-2004 04:45 AM

Re: Re: Re: strange error during make of gd-library
 
up


All times are GMT -5. The time now is 05:04 AM.