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 

Problem with radlib when compiling

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



Joined: 06 Nov 2006
Posts: 2

PostPosted: Mon Nov 06, 2006 1:52 pm    Post subject: Problem with radlib when compiling Reply with quote

Hi,

I am trying to install on an Ubuntu installation.

I have downloaded, configured, compiled and installed radlib-2.6.2.

...ran "./configure --enable-mysql"

and it complained about that it couldn`t find raddatabase.h. Fine. I copied it to /usr/local/include that I can see is beeing searched "-I/usr/local/include".

But then it complains that it cannot link with some library that I cannot figure out:

gcc -g -O2 -o wviewsqld -L/usr/lib -L/usr/local/lib -L/usr/local/lib -L/usr/local/lib/mysql -L/usr/lib/mysql wvutils.o dbfiles.o sqld.o dbdatabase.o -lc -lm -lrad -lmysqlclient -lz -lrad -lpng -lm -lgd -lc
dbdatabase.o: In function `dbdatabaseInsertRecord':
../common/dbdatabase.c:270: undefined reference to `raddatabaseQuery'
../common/dbdatabase.c:288: undefined reference to `raddatabaseTableDescriptionGet'
../common/dbdatabase.c:296: undefined reference to `raddatabaseFieldGet'
../common/dbdatabase.c:303: undefined reference to `raddatabaseFieldSetDateTimeValue'
../common/dbdatabase.c:305: undefined reference to `raddatabaseFieldGet'
../common/dbdatabase.c:312: undefined reference to `raddatabaseFieldSetIntValue'
../common/dbdatabase.c:314: undefined reference to `raddatabaseFieldGet'
../common/dbdatabase.c:322: undefined reference to `raddatabaseFieldSetFloatValue'
../common/dbdatabase.c:327: undefined reference to `raddatabaseFieldGet'
../common/dbdatabase.c:335: undefined reference to `raddatabaseFieldSetFloatValue'
../common/dbdatabase.c:340: undefined reference to `raddatabaseFieldGet'
../common/dbdatabase.c:348: undefined reference to `raddatabaseFieldSetFloatValue'
../common/dbdatabase.c:353: undefined reference to `raddatabaseFieldGet'
../common/dbdatabase.c:361: undefined reference to `raddatabaseFieldSetFloatValue'


And about 50 lines more that I haven`t put here.

What can be the problem? It`s library for sure, but which?
Back to top
View user's profile Send private message
jclasen



Joined: 06 Nov 2006
Posts: 2

PostPosted: Tue Nov 07, 2006 9:21 am    Post subject: Solved Reply with quote

radlib needs to be configured with the "--enable-mysql" ASWELL as wview. Then raddatabase.h needs to be copied by hand to /usr/local/include before compiling wview.

Once all the libraries has been installed there are no more problems.

Thanks to my Debian developer friend that showed my the
"objdump -T -t /usr/lib/libgd.so.1 | grep gdImageFilledEllips" trick....Wink
Back to top
View user's profile Send private message
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