Subject: LO-Interface.

From: M92 <[email-masked]>
Date: Fri, 18 Jun 93 02:48:11 -0700

I'm using the LO-interface to large objects in a dynamically loaded C function.
The function code contains the include files :

#include <sys/file.h>
#include "tmp/postgres.h"
#include "utils/palloc.h"
#include "utils/builtins.h"
#include "tmp/libpq-fe.h"
#include "tmp/libpq-fs.h"
#include "catalog/pg_lobj.h"

and I use the compile command :

cc -o lo_retrieve.o -I/usr/postgres/src/lib/H -I/usr/postgres/src/port/sunos4 -I/usr/postgres/obj.sunos4/lib/H lo_retrieve.c

However the compiler returns the warning :

ld: Undefined symbol 
   _LOread 
   _LOopen 
   _LOclose

Can anybody help ?

Thnaks, Paul.