bugSimulavr: an AVR simulator - Bugs: bug #46311, Error loading libsim.so

 
 

bug #46311: Error loading libsim.so

Submitter:  None
Submitted:  Wed 28 Oct 2015 01:36:17 PM UTC
   
 
Category:  Simulation Severity:  3 - Normal
Item Group:  None Status:  Invalid
Privacy:  Public Assigned to:  None
Originator Email:  * -email is unavailable- Open/Closed:  Closed
Component Version:  * simulavr
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 28 Oct 2015 01:45:18 PM UTC, comment #1: 

As seen in the log file:

Libraries build and installed correctly:

libtool: link: g++ -Dprivate=public -Dprotected=public -Igtest-1.6.0/include/gtest -Igtest-1.6.0/include -Igtest-1.6.0 -I../../src -g -g -O2 -o .libs/dut session_001/unittest001.o session_irq_check/unittest_irq.o session_io_pin/unittest_io_pin.o gtest_main.o gtest-1.6.0/src/gtest-all.o  -lpthread ../../src/.libs/libsim.so

...

libtool: install: /usr/bin/install -c .libs/libsim.so /usr/local/lib/libsim.so
libtool: install: /usr/bin/install -c .libs/libsim.lai /usr/local/lib/libsim.la

....

That simulavr executable can't find the file is not related to simulavr build tool chain.

Hint: READ THE LOG FILE:
Libraries have been installed in:
   /usr/local/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the `LD_RUN_PATH' environment variable
     during linking
   - use the `-Wl,-rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.

If you have questions about this topic, please write an email via mailing list.

Klaus Rudolph <zfrdh>
Group administrator
Wed 28 Oct 2015 01:36:17 PM UTC, original submission:  

I've cloned the latest git repo version, bootstrapped, configured, made and installed simulavr 1.0.0 but when I try to run it, this message comes up:

simulavr: error while loading shared libraries: libsim.so: cannot open shared object file: No such file or directory

Attached is the full log from clone to execution, listing of the libsim.so directory and a list of all installed packages (not sure if that will help or not, I'm newish to Linux.)

Thanks.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #35322:  log.txt added by None (72KiB - text/plain)
file #35323:  packages.txt added by None (69KiB - text/plain)
file #35324:  libsim_dir.txt added by None (406B - text/plain)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by zfrdh (Posted a comment)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-10-28 zfrdh StatusNone Invalid
        Open/ClosedOpen Closed
    2015-10-28 None Attached File- Added log.txt, #35322
        Attached File- Added packages.txt, #35323
        Attached File- Added libsim_dir.txt, #35324

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code