pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
what about external libraries?
2+ messages / 2 participants
[nested] [flat]

* what about external libraries?
@ 2001-04-15 01:55 Lonnie Cumberland <lonnie_cumberland@yahoo.com>
  2001-04-15 10:35 ` Re: what about external libraries? Peter Eisentraut <peter_e@gmx.net>
  0 siblings, 1 reply; 2+ messages in thread

From: Lonnie Cumberland @ 2001-04-15 01:55 UTC (permalink / raw)
  To: pgsql-interfaces

Hello All,

I finally was able to get the EXTERN "C" statement to work while compiling my
postgresql extension c++ functions.

No my question is on how to handle my external library?

In my external funcs.cc program, I am calling using some functions that are in
"libcryptopp.a" and now the task is to let the "funcs.so" know how to link to
this as well, although it appears that we do not actually do any linking or I
could simply use the "-lcrypt" command line parameter with g++

Does anyone know how to do this?

Cheers,
Lonnie

__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: what about external libraries?
  2001-04-15 01:55 what about external libraries? Lonnie Cumberland <lonnie_cumberland@yahoo.com>
@ 2001-04-15 10:35 ` Peter Eisentraut <peter_e@gmx.net>
  0 siblings, 0 replies; 2+ messages in thread

From: Peter Eisentraut @ 2001-04-15 10:35 UTC (permalink / raw)
  To: Lonnie Cumberland <lonnie_cumberland@yahoo.com>; +Cc: pgsql-interfaces

Lonnie Cumberland writes:

> In my external funcs.cc program, I am calling using some functions that are in
> "libcryptopp.a" and now the task is to let the "funcs.so" know how to link to
> this as well, although it appears that we do not actually do any linking or I
> could simply use the "-lcrypt" command line parameter with g++

It would surely have to be -lcryptopp.

-- 
Peter Eisentraut   peter_e@gmx.net   http://funkturm.homeip.net/~peter




^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2001-04-15 10:35 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2001-04-15 01:55 what about external libraries? Lonnie Cumberland <lonnie_cumberland@yahoo.com>
2001-04-15 10:35 ` Peter Eisentraut <peter_e@gmx.net>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox