I am trying to compile rsyslog for embedded system. I compile rsyslog on PC and copy the binary+libraries to the target system.
I am thinking about how could we ensure that rsyslog will run on the target
On PC. Debian Etchnhalf. Kernel 2.6-24
./configure --prefix=/home/van/testbed
make
make install
cd /home/van/testbed
we would see:
lib sbin
Create a file system on the target and copy all binary + libraries there
mkdir target/sbin
mkdir target/lib
cp /home/van/testbed/sbin/rsyslogd target/sbin/rsyslogd
objcopy --strip-uneeded /home/van/testbed/lib/*.so target/lib/*.so
chmod 755 target/lib/*.so
Unfortunately, rsyslog can not run. May be I misconfig the rsyslog.conf . Or the rsyslog.init must be tailored to my Linux_build_from_scratch.
However, could you tell me if I miss something on my building and copying steps.
/Van
What about the *.la files on lib. Do we need to copy/link them?
Thanks

