[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: .so and .a libs, tcl, postgres = in over my head

>>>>> "David" == David Welton <davidw@gate.cks.com> writes:
    David> My first problem is that unless there are actually some
    David> symbols in the C code, it won't link the tcl lib.
    David> But.. even including some Tcl stuff to make it load doesn't
    David> seem to fix the overall problem (btw, how do you force
    David> linking a lib?).

If you continue to link against a static lib, you're going to need
some sort of symbol table to force the inclusion of all the code you
need.  If you link against a dynamic tcl lib, you won't as the dynamic
loader has to have access to the entire symbol table in the .so

The question is, therefore, why are you linking against a static tcl lib?

all coders are created equal; that they are endowed with certain
unalienable rights, of these are beer, net connectivity, and the
pursuit of bugfixes...  - Gregory R Block

To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Reply to: