Bug 13080 - linking failed if systemd enabled
Summary: linking failed if systemd enabled
Status: NEW
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: Build (show other bugs)
Version: 4.7.0
Hardware: All Linux
: P5 major (vote)
Target Milestone: ---
Assignee: Samba QA Contact
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-10 21:02 UTC by Michal
Modified: 2017-10-10 21:05 UTC (History)
1 user (show)

See Also:


Attachments
cut from config.log relation to systemd (2.06 KB, text/x-log)
2017-10-10 21:02 UTC, Michal
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michal 2017-10-10 21:02:21 UTC
Created attachment 13677 [details]
cut from config.log relation to systemd

Hi all, 

i'm using freshly installed debian jessie (today) arch i386 (32bit), 
i'm trying to manually build current stable release ... i followed wiki's steps ... 

and during command make i got: 
root@ServerJessie:/usr/src/samba-4.7.0# make 
WAF_MAKE=1 python ./buildtools/bin/waf build
Waf: Entering directory `/usr/src/samba-4.7.0/bin'
	Selected embedded Heimdal build
....
[3384/3936] Linking default/nsswitch/libwbclient/libwbclient.so
[3385/3936] Linking default/lib/ldb/ldbadd
[3386/3936] Linking default/lib/ldb/libpyldb-util.so
[3389/3936] Linking default/lib/util/libsamba-debug-samba4.so
default/lib/util/debug_11.o: In function `debug_systemd_log':
debug.c:(.text+0x186): undefined reference to `sd_journal_send_with_location'
collect2: error: ld returned 1 exit status
Waf: Leaving directory `/usr/src/samba-4.7.0/bin'
Build failed:  -> task failed (err #1): 
	{task: cc_link close_low_fd_7.o,debug_11.o -> libsamba-debug-samba4.so}
Makefile:8: recipe for target 'all' failed
make: *** [all] Error 1

my packages related to systemd: 
root@ServerJessie:~# dpkg -l | grep systemd
ii  libsystemd-daemon-dev:i386    215-17+deb8u7                    i386         systemd utility library (transitional package)
ii  libsystemd-daemon0:i386       215-17+deb8u7                    i386         systemd utility library (deprecated)
ii  libsystemd-dev:i386           215-17+deb8u7                    i386         systemd utility library - development files
ii  libsystemd-journal-dev:i386   215-17+deb8u7                    i386         systemd journal utility library (transitional package)
ii  libsystemd-journal0:i386      215-17+deb8u7                    i386         systemd journal utility library (deprecated)
ii  libsystemd0:i386              215-17+deb8u7                    i386         systemd utility library
ii  systemd                       215-17+deb8u7                    i386         system and service manager
ii  systemd-sysv                  215-17+deb8u7                    i386         system and service manager - SysV links

i'm ready to provide more infos ... please write what is important and could be attached into limited 5MB attachment ... 

please help me to fix that issue ... 

Thank You