> export LD_PRELOAD=libumem.so > export UMEM_DEBUG=default > When I now run my program I get the following error from dlerror when I > try to call dlsym in my program:
> ld.so.1: myapp: fatal: /usr/platform/SUNW,Ultra-60/lib/libkvm_psr.so.1: > open failed: No such file or directory > Without the LD_PRELOAD the program works perfectly. > The error happens at a point in the program where I call dlsym(...). It looks more like when you call dlopen(). Hrm. You can cause ld.so.1(1) to use SIGABRT instead of SIGKILL (and therefore get a core file) by setting: export LD_SIGNAL=6 in the environment; the stack trace (pstack core) which results would be most interesting. libkvm_psr hasn't existed since Solaris 7, so I'm quite confused that anything would be referencing it. It's possible that this is some kind of uninitialized data problem; does the problem disappear if you unset the UMEM_DEBUG environment variable? Cheers, - jonathan This message posted from opensolaris.org