HP3000-L Archives

November 2001, Week 1

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Mark Klein <[log in to unmask]>
Reply To:
Mark Klein <[log in to unmask]>
Date:
Fri, 2 Nov 2001 23:32:06 -0800
Content-Type:
text/plain
Parts/Attachments:
text/plain (17 lines)
Pete writes:

>The second program uses libpgeasy, which uses libpq itself. When I run the
>second program, it coughs up UNRESOLVED EXTERNALS on all the functions in
>libpq. Why would this be? I had -lpq in my compile. Do I need to either
>manually link the program or possibly some how link the libpgeasy library
>that came with Postgres to libpq? I appoligize if I'm way of on this stuff,
>I don't know a thing about this linking and library stuff.

It may be nothing more than placement of the libraries in your link
list. Try specifying -lpgeasy -lpq in that order. If that still fails,
using LINKEDIT, do a LISTRL on the .a file for one of the symbols that
is "missing" to make sure it is entry universal.

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2