wviewweather.com Forum Index wviewweather.com
wview and Weather Topics
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Problems "making" 1.8.4

 
Post new topic   Reply to topic    wviewweather.com Forum Index -> wview Installation
View previous topic :: View next topic  
Author Message
chrisale



Joined: 09 Nov 2005
Posts: 187

PostPosted: Thu Nov 17, 2005 3:51 pm    Post subject: Problems "making" 1.8.4 Reply with quote

I'm trying to upgrade to 1.8.4

I've install radlib 2.5

and it installs correctly.

I'm getting this error when "making" 1.8.4:

Code:
gcc  -g -O2   -o htmlgend -L/usr/lib -L/usr/local/lib -L/usr/local/lib -L/usr/local/lib/mysql -L/usr/lib/mysql  wvutils.o lunarCycle.o dbfiles.o windAverage.o html.o htmlStates.o htmlMgr.o htmlGenerate.o noaaGenerate.o arcrecGenerate.o htmlUtils.o glbucket.o glchart.o glmultichart.o images.o images-user.o -lrad -lgd -lpng -lz -lc -lm -lmysqlclient  -lz -lpng -lm -lgd -lc
htmlGenerate.o(.text+0x63de): In function `htmlGenPngDialWind':
../htmlgenerator/htmlGenerate.c:3137: undefined reference to `gdImageFilledEllipse'
htmlGenerate.o(.text+0x6599):../htmlgenerator/htmlGenerate.c:3166: undefined reference to `gdImageFilledEllipse'
htmlGenerate.o(.text+0x68a4):../htmlgenerator/htmlGenerate.c:3203: undefined reference to `gdImageSetThickness'
htmlGenerate.o(.text+0x6d0a): In function `htmlGenPngDialTemperature':
../htmlgenerator/htmlGenerate.c:3375: undefined reference to `gdImageFilledEllipse'
htmlGenerate.o(.text+0x70f5):../htmlgenerator/htmlGenerate.c:3426: undefined reference to `gdImageFilledEllipse'
htmlGenerate.o(.text+0x73d1):../htmlgenerator/htmlGenerate.c:3476: undefined reference to `gdImageSetThickness'
htmlGenerate.o(.text+0x7586):../htmlgenerator/htmlGenerate.c:3497: undefined reference to `gdImageSetThickness'
htmlGenerate.o(.text+0x76fc):../htmlgenerator/htmlGenerate.c:3509: undefined reference to `gdImageSetThickness'
htmlGenerate.o(.text+0x7b32): In function `htmlGenPngDialHumidity':
../htmlgenerator/htmlGenerate.c:3640: undefined reference to `gdImageFilledEllipse'
htmlGenerate.o(.text+0x7d27):../htmlgenerator/htmlGenerate.c:3670: undefined reference to `gdImageFilledEllipse'
htmlGenerate.o(.text+0x7f32):../htmlgenerator/htmlGenerate.c:3698: undefined reference to `gdImageSetThickness'
htmlGenerate.o(.text+0x80ee):../htmlgenerator/htmlGenerate.c:3713: undefined reference to `gdImageSetThickness'
htmlGenerate.o(.text+0x8274):../htmlgenerator/htmlGenerate.c:3725: undefined reference to `gdImageSetThickness'
htmlGenerate.o(.text+0x866f): In function `htmlGenPngDialNetRain':
../htmlgenerator/htmlGenerate.c:3968: undefined reference to `gdImageFilledEllipse'
htmlGenerate.o(.text+0x88ce):../htmlgenerator/htmlGenerate.c:3998: undefined reference to `gdImageFilledEllipse'
htmlGenerate.o(.text+0x8b1f):../htmlgenerator/htmlGenerate.c:4027: undefined reference to `gdImageSetThickness'
glbucket.o(.text+0x4ae): In function `drawBucket':
../htmlgenerator/glbucket.c:200: undefined reference to `gdImageSetThickness'
glbucket.o(.text+0x51d):../htmlgenerator/glbucket.c:207: undefined reference to `gdImageSetThickness'
glchart.o(.text+0x576): In function `drawGrid':
../htmlgenerator/glchart.c:239: undefined reference to `gdImageSetThickness'
glchart.o(.text+0x6a9):../htmlgenerator/glchart.c:261: undefined reference to `gdImageSetThickness'
glchart.o(.text+0xaab):../htmlgenerator/glchart.c:325: more undefined references to `gdImageSetThickness' follow
collect2: ld returned 1 exit status
make[2]: *** [htmlgend] Error 1
make[2]: Leaving directory `/home/chrisale/wview-1.8.4/htmlgenerator'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/chrisale/wview-1.8.4'


Seems to be a problem with the GD libraries?

Is there a specific version that we need? I'm running the latest ones that come with Debian Linux.

Any help greatly appreciated.
Back to top
View user's profile Send private message MSN Messenger
mteel



Joined: 30 Jun 2005
Posts: 435
Location: Collinsville, TX

PostPosted: Thu Nov 17, 2005 4:19 pm    Post subject: Reply with quote

Execute: "whereis libgd.so"
Make sure the returned path is in /etc/ld.so.conf - if it isn't (as root) add the path whereis returned to that file then execute "ldconfig".

It isn't finding the shared version of the gd library...
Back to top
View user's profile Send private message Send e-mail Visit poster's website
chrisale



Joined: 09 Nov 2005
Posts: 187

PostPosted: Thu Nov 17, 2005 11:04 pm    Post subject: Reply with quote

Does it require version 2.0 of the gd libraries? I'm still getting the same errors.. I seem to have both 1.8.4 and 2.0 gd libraries installed.. whereis finds shared libraries of both
Back to top
View user's profile Send private message MSN Messenger
chrisale



Joined: 09 Nov 2005
Posts: 187

PostPosted: Thu Nov 17, 2005 11:56 pm    Post subject: Reply with quote

I think it might not have liked having two versions of GD in there... i uninstalled both and reinstalled only the GD2.0 libraries.

It maked and installed successfully.

All good.
Back to top
View user's profile Send private message MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    wviewweather.com Forum Index -> wview Installation All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group