build nightmares

Andrew Bartlett abartlet at samba.org
Mon Jan 3 15:38:41 MST 2011


On Mon, 2011-01-03 at 17:24 -0500, Aaron Solochek wrote:
> On 01/03/2011 05:08 PM, Andrew Bartlett wrote:
> > On Mon, 2011-01-03 at 16:35 -0500, Aaron Solochek wrote:
> >> Ok, I've spent the day on this, which is my limit before asking for help.
> >>
> >> I'm trying to upgrade samba4 on my ubuntu system.  I saw that there were new
> >> .debs (obviously the preferred way for me to install it) but those failed to
> >> install.  Have those ever installed cleanly for anyone?  This time it was some
> >> unresolved symbol.
> > 
> > Have you previously installed Samba from source?
> > 
> > Remove all traces of any previous built-from-source ldb,tdb,talloc and
> > Samba4 from your system first.  ie, remove PREFIX/lib PREFIX/bin
> > 
> > The problem is that the system linker may choose the previous
> > unversioned libraries instead of the new versioned libs. (symbol
> > versions are the big change we made for this release)
> > 
> > Andrew Bartlett
> > 
> 
> Ok, I went through and removed everything I could find, including all the .debs.
>  Then just for fun I tried installing the debs again and I got this:
> 
> Setting up samba4 (4.0.0~alpha14~bzr15953~ppa174+199~maverick) ...
> Traceback (most recent call last):
>   File "/usr/share/samba/setup/upgradeprovision", line 38, in <module>
>     import samba.getopt as options
>   File "/usr/lib/python2.6/dist-packages/samba/getopt.py", line 30, in <module>
>     from samba.hostconfig import Hostconfig
>   File "/usr/lib/python2.6/dist-packages/samba/hostconfig.py", line 22, in <module>
>     from samdb import SamDB
>   File "/usr/lib/python2.6/dist-packages/samba/samdb.py", line 32, in <module>
>     from samba.dcerpc import drsblobs, misc
> ImportError: /usr/lib/python2.6/dist-packages/samba/dcerpc/drsblobs.so:
> undefined symbol: PyString_FromString_check_null
> 
> 
> which was the original problem I was trying to solve.  

This looks like a function that we have removed, so you still have some
old python modules etc left around. 

Does the mentioned drsblobs.so belong to a package?  Perhaps it's a
left-over from an old build?

Andrew Bartlett

-- 
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org
Samba Developer, Cisco Inc.



More information about the samba-technical mailing list