pldd doesn't always work on Solaris 2.6?

pldd doesn't always work on Solaris 2.6?

Post by Jordan Samue » Fri, 06 Sep 2002 04:04:50

Anyone ever seen pldd fail on Solaris 2.6 like this?

schi6037dap:code/Solaris/pldd_bug> make info main
CC: Sun WorkShop 6 update 2 C++ 5.3 2001/05/15
uname -a
SunOS schi6037dap 5.6 Generic_105181-29 sun4u sparc SUNW,Ultra-Enterprise
more foo.c main.c
int foo() { return 1; }
#include <unistd.h>
extern int foo();
int main() {
  int r =  foo();
  return r;


cc -KPIC -c main.c
cc -KPIC -c foo.c
cc -G -o foo.o
cc -o main main.o -R. -L. -lfoo
schi6037dap:code/Solaris/pldd_bug> ./main &
[1] 13942
schi6037dap:code/Solaris/pldd_bug> pldd 13942
13942:  ./main
/usr/lib/         <<<<<<< where is ./ ?
schi6037dap:code/Solaris/pldd_bug> ldd ./main =>     ./ =>     /usr/lib/ =>    /usr/lib/

1. Nohup doesn't work as I need with ksh on Solaris 2.6


I can't get nohup to work as I want. ksh is my login shell.
Basically, I have a shell script, having this first line :

This script does a few things, then ultimately starts a binary program
which I want to run permanently. Trying to achieve this goal, I did
the following sort of things in the script :
trap "" HUP
nohup mybinary

I also type the trap instruction in the interactive shell, and launch
the shell script with a nohup command.
Unfortunately, my job is killed if I exit the shell (after the usual
warning about running jobs).

I am puzzled. Could you help me please ?

2. ipnat without portmap

3. New install of Solaris 2.6 and ethernet doesn't appear to work

4. Strange modprobe problem...

5. Dual Boot Solaris 2.6 and Win 95...doesn't seem to work

6. I Gate 11M supported under Linux

7. Netscape Collabra 3.01 on Solaris 2.6 doesn't work

8. need some grep help

9. Maxclients 512 doesn't work (Apache/Solaris 2.6)

10. ATI Xpert@play/AGP on x86 Solaris 2.6 doesn't work

11. IE4 on Solaris't

12. pthread_create doesn't work on Solaris 2.6

13. mgetty + pppd doesn't work on Solaris 2.6 x86??