View previous topic :: View next topic |
Author |
Message |
chrisale
Joined: 09 Nov 2005 Posts: 187
|
Posted: Thu Nov 17, 2005 3:51 pm Post subject: Problems "making" 1.8.4 |
|
|
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 |
|
|
mteel
Joined: 30 Jun 2005 Posts: 435 Location: Collinsville, TX
|
Posted: Thu Nov 17, 2005 4:19 pm Post subject: |
|
|
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 |
|
|
chrisale
Joined: 09 Nov 2005 Posts: 187
|
Posted: Thu Nov 17, 2005 11:04 pm Post subject: |
|
|
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 |
|
|
chrisale
Joined: 09 Nov 2005 Posts: 187
|
Posted: Thu Nov 17, 2005 11:56 pm Post subject: |
|
|
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 |
|
|
|