Re: blcr-0.5.0_b5 cr_run execution error

From: Paul H. Hargrove (PHHargrove_at_lbl_dot_gov)
Date: Tue Feb 27 2007 - 10:37:53 PST

  • Next message: Yiannis Georgiou: "Re: blcr-0.5.0_b5 cr_run execution error"
    Yiannis Georgiou wrote:
    > Hello,
    >
    > I've been using the BLCR version "blcr-0.5.pre0_snapshot_2007_01_31"
    > on a x86_64 platform with 2.6.16 kernel and Debian GNU/Linux system 
    > and I had no problems on installation and use.
    >
    > I wanted to test the last new beta version "blcr-0.5.0_b5" on the same 
    > system but while the configuration, the installation and the load of 
    > the modules (lsmod verification sucessfull) pass without problems when 
    > it comes to the execution when I do:
    >
    > cr_run ./executable
    >
    > I get the error:
    >
    > ERROR: ld.so: object 'libcr.so.0' from LD_PRELOAD cannot be preloaded: 
    > ignored.
    This error message is an indication that libcr.so.0 was not found in the 
    default library search path,  nor in a directory listed in the 
    LD_LIBRARY_PATH variable.
    
    The BLCR installation instructions in the BLCR_Admin_Guide have always 
    recommended setting LD_LIBRARY_PATH if BLCR is not installed to a prefix 
    of /usr or /usr/local.  However, until recently the cr_run script worked 
    even when LD_LIBRARY_PATH is not set, because it used  the full path to 
    libcr.so.0 in the LD_PRELOAD environment variable.  In order to support 
    both 64- and 32-bit applications on x86-64 with a single cr_run script, 
    the full path was replaced with just the filename component, making the 
    setting of LD_LIBRARY_PATH no longer optional.
    
    Let me know if setting LD_LIBRARY_PATH does not correct your problem.
    
    -Paul
    > I  also tried with kernel 2.6.18  and the error stays the same...
    > Do you have any ideas where this error could come from?
    > Thank you in advance,
    >
    > Yiannis
    >
    >
    
    
    -- 
    Paul H. Hargrove                          PHHargrove_at_lbl_dot_gov
    Future Technologies Group                 
    HPC Research Department                   Tel: +1-510-495-2352
    Lawrence Berkeley National Laboratory     Fax: +1-510-486-6900
    

  • Next message: Yiannis Georgiou: "Re: blcr-0.5.0_b5 cr_run execution error"