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

 
 

bug #46311: Error loading libsim.so

Submitted by:  None
Submitted on:  Wed 28 Oct 2015 01:36:17 PM UTC  
 
Category: SimulationSeverity: 3 - Normal
Item Group: NoneStatus: Invalid
Privacy: PublicAssigned to: None
Originator Email: -unavailable-Open/Closed: Closed
Component Version: simulavr

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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>
Project 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 File(s):
   
   
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
  • -unavailable- added by zfrdh (Posted a comment)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 28 Oct 2015 01:45:36 PM UTCzfrdhStatusNone=>Invalid
      Open/ClosedOpen=>Closed
    Wed 28 Oct 2015 01:36:17 PM UTCNoneAttached 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.1-cleanup1