[lug] C extensions of PostgreSQL

D. Stimits stimits at comcast.net
Wed Aug 6 06:29:26 MDT 2003


I'm trying to write a C function for PostgreSQL on RH 7.3 (KRUD), and 
running into a problem. The C code must apparently link against a 
library that provides functions "CurrentMemoryContext" and 
"MemoryContextAlloc" (probably due to palloc). I've been digging around 
with nm and fail to find it. I'm currently linking as:
   -lkrb5 -lk5crypto -lcom_err -lpq -ldl

Can someone tell me what I am missing?

D. Stimits, stimits AT comcast DOT net




More information about the LUG mailing list