On 11/ 6/10 11:04 AM, Moinak Ghosh wrote:
On Sat, Nov 6, 2010 at 3:09 PM, Paul Johnston
<[email protected]>  wrote:
  On 11/ 6/10 04:47 AM, Moinak Ghosh wrote:
[...]>
Fraid no joy yet!

pa...@openindiana:~$ echo $LD_PRELOAD
/usr/lib/libCrun.so.1
pa...@openindiana:~$ pfexec /usr/local/bin/couchdb
Apache CouchDB 1.0.1 (LogLevel=info) is starting.

=CRASH REPORT==== 6-Nov-2010::09:38:06 ===
  crasher:
    initial call: application_master:init/4
    pid:<0.30.0>
    registered_name: []
    exception exit: {bad_return,
                        {{couch_app,start,
                             [normal,
                              ["/usr/local/etc/couchdb/default.ini",
                               "/usr/local/etc/couchdb/local.ini"]]},
                         {'EXIT',
                             "ld.so.1: beam.smp: fatal: relocation error:
file /usr/lib/libicuuc.so.40: symbol __1cG__CrunKpure_error6F_v_: referenced
symbol not found"}}}
      in function  application_master:init/4
    ancestors: [<0.29.0>]
    messages: [{'EXIT',<0.31.0>,normal}]
    links: [<0.29.0>,<0.7.0>]
    dictionary: []
    trap_exit: true
    status: running
    heap_size: 1597
    stack_size: 24
    reductions: 187
  neighbours:

=INFO REPORT==== 6-Nov-2010::09:38:06 ===
    application: couch
    exited: {bad_return,{{couch_app,start,
                                    [normal,
                                     ["/usr/local/etc/couchdb/default.ini",
                                      "/usr/local/etc/couchdb/local.ini"]]},
                         {'EXIT',"ld.so.1: beam.smp: fatal: relocation error:
file /usr/lib/libicuuc.so.40: symbol __1cG__CrunKpure_error6F_v_: referenced
symbol not found"}}}
    type: temporary

    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.
Interesting!
Think the result below is curious :-)

pa...@openindiana:/usr/local/lib/erlang/erts-5.8.1.1/bin$ ldd beam.smp
ld.so.1: ldd: fatal: /usr/lib/libCrun.so.1: wrong ELF class: ELFCLASS32
Killed


Paul

_______________________________________________
OpenIndiana-discuss mailing list
[email protected]
http://openindiana.org/mailman/listinfo/openindiana-discuss

Reply via email to