|
I've had luck with using the ldconfig command to setup my installations. On my computer I have added a file to my /etc/ld.so.conf.d/ directory called "openjaus.conf". In that file I have two paths that point to where my libjaus.so and libopenjaus.so files are. On my system it looks like this:
/home/tgalluzzo/workspace/OpenJAUS/OpenJAUSv3.3c/libopenJaus/lib
/home/tgalluzzo/workspace/OpenJAUS/OpenJAUSv3.3c/libjaus/lib
After that is setup, I just run the /sbin/ldconfig command and then the system linker will know where to find the .so files.
I'm not sure if it's the exact same process on CentOS5, but I run RHEL5 so it should be very similar.
|