I have just finished recompiling and still get the same problem:

./configure --enable-debug --enable-selftest
make
make install

Once it had finished, I checked the version again and :

root@raspberrypi:/usr/local/samba/sbin# samba -V
samba: /usr/local/samba/lib/private/libcliauth.so: version 
`SAMBA_4.1.0PRE1_GIT_FD8B258' not found (required by samba)
samba: /usr/local/samba/lib/private/libauth4.so: version 
`SAMBA_4.1.0PRE1_GIT_FD8B258' not found (required by samba)
samba: /usr/local/samba/lib/private/libevents.so: version 
`SAMBA_4.1.0PRE1_GIT_FD8B258' not found (required by samba)
samba: /usr/local/samba/lib/private/libcluster.so: version 
`SAMBA_4.1.0PRE1_GIT_FD8B258' not found (required by samba)
samba: /usr/local/samba/lib/private/libprocess_model.so: version 
`SAMBA_4.1.0PRE1_GIT_FD8B258' not found (required by samba)
samba: /usr/local/samba/lib/private/libsamdb-common.so: version 
`SAMBA_4.1.0PRE1_GIT_FD8B258' not found (required by samba)
samba: /usr/local/samba/lib/private/libsamba-modules.so: version 
`SAMBA_4.1.0PRE1_GIT_FD8B258' not found (required by samba)
samba: /usr/local/samba/lib/private/libndr-samba4.so: version 
`SAMBA_4.1.0PRE1_GIT_FD8B258' not found (required by samba)
samba: /usr/local/samba/lib/private/liberrors.so: version 
`SAMBA_4.1.0PRE1_GIT_FD8B258' not found (required by samba)
samba: /usr/local/samba/lib/private/libservice.so: version 
`SAMBA_4.1.0PRE1_GIT_FD8B258' not found (required by samba)
samba: /usr/local/samba/lib/private/libldbsamba.so: version 
`SAMBA_4.1.0PRE1_GIT_FD8B258' not found (required by samba)
samba: /usr/local/samba/lib/private/libMESSAGING.so: version 
`SAMBA_4.1.0PRE1_GIT_FD8B258' not found (required by samba)
samba: /usr/local/samba/lib/private/libntvfs.so: version 
`SAMBA_4.1.0PRE1_GIT_FD8B258' not found (required by samba)


So I just tried:

cd /usr/local/
mv samba samba-old
cd /usr/local/samba4

make install

The /usr/local/samba folder structure was recreated, but even after completion, 
when I type "samba -V" I still get the list of errors above.

Help!  :(


Kind regards
Graeme



________________________________
 From: Graeme Porter
To: Ricky Nance
Cc: "samba@lists.samba.org" <samba@lists.samba.org> 
Sent: Wednesday, 3 April 2013, 17:46
Subject: Re: [Samba] Samba4 fails to work following upgrade - library version 
errors
 
Hi Ricky,

Thanks for replying.

The original build was just run with the arguments on the HOWTO:

    ./configure --enable-debug --enable-selftest

With the latest build, I thought I'd try adding Avahi on there as a means of 
"announcing" the Pi to domain members; as I understand it, Samba4 currently has 
no means of appearing under the "Network Neighborhood", but previous versions 
did, and that Avahi is capable of providing that.  I'd forgotten about adding 
Avahi in until your reply, oops  :(


The same arguments I previously used were still part of the ./configure command 
I ran - i.e. I didn't remove either of them:

    ./configure --enable-avahi --enable-debug --enable-selftest

Could adding this have caused the problem?

Kind regards,
Graeme



________________________________
From: Ricky Nance <ricky.na...@weaubleau.k12.mo.us>
To: Graeme Porter <graeme.por...@yahoo.co.uk> 
Cc: "samba@lists.samba.org" <samba@lists.samba.org> 
Sent: Wednesday, 3 April 2013, 17:21
Subject: Re: [Samba] Samba4 fails to work following upgrade - library version 
errors


The last time you did ./configure, did you specify any arguments, if so, you 
will need the same arguments on this install. Also, I typically start 'fresh' 
by issuing a git clean -x -f -d after git pull and before ./configure. 

Ricky



On Wed, Apr 3, 2013 at 11:06 AM, Graeme Porter <graeme.por...@yahoo.co.uk> 
wrote:

Hello,
>
>I was running Samba4 for a while on my Raspberry Pi (Raspbian distro, running 
>3.6.11+ #371 PREEMPT armv6l kernel).  The version of Samba I was running was 
>4.1.0pre1-GIT-fd8b258.
>
>Last night I decided to try to upgrade to see if I could upgrade it without 
>breaking it.
>
>
>Note that the AD this Pi is the DC for doesn't have any physical clients as 
>members; I was using a Virtual PC running WinXP and another running Ubuntu 
>just to test it out - so technically there's no great loss if it did break - 
>but I do want to start using the Pi as a DC for my physical Windows clients 
>(my family's 3x computers - one Vista, one Win7, and one Win8), and I wanted 
>to ensure I could upgrade it cleanly without loss of service first.
>
>
>So I used "git pull" to download the latest changes, as described in the 
>Samba4 HOWTO guide.  The configure, make, and make install stages went without 
>a hitch (although the little Pi doesn't exactly blast through the compile, so 
>it took several long hours).  As a just-in-case, I even stopped Samba from 
>running before I ran "make install" just in case the script couldn't overwrite 
>a file that was in use.
>
>So I tried to check which version this had upgraded to by running samba -V:
>
>root@raspberrypi:/usr/local/samba4# samba -V
>samba: /usr/local/samba/lib/private/libcliauth.so: version 
>`SAMBA_4.1.0PRE1_GIT_FD8B258' not found (required by samba)
>samba: /usr/local/samba/lib/private/libauth4.so: version 
>`SAMBA_4.1.0PRE1_GIT_FD8B258' not found (required by samba)
>samba: /usr/local/samba/lib/private/libevents.so: version 
>`SAMBA_4.1.0PRE1_GIT_FD8B258' not found (required by samba)
>samba: /usr/local/samba/lib/private/libcluster.so: version 
>`SAMBA_4.1.0PRE1_GIT_FD8B258' not found (required by samba)
>samba: /usr/local/samba/lib/private/libprocess_model.so: version 
>`SAMBA_4.1.0PRE1_GIT_FD8B258' not found (required by samba)
>samba: /usr/local/samba/lib/private/libsamdb-common.so: version 
>`SAMBA_4.1.0PRE1_GIT_FD8B258' not found (required
> by samba)
>samba: /usr/local/samba/lib/private/libsamba-modules.so: version 
>`SAMBA_4.1.0PRE1_GIT_FD8B258' not found (required by samba)
>samba: /usr/local/samba/lib/private/libndr-samba4.so: version 
>`SAMBA_4.1.0PRE1_GIT_FD8B258' not found (required by samba)
>samba: /usr/local/samba/lib/private/liberrors.so: version 
>`SAMBA_4.1.0PRE1_GIT_FD8B258' not found (required by samba)
>samba: /usr/local/samba/lib/private/libservice.so: version 
>`SAMBA_4.1.0PRE1_GIT_FD8B258' not found (required by samba)
>samba: /usr/local/samba/lib/private/libldbsamba.so: version 
>`SAMBA_4.1.0PRE1_GIT_FD8B258' not found (required by samba)
>samba: /usr/local/samba/lib/private/libMESSAGING.so: version 
>`SAMBA_4.1.0PRE1_GIT_FD8B258' not found (required by samba)
>samba: /usr/local/samba/lib/private/libntvfs.so: version 
>`SAMBA_4.1.0PRE1_GIT_FD8B258' not found (required by samba)
>
>... huh.
>
>I hoped that maybe it was just the version argument that stopped working - so 
>I tried to start up the samba daemon (rather than using the "service samba4 
>start" command I had used previously without fail, as this script suppresses 
>command line output):
>
>root@raspberrypi:/usr/local/samba4# samba
>samba: /usr/local/samba/lib/private/libcliauth.so: version 
>`SAMBA_4.1.0PRE1_GIT_FD8B258' not found (required by samba)
>samba: /usr/local/samba/lib/private/libauth4.so: version 
>`SAMBA_4.1.0PRE1_GIT_FD8B258' not found (required by samba)
>samba: /usr/local/samba/lib/private/libevents.so: version 
>`SAMBA_4.1.0PRE1_GIT_FD8B258' not found (required by samba)
>samba: /usr/local/samba/lib/private/libcluster.so: version 
>`SAMBA_4.1.0PRE1_GIT_FD8B258' not found (required by samba)
>samba: /usr/local/samba/lib/private/libprocess_model.so: version 
>`SAMBA_4.1.0PRE1_GIT_FD8B258' not found (required by samba)
>samba: /usr/local/samba/lib/private/libsamdb-common.so: version 
>`SAMBA_4.1.0PRE1_GIT_FD8B258' not found (required by samba)
>samba:
> /usr/local/samba/lib/private/libsamba-modules.so: version 
>`SAMBA_4.1.0PRE1_GIT_FD8B258' not found (required by samba)
>samba: /usr/local/samba/lib/private/libndr-samba4.so: version 
>`SAMBA_4.1.0PRE1_GIT_FD8B258' not found (required by samba)
>samba: /usr/local/samba/lib/private/liberrors.so: version 
>`SAMBA_4.1.0PRE1_GIT_FD8B258' not found (required by samba)
>samba: /usr/local/samba/lib/private/libservice.so: version 
>`SAMBA_4.1.0PRE1_GIT_FD8B258' not found (required by samba)
>samba: /usr/local/samba/lib/private/libldbsamba.so: version 
>`SAMBA_4.1.0PRE1_GIT_FD8B258' not found (required by samba)
>samba: /usr/local/samba/lib/private/libMESSAGING.so: version 
>`SAMBA_4.1.0PRE1_GIT_FD8B258' not found (required by samba)
>samba: /usr/local/samba/lib/private/libntvfs.so: version 
>`SAMBA_4.1.0PRE1_GIT_FD8B258' not found (required by samba)
>
>... and a quick check of "ps -A | grep samba" confirms that it is indeed not 
>running.
>
>I checked that all of the above files actually do exist at the given paths:
>
>root@raspberrypi:/usr/local/samba4# ls -al 
>/usr/local/samba/lib/private/libcliauth.so
>-rwxr-xr-x 1 root staff 157540 Apr  3 08:21 
>/usr/local/samba/lib/private/libcliauth.so
>root@raspberrypi:/usr/local/samba4# ls -al 
>/usr/local/samba/lib/private/libauth4.so
>-rwxr-xr-x 1 root staff 200714 Apr  3 08:40 
>/usr/local/samba/lib/private/libauth4.so
>root@raspberrypi:/usr/local/samba4# ls -al 
>/usr/local/samba/lib/private/libevents.so
>-rwxr-xr-x 1 root staff 6858 Apr  3 08:18 
>/usr/local/samba/lib/private/libevents.so
>root@raspberrypi:/usr/local/samba4# ls -al 
>/usr/local/samba/lib/private/libcluster.so
>-rwxr-xr-x 1 root staff 14230 Apr  3 08:19 
>/usr/local/samba/lib/private/libcluster.so
>root@raspberrypi:/usr/local/samba4# ls -al 
>/usr/local/samba/lib/private/libprocess_model.so
>-rwxr-xr-x 1 root staff 21163 Apr  3 08:20
> /usr/local/samba/lib/private/libprocess_model.so
>root@raspberrypi:/usr/local/samba4# ls -al 
>/usr/local/samba/lib/private/libsamdb-common.so
>-rwxr-xr-x 1 root staff 222416 Apr  3 08:21 
>/usr/local/samba/lib/private/libsamdb-common.so
>root@raspberrypi:/usr/local/samba4# ls -al 
>/usr/local/samba/lib/private/libsamba-modules.so
>-rwxr-xr-x 1 root staff 15430 Apr  3 08:19 
>/usr/local/samba/lib/private/libsamba-modules.so
>root@raspberrypi:/usr/local/samba4# ls -al 
>/usr/local/samba/lib/private/libndr-samba4.so
>-rwxr-xr-x 1 root staff 2565327 Apr  3 08:21 
>/usr/local/samba/lib/private/libndr-samba4.so
>root@raspberrypi:/usr/local/samba4# ls -al 
>/usr/local/samba/lib/private/liberrors.so
>-rwxr-xr-x 1 root staff 406455 Apr  3 08:19 
>/usr/local/samba/lib/private/liberrors.so
>root@raspberrypi:/usr/local/samba4# ls -al 
>/usr/local/samba/lib/private/libservice.so
>-rwxr-xr-x 1 root staff 73408 Apr  3 08:40
> /usr/local/samba/lib/private/libservice.so
>root@raspberrypi:/usr/local/samba4# ls -al 
>/usr/local/samba/lib/private/libldbsamba.so
>-rwxr-xr-x 1 root staff 367089 Apr  3 08:22 
>/usr/local/samba/lib/private/libldbsamba.so
>root@raspberrypi:/usr/local/samba4# ls -al 
>/usr/local/samba/lib/private/libMESSAGING.so
>-rwxr-xr-x 1 root staff 71125 Apr  3 08:27 
>/usr/local/samba/lib/private/libMESSAGING.so
>root@raspberrypi:/usr/local/samba4# ls -al 
>/usr/local/samba/lib/private/libntvfs.so
>-rwxr-xr-x 1 root staff 2366899 Apr  3 08:39 
>/usr/local/samba/lib/private/libntvfs.so
>
>
>The smbclient command also fails with the same issue, so I can't even connect 
>to other PCs.
>
>
>I got the Pi primarily to learn Linux as I am not an experienced Linux user 
>(Windows and Cisco IOS guy here) - I have no idea how to check what version 
>each of these files actually is - so I'm not really sure what to try out next.
>
>Can anyone give me any pointers?  It'd be nice to get this back up and running.
>
>Kind regards
>Graeme Porter
>--
>To unsubscribe from this list go to the following URL and read the
>instructions:  https://lists.samba.org/mailman/options/samba
>


-- 
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

Reply via email to