[Samba] 4.2.0 Relocation error

Rowland Penny rowlandpenny at googlemail.com
Sat Mar 7 04:59:51 MST 2015


On 07/03/15 11:26, Spencer York wrote:
> Greetings,
>
> I am trying to get 4.2.0 Installed on a raspberry pi 2, I can build 
> and install, but upon running samba -D I get the following:
> root at pdc1:/home/pi# samba -D
> samba: relocation error: samba: symbol lpcfg_lock_directory, version 
> SAMBA_HOSTCONFIG_0.0.1 not defined in file libsamba-hostconfig.so.0 
> with link time reference
>
> I used the following to configure and build
> waf configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc 
> --enable-fhs
> waf -j 4 # with and without
> waf install
>
> I have started from scratch several times trying to get the 
> installation to run.
>
> Nothing else installed except the deps.
> root at pdc1:/home/pi# uname -a
> Linux pdc1 3.18.8-v7+ #761 SMP PREEMPT Fri Feb 27 15:48:09 GMT 2015 
> armv7l GNU/Linux
>
> Can anyone point me in the right direction? All google has given me on 
> the error is compile and install again...

Hi, it has been sometime since I built samba4 on an rpi, but I didn't 
build it like you are trying, I just ran:

./configure
make
make install

Why are you trying to run waf directly ?

Rowland



More information about the samba mailing list