problems installing gd-library
I've got a problem when I'm trying to compile the gd-library version 2.0.28 on my RH 8.0 box.
Configure goes through without problem... I have jpeg png gif and truetype2 support I get the following when I run make: 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 I don't understand where it looks for libgd.so.2, it's present under /usr/local/lib/ but should it be somewhere else?? I'm stucked! HELP! /Anttu |
I don't know, but it's not trying to read libgd.so.2.
If the output is libgd.so.2.0.0 (to which libgd.so.2 is just a symbolic link), then I wouldn't expect it to be reading libgd.so.2 at all. This bit:[quote]-Wl,-soname -Wl,libgd.so.2[/code] just tells the linker the name of the shared object file it's to create, and I don't see any other reference to libgd.so.2 there. It may actually be saying that it can't create the libgd.so.2 file (i.e. .libs/libgd.so.2.0.0). Does the .libs directory exist, and can you write to it? |
[QUOTE]Originally posted by rjlee
I don't know, but it's not trying to read libgd.so.2. If the output is libgd.so.2.0.0 (to which libgd.so.2 is just a symbolic link), then I wouldn't expect it to be reading libgd.so.2 at all. This bit: Quote:
If it's trying to create the file, in which directory does it try to make it?? Is it in /usr/local/lib (.libs/libgd.so.2.0.0) or is it in /home/bla/...../gd-2.0.28/ (.libs/libgd.so.2.0.0) ?? under those directories there isn't any libs directory... What should I do next?? /Anttu |
anyone!?!? HELP!!
|
Quote:
Note that .libs is (because of the leading dot) a hidden directory; you'll need to use ls -al .libs to see it. |
Quote:
The folder has drwxr-xr-x permissions... /Anttu |
Are you running make as another user, such as root? If so, you won't be able to create the file because only the owner has write-access to that directory.
|
Quote:
I can't just understand what could be wrong!?!???!?! :confused: :scratch: I'm going crazy soon... :cry: |
up
|
All times are GMT -5. The time now is 01:56 PM. |