Under my thread about couchdb I was advised to set LD_PRELOAD.
I thought this had not worked but is seems bigger than that :-)

    Then it appears that the LD_PRELOAD environment setting is not
    being passed onto the child. You need to try recompiling the
    executable beam.smp with '-LCrun'.

Regards,
Moinak.

Err!
pa...@openindiana:~$ echo $LD_PRELOAD
/usr/lib/libCrun.so.1
pa...@openindiana:~$ ps
ld.so.1: ps: fatal: /usr/lib/libCrun.so.1: wrong ELF class: ELFCLASS32
Killed
pa...@openindiana:~$ prstat
ld.so.1: prstat: fatal: /usr/lib/libCrun.so.1: wrong ELF class: ELFCLASS32
Killed

Well it sure is doing something if not fixing my couchdb problem :-)
After removing it
pa...@openindiana:~$ echo $LD_PRELOAD

pa...@openindiana:~$ ps
  PID TTY         TIME CMD
 1379 pts/1       0:00 bash
 1384 pts/1       0:00 ps
pa...@openindiana:~$ prstat <... Works as expected ..>

Cheers Paul

_______________________________________________
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss

Reply via email to