Return-Path: pg_adm@postgres.berkeley.edu
Received: by postgres.Berkeley.EDU (5.61/1.29)
	id AA28908; Fri, 18 Jun 93 02:48:11 -0700
Date: Fri, 18 Jun 93 02:48:11 -0700
Message-Id: <9306180948.AA28908@postgres.Berkeley.EDU>
From: M92 <hamiltop@computer-science.manchester.ac.uk>
Subject: LO-Interface.
To: postgres@postgres.berkeley.edu
Sender: pg_adm@postgres.berkeley.edu

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.
