| FOSSLC is a non-profit organization that specializes in technology and know-how to record conferences with excellent quality. Click on the icons below to view great videos from communities we are actively involved with: | ||||||||
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
||
AsGML Status
Since last week, I have been trying to get Ingres to compile with my AsGML implementation. I was shocked to find that the AsGML, AsKML, AsJSON functions themselves are probably not the most difficult part of the project this term, but rather trying to make OGR linked TO Ingres. (Not having too much experience with c/c++ compilers, I thought it would be a simple include statement like the OGR API tutorial mentioned.)
As a recap, the error runbuild returned was:
/home/ingres/server/build/lib/libq.1.so: undefined reference to `OGR_G_CreateFromWkb'
collect2: ld returned 1 exit status
So first, I installed GDAL/OGR successfully. Then I tried to brute force the link to the libgdal.so library in /usr/local/lib.
I looked through the Jam related files in the src subdirectories. It seems all the library linking variables are set in the /src/tools/port/jam folder. So I went into /home/ingres/server/src/tools/port/jam and editted the Jamrules file. I searched for libq.1, two lines had the result with dependencies coded. I have added the following lines:
5918: DEPENDS $(<): "\/usr\/local\/lib\/libgdal.so";
5975: DEPENDS $(<): "\/usr\/local\/lib\/libgdal.so";
but the same error returned upon build. I guess there must be more to it.
Then I ran a grep on "geos" in that folder, seems the following files are all related:
precheck_functions
bldenv
Jamdefs
Jamrules
bldenv.bat
With the project due before December 12th, my plan is to contact Shawn and figure out if we can split the work to get the GDAL link working.
- yorkhua's blog
- Login to post comments







