Boost logo

Boost-Build :

Subject: Re: [Boost-build] Mismatched versions of Boost.Build engine and core
From: Alex Durie (multivacant39_at_[hidden])
Date: 2016-08-10 16:28:28


Thanks Volodya,
I hadn't noticed that when b2 ran correctly it had created a new bjam, and that the old one was still being used. It has successfully wrapped the hello.cpp tutorial file, only now I can't get python to recognise it as I keep getting the error;
ImportError: libboost_python.so.1.61.0: cannot open shared object file: No such file or directory
despite what I do with LD_LIBRARY_PATH.
> - avoid putting boost sources in /usr/include - that directory is
> normally managed by package system of your OS
> - don't run build process with "sudo"
based on your advice I believe I should probably 'start again', as It seems I cannot invoke bjam in it's current library without sudo due to permissions. I guess I should remove everything boost from my include path, and re-extract to somewhere in my home directory. Does Bootstrap.sh rely entirely on the files user-config.jam and site-config.jam, so that I can just preserve these and just change the path to boost?
Thanks again,
Alex
> To: boost-build_at_[hidden]
> From: vladimir.prus_at_[hidden]
> Date: Wed, 10 Aug 2016 22:21:20 +0300
> Subject: Re: [Boost-build] Mismatched versions of Boost.Build engine and core
>
> On 10-Aug-16 7:56 PM, Alex Durie wrote:
> >
> > alex_at_alex-Lenovo-IdeaPad-Z500
> > /usr/include/boost_1_61_0/libs/python/example/tutorial $ sudo bjam
> >
> > and I am still getting the error ERROR: rule "READLINK" unknown in
> > module "link"
> > I have attached the terminal output of this as well in case it's instructive
>
> Alex,
>
> the above invocation appears to use bjam that you have installed in your
> system, and is rather old. I would suggest you use b2 that you've build
> from source, which is probably located at
>
> /usr/include/boost_16_0/b2
>
> It's not important for your problem, but in general, I would suggest
> that you
>
> - avoid putting boost sources in /usr/include - that directory is
> normally managed by package system of your OS
> - don't run build process with "sudo"
>
> The way you do it now makes it easy to accidentally do something
> undesirable to system directory.
>
> HTH,
> Volodya
>
>
>
>
> _______________________________________________
> Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
                                               



Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk