View previous topic :: View next topic |
Author |
Message |
jclasen
Joined: 06 Nov 2006 Posts: 2
|
Posted: Mon Nov 06, 2006 1:52 pm Post subject: Problem with radlib when compiling |
|
|
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 |
|
|
jclasen
Joined: 06 Nov 2006 Posts: 2
|
Posted: Tue Nov 07, 2006 9:21 am Post subject: Solved |
|
|
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.... |
|
Back to top |
|
|
|