[syslog-ng] Cross-compile problem with path in 3.2.4

Gergely Nagy algernon at balabit.hu
Wed Jun 15 09:54:44 CEST 2011


Ulrich Prinz <uprinz2 at netscape.net> writes:

> I cross compiled syslog-ng 3.2.4 for my ARM board. I called ./configure 
> with the usual --host, --prefix and --exec-prefix options. Then I ran 
> make with DESTDIR to my cross target directory.
> I moved everything to my ARM target and syslog-ng starts up. While it 
> locates and loads the configuration files properly, there is a problem 
> with the modules:

[..snip..]

> Checking the directory shows:
> /etc2/syslog-ng # ll /lib/syslog-ng/
> drwxr-xr-x    2 root     root          1024 Jun 14 16:01 ./
> drwxr-xr-x    7 root     root          3072 Jun 14 16:01 ../
> -rw-r--r--    1 root     root        139122 Jun 14 16:01 libaffile.a
> -rwxr-xr-x    1 root     root          1289 Jun 14 16:01 libaffile.la*

[..snip..]

The reason it doesn't work, is because the shared objects are missing:
it will not load .a files, only .sos. (More or less...)

Could you perhaps send a complete build log, along with the output of
configure? (Privately to me works aswell, as the full log might be too
big for the list)

I might be able to figure out why the shared libs did not get built.

In the mean time, as a workaround, I'd suggest compiling syslog-ng in an
emulator instead: that's a lot slower, but I know that it works, that's
how I got syslog-ng onto my router ;)

-- 
|8]



More information about the syslog-ng mailing list