Received: from web12504.mail.yahoo.com (web12504.mail.yahoo.com [216.136.173.196]) by postgresql.org (8.11.3/8.11.1) with SMTP id f3F1tiu81490 for ; Sat, 14 Apr 2001 21:55:44 -0400 (EDT) (envelope-from lonnie_cumberland@yahoo.com) Message-ID: <20010415015542.92098.qmail@web12504.mail.yahoo.com> Received: from [141.217.140.65] by web12504.mail.yahoo.com; Sat, 14 Apr 2001 18:55:42 PDT Date: Sat, 14 Apr 2001 18:55:42 -0700 (PDT) From: Lonnie Cumberland Subject: what about external libraries? To: pgsql-interfaces@postgresql.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Archive-Number: 200104/40 X-Sequence-Number: 1423 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/