Re: Can't find a library that's right there
> g++ -o test1 mspathCEntry_test.o Manager_test.o TestManager.o
> PathGenerator_test.o TestRecorder.o SimpleRecorder_test.o
> TimeStepsGenerator_test.o StateTimeClassifier_test.o Environment_test.o
> SuccessorGenerator_test.o Model_test.o ConstrainedCoefficients_test.o
> Path_test.o Data_test.o TimeSteps_test.o TimePoint_test.o basic_test.o
> ../mspath.so -L/usr/lib/debug -lboost_unit_test_framework \
> -L/usr/lib/R/bin -lR
Since you say later that mspath.so depends upon libR.so, I would put the
-L/usr/lib/R/bin before ../mspath.so in this command. If that still
doesn't help, I'm not sure what causes the problem you describe, but try
this as a workaround:
- add /usr/lib/R/bin (on a separate line) to /etc/ld.so.conf
- run /sbin/ldconfig as root
Does that help any? What does "file /usr/lib/R/bin/libR.so" say?
--
Kevin B. McCarty <kmccarty@princeton.edu> Physics Department
WWW: http://www.princeton.edu/~kmccarty/ Princeton University
GPG public key ID: 4F83C751 Princeton, NJ 08544
Reply to: