proper way to update using git?
jelmer at samba.org
Tue Oct 11 17:58:19 MDT 2011
On 10/12/2011 01:13 AM, Jeff Sadowski wrote:
> actual error was as follows in the log.samba
> /usr/local/samba/sbin/samba: relocation error:
> /usr/local/samba/sbin/samba: symbol load_samba_modules, version
> SAMBA_HOSTCONFIG_0.0.1 not defined in file libsamba-hostconfig.so.0
> with link time reference
> so I thought the fastest way to fix that was to rebuild after a make
> clean am I wrong?
This appears to have more to do with your installation (rather than with
your source tree).
Do you perhaps have another copy of the samba libraries on your system,
e.g. in /usr/lib ?
> On Tue, Oct 11, 2011 at 5:04 PM, Jelmer Vernooij <jelmer at samba.org> wrote:
>> Hi Jeff,
>> On 10/12/2011 12:53 AM, Jeff Sadowski wrote:
>>> I realized doing a
>>> git pull;make;make install
>>> created an unusable samba binary aka it doesn't start
>>> so I did a
>>> git pull;make clean;./configure.developer;make;make install
>>> am I doing this right?
>>> should I be using ./configure instead of ./configure.developer?
>> Samba not starting isn't necessarily related to the way you're
>> incrementally updating. Does it work fine in a clean git clone ?
>> "make clean" should remove all artefacts created by the build system. If
>> that doesn't remove all files, you can always run "git clean -f -x -d",
>> which will remove *all* files in the tree that aren't versioned.
More information about the samba-technical