LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 09-15-2004, 02:10 AM   #1
anttu
LQ Newbie
 
Registered: Sep 2004
Posts: 9

Rep: Reputation: 0
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

Last edited by anttu; 09-15-2004 at 02:12 AM.
 
Old 09-15-2004, 06:13 AM   #2
320mb
Senior Member
 
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 47
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

Last edited by 320mb; 09-15-2004 at 06:15 AM.
 
Old 09-15-2004, 04:45 PM   #3
anttu
LQ Newbie
 
Registered: Sep 2004
Posts: 9

Original Poster
Rep: Reputation: 0
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
 
Old 09-16-2004, 04:45 AM   #4
anttu
LQ Newbie
 
Registered: Sep 2004
Posts: 9

Original Poster
Rep: Reputation: 0
Re: Re: Re: strange error during make of gd-library

up
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Make-Error: Vorbis Tools 1.0.1 - Library not found froedi Linux - Software 7 11-02-2009 02:04 AM
strange library problem RedRaven Fedora 7 01-03-2005 10:59 PM
Strange error in "make" ssueri Linux - Newbie 4 05-14-2004 02:52 AM
a strange make error bosewicht Linux - Newbie 1 04-04-2004 05:34 AM
make error "libtool: link: cannot find the library `' " jdolluc Linux - Software 2 10-15-2003 09:51 PM


All times are GMT -5. The time now is 07:43 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration