Subject: Re: CVS commit: pkgsrc/lang/libtcl-nothread
To: Matthias Drochner <M.Drochner@fz-juelich.de>
From: Jim Wise <jwise@draga.com>
List: tech-pkg
Date: 06/24/2004 13:35:40
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, 24 Jun 2004, Matthias Drochner wrote:

>
>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.

Quite -- can you show me `ldd' output for the .so in question?

>> 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

Do you have an ld.so build with -DDEBUG around?  If so, can you set
$LD_DEBUG and let me know what createlang gives you?

I'm not seeing this failure here, under 7.3 or 7.4, so any more trace
information you can give me is _very_ useful.

Thanks,
- -- 
				Jim Wise
				jwise@draga.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (NetBSD)

iD8DBQFA2xDwRxzMSZ/9vAMRAo1/AJsF8LLx9O3lb7AGlQoNGtOHZxikuACgu/NY
8izHXSDLII1qEbloELVnGlA=
=ZQsr
-----END PGP SIGNATURE-----