unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
* guile-pg-0.07ttn6 libpostgres.so: undefined symbol
@ 2002-12-02  8:31 Stan Pinte
  2002-12-02 10:12 ` Thien-Thi Nguyen
  0 siblings, 1 reply; 2+ messages in thread
From: Stan Pinte @ 2002-12-02  8:31 UTC (permalink / raw)


hello,

I freshly compiled and installed guile-pg-0.07ttn6.

After having removed the #include <c.h> statement from libpostgres.c, I install.

then, when running a guile script that uses libpostgres, I get the following:

/usr/local/share/guile/database/postgres.scm:42:9: In procedure dynamic-link in expression (dynamic-link (car #)):
/usr/local/share/guile/database/postgres.scm:42:9: file: "/usr/local/lib/guile-pg/0.07ttn6/libpostgres.so", message: "/usr/local/lib/guile-pg/0.07ttn6/libpostgres.so: undefined symbol: terminating"


has any one any idea on:

-why it does so?
-how I can track the exact symbol missing?

thanks a lot,

NB: I am using guile-core-20021122

Stan.

-- 

Stanislas Pinte

Computer Consultant

Alto Software
20 Pl St Jacques
B-4000 Liège

web:		http://www.altosw.be
email:		alto_stan@wanadoo.be



_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-user


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

* Re: guile-pg-0.07ttn6 libpostgres.so: undefined symbol
  2002-12-02  8:31 guile-pg-0.07ttn6 libpostgres.so: undefined symbol Stan Pinte
@ 2002-12-02 10:12 ` Thien-Thi Nguyen
  0 siblings, 0 replies; 2+ messages in thread
From: Thien-Thi Nguyen @ 2002-12-02 10:12 UTC (permalink / raw)
  Cc: guile-user

   From: Stan Pinte <alto_stan@wanadoo.be>
   Date: Mon, 2 Dec 2002 09:31:52 +0100

   -why it does so?

the var `terminating' enables run-time selection of glue code failure
behavior (on lob_flush -- see libpostgres_lo.c:288).

   -how I can track the exact symbol missing?

because it is missing the only reliable way to do this is to ask the
author (after grepping the source a bit).  for now throwing scm_syserror
is preferable to writing directly to fd 2 as in the other branch of the
conditional.  please see:

	http://www.glug.org/alt/

for guile-pg-0.07ttn7.tar.gz as well as a (much smaller) .diff to update
0.07ttn6 to 0.07ttn7, wherein that var is declared static, initialized
to 0 (effect is to unconditionally throw scm_syserror), and derisively
implicated for early retirement...

thi


_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-user


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

end of thread, other threads:[~2002-12-02 10:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-02  8:31 guile-pg-0.07ttn6 libpostgres.so: undefined symbol Stan Pinte
2002-12-02 10:12 ` Thien-Thi Nguyen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).