[syslog-ng] Building syslog with cmake as external project
Alexandre Santos
alexandre.rosas.santos at gmail.com
Mon Nov 4 18:40:37 UTC 2019
Hi All,
I am trying to build syslog-ng with cmake to add it to a custom Linux
distribution.
The problem is that when the syslog-ng is compiled it gets the RPATH of the
location where it has been generated:
*root at 5526d87140af:/home/src/**chassisx/build# ldd
syslog-ng-install/sbin/syslog-*
*ng linux-vdso.so.1 (0x00007fff151ed000)
libsyslog-ng.so.3.24.1 => /home/src/target/build/**syslog-ng-install/lib/*
*libsyslog-ng.so.3.24.1 (0x00007f81baf89000) libeventlog.so =>
/home/src/target/build/**syslog-ng-install/lib/*
*libeventlog.so (0x00007f81bad84000) libgmodule-2.0.so.0 =>
/usr/lib/x86_64-linux-gnu/*
*libgmodule-2.0.so.0 (0x00007f81bab80000) libgthread-2.0.so.0 =>
/usr/lib/x86_64-linux-gnu/*
*libgthread-2.0.so.0 (0x00007f81ba97e000) libglib-2.0.so.0 =>
/lib/x86_64-linux-gnu/libglib-*
*2.0.so.0 (0x00007f81ba66a000) libivykis.so.0 =>
/home/src/target/build/**syslog-ng-install/lib/*
*libivykis.so.0 (0x00007f81ba45b000) libpcre.so.3 =>
/lib/x86_64-linux-gnu/libpcre.*
*so.3 (0x00007f81ba1e8000) libresolv.so.2 => /lib/x86_64-linux-gnu/*
*libresolv.so.2 (0x00007f81b9fd1000) libssl.so.1.1 =>
/usr/lib/x86_64-linux-gnu/*
*libssl.so.1.1 (0x00007f81b9d65000) libcrypto.so.1.1 =>
/usr/lib/x86_64-linux-gnu/*
*libcrypto.so.1.1 (0x00007f81b98cc000) libsecret-storage.so =>
/home/src/target/build/**syslog-ng-install/lib/*
*libsecret-storage.so (0x00007f81b96c8000) libpthread.so.0 =>
/lib/x86_64-linux-gnu/*
*libpthread.so.0 (0x00007f81b94ab000) libc.so.6 =>
/lib/x86_64-linux-gnu/libc.so.*
*6 (0x00007f81b910c000) /lib64/ld-linux-x86-64.so.2
(0x00007f81bb48e000) libdl.so.2 => /lib/x86_64-linux-gnu/libdl.**so.2
(0x00007f81b8f08000)*
I am using the cmake file in attachment.
Can you help me?
Thanks in advance,
Alex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.balabit.hu/pipermail/syslog-ng/attachments/20191104/a2cee701/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: syslog-ng.cmake
Type: application/octet-stream
Size: 1199 bytes
Desc: not available
URL: <http://lists.balabit.hu/pipermail/syslog-ng/attachments/20191104/a2cee701/attachment-0001.obj>
More information about the syslog-ng
mailing list