Subject: Re: CVS commit: pkgsrc/lang/libtcl-nothread
To: Jim Wise <jwise@draga.com>
From: Matthias Drochner <M.Drochner@fz-juelich.de>
List: tech-pkg
Date: 06/24/2004 17:31:04
jwise@draga.com said:
> >> What does `nm ${LOCALBASE}/lib/postgresql/pltcl.so' show you? 
> >Nothing suspicious
> it isn't _quite_ the same

If the difference is only in the NEEDED shared libraries, than
"nm" doesn't differ. "ldd" or "objdump" would presumably.

> What extra information (if any at all) do you get from running
> createlang with the `-e' flag?

Doesn't look terribly useful:
$ createlang -e -U pgsql pltcl qwert
SELECT oid FROM pg_language WHERE lanname = 'pltcl';
SELECT oid FROM pg_proc WHERE proname = 'pltcl_call_handler' AND prorettype = 
(S
ELECT oid FROM pg_type WHERE typname = 'language_handler') AND pronargs = 0;
SET autocommit TO 'on';CREATE FUNCTION "pltcl_call_handler" () RETURNS 
LANGUAGE_
HANDLER AS '$libdir/pltcl' LANGUAGE C;
ERROR:  Load of file /usr/pkg/lib/postgresql/pltcl.so failed: dlopen 
(/usr/pkg/l
ib/postgresql/pltcl.so) failed
createlang: language installation failed

best regards
Matthias