Re: [Yade-dev] own compiled boost

2012-02-20 Thread Klaus Thoeni
Thanks Anton, but LD_LIBRARY_PATH is not an option in scons.profile.

Any other guesses?

On Mon, 20 Feb 2012 05:39:02 PM Anton Gladky wrote:
 Hi Klaus,
 
 try adding LD_LIBRARY_PATH='/usr/local/boost_1_46_1'
 
 Sorry, just a guess. Never tried.
 
 Anton
 
 2012/2/20 Klaus Thoeni klaus.tho...@newcastle.edu.au:
  Hi guys,
  
  as you might have noticed I am trying to run yade on a Red Hat server.
  However, saving and loading of simulations is not working. My guess is it
  could be related to the boost version used on the server (1.41.0-11) so I
  compiled version 1.46.1 in /usr/local. After adding LIBPATH =
  '/usr/local/boost_1_46_1/stage/lib' and CPPPATH =
  '/usr/local/boost_1_46_1' to my scons.profile I could compile the code.
  However, when launching yade I have the following problem now.
  
  Welcome to Yade bzr2999
  Traceback (most recent call last):
File ./yade-bzr2999, line 118, in module
  import yade
File
  /home/kt748/YADE-bzr/install/lib/yade-bzr2999/py/yade/__init__.py,
  line 58, in module
  import boot
  ImportError: libboost_system.so.1.46.1: cannot open shared object file:
  No such file or directory
  
  But libboost_system.so.1.46.1 exists in /usr/local/boost_1_46_1/. Any
  suggestions?
  
  Thanks
  Klaus
  
  ___
  Mailing list: https://launchpad.net/~yade-dev
  Post to : yade-dev@lists.launchpad.net
  Unsubscribe : https://launchpad.net/~yade-dev
  More help   : https://help.launchpad.net/ListHelp
 
 ___
 Mailing list: https://launchpad.net/~yade-dev
 Post to : yade-dev@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~yade-dev
 More help   : https://help.launchpad.net/ListHelp

___
Mailing list: https://launchpad.net/~yade-dev
Post to : yade-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Yade-dev] own compiled boost

2012-02-20 Thread Anton Gladky
Try to start yade:

export LD_LIBRARY_PATH=/usr/local/boost_1_46_1; yade

Anton

___
Mailing list: https://launchpad.net/~yade-dev
Post to : yade-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Yade-dev] own compiled boost

2012-02-20 Thread Klaus Thoeni
Hi Anton,

the path to the dynamic libraries was incomplete. I solved it with:

export D_LIBRARY_PATH=/usr/local/boost_1_46_1/stage/lib

And yade finally works. So the problem was really related to the boost version.

So what do you think, should update the documentation for the installation and 
point out that boost 1.42 or later is required? Well it was not working with 
1.41.0 on Red Hat and 1.42.0 works on my ubuntu machine.

Guys, what do you think?

Thanks again,
Klaus

On Tue, 21 Feb 2012 08:18:02 AM Anton Gladky wrote:
 Try to start yade:
 
 export LD_LIBRARY_PATH=/usr/local/boost_1_46_1; yade
 
 Anton
 
 ___
 Mailing list: https://launchpad.net/~yade-dev
 Post to : yade-dev@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~yade-dev
 More help   : https://help.launchpad.net/ListHelp

___
Mailing list: https://launchpad.net/~yade-dev
Post to : yade-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-dev
More help   : https://help.launchpad.net/ListHelp


[Yade-dev] own compiled boost

2012-02-19 Thread Klaus Thoeni
Hi guys,

as you might have noticed I am trying to run yade on a Red Hat server.
However, saving and loading of simulations is not working. My guess is it
could be related to the boost version used on the server (1.41.0-11) so I
compiled version 1.46.1 in /usr/local. After adding LIBPATH =
'/usr/local/boost_1_46_1/stage/lib' and CPPPATH = '/usr/local/boost_1_46_1'
to my scons.profile I could compile the code. However, when launching yade
I have the following problem now.

Welcome to Yade bzr2999
Traceback (most recent call last):
  File ./yade-bzr2999, line 118, in module
import yade
  File /home/kt748/YADE-bzr/install/lib/yade-bzr2999/py/yade/__init__.py,
line 58, in module
import boot
ImportError: libboost_system.so.1.46.1: cannot open shared object file: No
such file or directory

But libboost_system.so.1.46.1 exists in /usr/local/boost_1_46_1/. Any
suggestions?

Thanks
Klaus
___
Mailing list: https://launchpad.net/~yade-dev
Post to : yade-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Yade-dev] own compiled boost

2012-02-19 Thread Anton Gladky
Hi Klaus,

try adding LD_LIBRARY_PATH='/usr/local/boost_1_46_1'

Sorry, just a guess. Never tried.

Anton



2012/2/20 Klaus Thoeni klaus.tho...@newcastle.edu.au:
 Hi guys,

 as you might have noticed I am trying to run yade on a Red Hat server.
 However, saving and loading of simulations is not working. My guess is it
 could be related to the boost version used on the server (1.41.0-11) so I
 compiled version 1.46.1 in /usr/local. After adding LIBPATH =
 '/usr/local/boost_1_46_1/stage/lib' and CPPPATH = '/usr/local/boost_1_46_1'
 to my scons.profile I could compile the code. However, when launching yade I
 have the following problem now.

 Welcome to Yade bzr2999
 Traceback (most recent call last):
   File ./yade-bzr2999, line 118, in module
     import yade
   File /home/kt748/YADE-bzr/install/lib/yade-bzr2999/py/yade/__init__.py,
 line 58, in module
     import boot
 ImportError: libboost_system.so.1.46.1: cannot open shared object file: No
 such file or directory

 But libboost_system.so.1.46.1 exists in /usr/local/boost_1_46_1/. Any
 suggestions?

 Thanks
 Klaus

 ___
 Mailing list: https://launchpad.net/~yade-dev
 Post to     : yade-dev@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~yade-dev
 More help   : https://help.launchpad.net/ListHelp


___
Mailing list: https://launchpad.net/~yade-dev
Post to : yade-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-dev
More help   : https://help.launchpad.net/ListHelp