there is a cut and paste error in src/lib/libdll/dllplug.c
your line numbers may vary
--- .../dllplug.c       Tue Jun  8 17:41:14 2010
+++ dllplug.c   Mon Aug  2 16:12:16 2010
@@ -60,7 +60,7 @@
        }
        if (dll = dllopen(name, flags))
        {
-               if (!dllcheck(dll, dle->path, rel))
+               if (!dllcheck(dll, name, rel))
                {
                        dlclose(dll);
                        dll = 0;

here is a workaround that skips that part of the code
cd to a dir you own on $PATH and
        mkdir -p ../lib/ksh
        cp libhash.so ../lib/ksh
then this should work
        builtin -f hash

dllplug() for ksh plugins looks for "foo" in
        ../lib/ksh/libfoo.so*([0-9.])

I'll post a src update later this week
that will include this and an NLSPATH fix

On Mon, 2 Aug 2010 15:34:54 -0400 Finnbarr Murphy wrote:
> I still get core dumps even after including the shcmd header and SHLIB(ksh)=
> per your post today.
> Perhaps you would be so good as to point out what I am doing wrong in this =
> simple ksh93 plugin which uses the libsum sha512sum routine. I must not beu=
> nderstanding something.

_______________________________________________
ast-developers mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/ast-developers

Reply via email to