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.
|