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 Spencer, which linux do you run on raspberry? Ive installed Debian 8 (Jessi) and compiled samb42 on it, runs fine. Dont forget to install libpython-dev :-) Did you pass all tests from samba-wiki for AD? How did you start samba? Regards Oliver On 07.03.2015 12: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...
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
Oliver Rath schrieb am 07.03.2015 12:52:> which linux do you run on raspberry? Ive installed Debian 8 (Jessi) and > compiled samb42 on it, runs fine.Well, he is on a Raspi 2, which is - if I did understand this right - a different architecture. Maybe I did not understand him enough. But anyway, I would presume, that there is hardly any information out on the new Raspi 2... It's the bleeding edge. :-( But as this tiny thing is heavily used the situation will improve fastly. Maybe at some point in time the issue will have vanished after some upgrading...> > On 07.03.2015 12:26, Spencer York wrote: >> Greetings, >> >> I am trying to get 4.2.0 Installed on a raspberry pi 2, ...