ESyS installation problem with libboost

Asked by aaron

Hi all,

I am trying to install both ESyS-Particle and OpenFOAM on my computer. However, the two softwares used different dependency of libboost, namely, ESyS used libboost1.55-all-dev, while OpenFOAM used libboost-all-dev (1.54 version). As a result, I can only install one of them at one time, because I cannot install both libboost1.55-all-dev and libboost-all-dev on my computer due to incompatibility.

Could anyone help me out on this problem? I really need to use both softwares in my work.

Thank you very much.

Regards,
Aaron

Question information

Language:
English Edit question
Status:
Solved
For:
ESyS-Particle Edit question
Assignee:
No assignee Edit question
Solved by:
Manfred Hampl
Solved:
Last query:
Last reply:
Revision history for this message
Qi Shao (uqqshao) said :
#1

Hi Aaron,

libboost1.54 should work for ESyS-Particle. Give it a try following the installation instructions shown in the link below, and let me know if you encounter any problem.

https://answers.launchpad.net/esys-particle/+faq/1613

Cheers,
Qi

Revision history for this message
Dion Weatherley (d-weatherley) said :
#2

Hi Aaron,

Esys-particle works with libboost-1.47.0 and later versions. Should be fine to use libboost-all-dev package on your system.

Cheers,

Dion

Revision history for this message
aaron (zhaotaoscu) said :
#3

Hi Dion,

Thanks for the answer. I am sorry but I still cannot work it out. My ubuntu system is 14.04. I understand from your previous post that on this ubuntu system, esys-particle depends on libboost1.55-all-dev, instead of libboost-all-dev. However, OpenFOAM depends on libboost-all-dev. I do not know how to link the boost libraries seperately to these two codes. Probably you can give me some suggestion. Thanks.

Cheers,
Aaron

Revision history for this message
Manfred Hampl (m-hampl) said :
#4

For diagnostic purposes please provide the output of the following commands:

uname -a
lsb_release -crid
apt-cache policy esys-particle libboost-all-dev

(or - if you are installing from other sources than the Ubuntu repositories - please provide the details)

Revision history for this message
Qi Shao (uqqshao) said :
#5

Hi Aaron,

Can you please post the error message you have got with libboost during the installation?

Cheers,
Qi

Revision history for this message
Dion Weatherley (d-weatherley) said :
#6

Hi Aaron,

If you have already installed libboost-all-dev (e.g. via sudo apt-get install libboost-all-dev), then simply proceed to download, configure and install ESyS-Particle (either from source code or use 'sudo apt-get install esys-particle). The ESyS-Particle installer should find and use the libboost libraries without providing additional path information.

If you encounter issues during the installation of ESyS-P, please post the error messages you obtain.

Cheers,

Dion

Revision history for this message
aaron (zhaotaoscu) said :
#7

Hi Dion and Qi,

I still have the problem during installation. The error occurs when I tried to do the configure command. The output error message is as below:

checking for the Boost filesystem library... /usr/lib/x86_64-linux-gnu/libboost_filesystem.so ...
no...
/usr/lib/libboost_filesystem.so ...
no...
/usr/local/lib/libboost_filesystem.so ...
no...
/lib/x86_64-linux-gnu/libboost_filesystem.so ...
no...
/lib/libboost_filesystem.so ...
no...
/lib64/libboost_filesystem.so ...
no...
/libboost_filesystem.so ...
no...
/usr/lib/x86_64-linux-gnu/libboost_filesystem-mt.so ...
no...
/usr/lib/libboost_filesystem-mt.so ...
no...
/usr/local/lib/libboost_filesystem-mt.so ...
no...
/lib/x86_64-linux-gnu/libboost_filesystem-mt.so ...
no...

(lots of output here...)

no...
/lib64/libboost_filesystem-gcc-mt-d-1_54.so ...
no...
/libboost_filesystem-gcc-mt-d-1_54.so ...
no...
no
configure: error: cannot find the flags to link with Boost filesystem

Currently, I have installed libboost-all-dev. The ubuntu version is 14.04. ESyS-Particle-2.3.2 and 2.3.5 have been tested with the same error outputs.

Please see if you have any idea on how to solve this problem.

Thank you very much.

Cheers,
Aaron

Revision history for this message
Manfred Hampl (m-hampl) said :
#8

/usr/lib/x86_64-linux-gnu/libboost_filesystem.so is provided by the packages libboost-filesystem1.54-dev and libboost-filesystem1.55-dev (on trusty amd64)

libboost-all-dev has libboost-filesystem-dev as a dependency which in turn depends on libboost-filesystem1.54-dev

What is the output of
uname -a
lsb_release -crid
apt-cache policy esys-particle libboost-all-dev libboost-filesystem-dev libboost-filesystem1.54-dev

Revision history for this message
aaron (zhaotaoscu) said :
#9

Hi Manfred,

The output message is:

Linux aaron-Z97-HD3 3.13.0-32-generic #57-Ubuntu SMP Tue Jul 15 03:51:08 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

Distributor ID: Ubuntu
Description: Ubuntu 14.04.1 LTS
Release: 14.04
Codename: trusty

esys-particle:
  Installed: (none)
  Candidate: 2.2.u2-2ubuntu4
  Version table:
     2.2.u2-2ubuntu4 0
        500 http://cn.archive.ubuntu.com/ubuntu/ trusty/universe amd64 Packages
libboost-all-dev:
  Installed: (none)
  Candidate: 1.54.0.1ubuntu1
  Version table:
     1.54.0.1ubuntu1 0
        500 http://cn.archive.ubuntu.com/ubuntu/ trusty/universe amd64 Packages
libboost-filesystem-dev:
  Installed: (none)
  Candidate: 1.54.0.1ubuntu1
  Version table:
     1.54.0.1ubuntu1 0
        500 http://cn.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
libboost-filesystem1.54-dev:
  Installed: (none)
  Candidate: 1.54.0-4ubuntu3.1
  Version table:
     1.54.0-4ubuntu3.1 0
        500 http://cn.archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 Packages
     1.54.0-4ubuntu3 0
        500 http://cn.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages

Please see if you can help.

Cheers,
Aaron

Revision history for this message
Qi Shao (uqqshao) said :
#10

Hi Aaron,

According to your output message, it seems that libboost has not been installed (correctly) in your system. To further confirm this, can you please provide the output of the following command?

 dpkg -l | grep libboost

Cheers,
Qi

Revision history for this message
Manfred Hampl (m-hampl) said :
#12

What output do you get for

apt-get --simulate install esys-particle

Revision history for this message
aaron (zhaotaoscu) said :
#13

Hi Qi,

The output message is:

ii libboost-atomic1.54-dev:amd64 1.54.0-4ubuntu3.1 amd64 atomic data types, operations, and memory ordering constraints
ii libboost-atomic1.54.0:amd64 1.54.0-4ubuntu3.1 amd64 atomic data types, operations, and memory ordering constraints
ii libboost-chrono1.54-dev:amd64 1.54.0-4ubuntu3.1 amd64 C++ representation of time duration, time point, and clocks
ii libboost-chrono1.54.0:amd64 1.54.0-4ubuntu3.1 amd64 C++ representation of time duration, time point, and clocks
ii libboost-date-time1.54-dev:amd64 1.54.0-4ubuntu3.1 amd64 set of date-time libraries based on generic programming concepts
ii libboost-date-time1.54.0:amd64 1.54.0-4ubuntu3.1 amd64 set of date-time libraries based on generic programming concepts
ii libboost-dev 1.54.0.1ubuntu1 amd64 Boost C++ Libraries development files (default version)
ii libboost-iostreams1.54.0:amd64 1.54.0-4ubuntu3.1 amd64 Boost.Iostreams Library
ii libboost-program-options-dev:amd64 1.54.0.1ubuntu1 amd64 program options library for C++ (default version)
ii libboost-program-options1.54-dev:amd64 1.54.0-4ubuntu3.1 amd64 program options library for C++
ii libboost-program-options1.54.0:amd64 1.54.0-4ubuntu3.1 amd64 program options library for C++
ii libboost-serialization1.54-dev:amd64 1.54.0-4ubuntu3.1 amd64 serialization library for C++
ii libboost-serialization1.54.0:amd64 1.54.0-4ubuntu3.1 amd64 serialization library for C++
ii libboost-system-dev:amd64 1.54.0.1ubuntu1 amd64 Operating system (e.g. diagnostics support) library (default version)
ii libboost-system1.54-dev:amd64 1.54.0-4ubuntu3.1 amd64 Operating system (e.g. diagnostics support) library
ii libboost-system1.54.0:amd64 1.54.0-4ubuntu3.1 amd64 Operating system (e.g. diagnostics support) library
ii libboost-thread-dev:amd64 1.54.0.1ubuntu1 amd64 portable C++ multi-threading (default version)
ii libboost-thread1.54-dev:amd64 1.54.0-4ubuntu3.1 amd64 portable C++ multi-threading
ii libboost-thread1.54.0:amd64 1.54.0-4ubuntu3.1 amd64 portable C++ multi-threading
ii libboost1.54-dev 1.54.0-4ubuntu3.1 amd64 Boost C++ Libraries development files

I have installed libboost-all-dev on my Ubuntu 14.04 system. I can use this version of libboost (1.54 version) dependency for OpenFOAM installation. However, the ESYS-particle cannot use the current version of libboost, while it uses libboost1.55-all-dev. I just want to understand why ESyS-Particle cannot work with libboost1.54.

Please see if you can help. Thanks.

cheers,
Aaron

Revision history for this message
aaron (zhaotaoscu) said :
#14

Hi Manfred,

I got the following output message:

Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  libboost-filesystem1.54.0 libboost-python1.54.0 libboost-regex1.54.0
  python-demgengeo
Suggested packages:
  paraview
The following NEW packages will be installed:
  esys-particle libboost-filesystem1.54.0 libboost-python1.54.0
  libboost-regex1.54.0 python-demgengeo
0 upgraded, 5 newly installed, 0 to remove and 619 not upgraded.
Inst libboost-filesystem1.54.0 (1.54.0-4ubuntu3.1 Ubuntu:14.04/trusty-updates [amd64])
Inst libboost-python1.54.0 (1.54.0-4ubuntu3.1 Ubuntu:14.04/trusty-updates [amd64])
Inst libboost-regex1.54.0 (1.54.0-4ubuntu3.1 Ubuntu:14.04/trusty-updates [amd64])
Inst python-demgengeo (0.99~bzr124-1 Ubuntu:14.04/trusty [amd64])
Inst esys-particle (2.2.u2-2ubuntu4 Ubuntu:14.04/trusty [amd64])
Conf libboost-filesystem1.54.0 (1.54.0-4ubuntu3.1 Ubuntu:14.04/trusty-updates [amd64])
Conf libboost-python1.54.0 (1.54.0-4ubuntu3.1 Ubuntu:14.04/trusty-updates [amd64])
Conf libboost-regex1.54.0 (1.54.0-4ubuntu3.1 Ubuntu:14.04/trusty-updates [amd64])
Conf python-demgengeo (0.99~bzr124-1 Ubuntu:14.04/trusty [amd64])
Conf esys-particle (2.2.u2-2ubuntu4 Ubuntu:14.04/trusty [amd64])

Cheers,
Aaron

Revision history for this message
Manfred Hampl (m-hampl) said :
#15

The simulation looks ok. As you can see it pulls in the packages libboost-filesystem1.54.0 libboost-python1.54.0 libboost-regex1.54.0, which you apparently do not have installed yet. No indication of a 1.55 version, everything is version 1.54.

I suggest that you try the real installation

sudo apt-get install esys-particle

Remark:
The line "0 upgraded, 5 newly installed, 0 to remove and 619 not upgraded" indicates that there are several hundreds of package updates available that you did not install on your system yet.

Revision history for this message
aaron (zhaotaoscu) said :
#16

Hi Manfred,

Thank you very much.

It is fine to install esys-particle from the terminal with "sudo apt-get install esys-particle". However, it doesn't work if I install from the source code. The same error occurs when I do the configuration. I have to install from the source code, because I need to added my own contact model in the source code.

The error message is:

checking for the Boost filesystem library... /usr/lib/x86_64-linux-gnu/libboost_filesystem.so ...
no...
/usr/lib/libboost_filesystem.so ...
no...
/usr/local/lib/libboost_filesystem.so ...
no...
/lib/x86_64-linux-gnu/libboost_filesystem.so ...
no...
/lib/libboost_filesystem.so ...
no...
/lib64/libboost_filesystem.so ...
no...
/libboost_filesystem.so ...
no...
/usr/lib/x86_64-linux-gnu/libboost_filesystem-mt.so ...
no...
/usr/lib/libboost_filesystem-mt.so ...
no...
/usr/local/lib/libboost_filesystem-mt.so ...
no...
/lib/x86_64-linux-gnu/libboost_filesystem-mt.so ...
no...
/lib/libboost_filesystem-mt.so ...
no...
/lib64/libboost_filesystem-mt.so ...
no...
/libboost_filesystem-mt.so ...
no...
/usr/lib/x86_64-linux-gnu/libboost_filesystem-d.so ...
no...
/usr/lib/libboost_filesystem-d.so ...
no...
/usr/local/lib/libboost_filesystem-d.so ...
no...
/lib/x86_64-linux-gnu/libboost_filesystem-d.so ...
no...
/lib/libboost_filesystem-d.so ...
no...
/lib64/libboost_filesystem-d.so ...
no...
/libboost_filesystem-d.so ...
no...
/usr/lib/x86_64-linux-gnu/libboost_filesystem-mt-d.so ...
no...
/usr/lib/libboost_filesystem-mt-d.so ...
no...
/usr/local/lib/libboost_filesystem-mt-d.so ...
no...
/lib/x86_64-linux-gnu/libboost_filesystem-mt-d.so ...
no...
/lib/libboost_filesystem-mt-d.so ...
no...
/lib64/libboost_filesystem-mt-d.so ...
no...
/libboost_filesystem-mt-d.so ...
no...
/usr/lib/x86_64-linux-gnu/libboost_filesystem-1_54.so ...
no...
/usr/lib/libboost_filesystem-1_54.so ...
no...
/usr/local/lib/libboost_filesystem-1_54.so ...
no...
/lib/x86_64-linux-gnu/libboost_filesystem-1_54.so ...
no...
/lib/libboost_filesystem-1_54.so ...
no...
/lib64/libboost_filesystem-1_54.so ...
no...
/libboost_filesystem-1_54.so ...
no...
/usr/lib/x86_64-linux-gnu/libboost_filesystem-mt-1_54.so ...
no...
/usr/lib/libboost_filesystem-mt-1_54.so ...
no...
/usr/local/lib/libboost_filesystem-mt-1_54.so ...
no...
/lib/x86_64-linux-gnu/libboost_filesystem-mt-1_54.so ...
no...
/lib/libboost_filesystem-mt-1_54.so ...
no...
/lib64/libboost_filesystem-mt-1_54.so ...
no...
/libboost_filesystem-mt-1_54.so ...
no...
/usr/lib/x86_64-linux-gnu/libboost_filesystem-d-1_54.so ...
no...
/usr/lib/libboost_filesystem-d-1_54.so ...
no...
/usr/local/lib/libboost_filesystem-d-1_54.so ...
no...
/lib/x86_64-linux-gnu/libboost_filesystem-d-1_54.so ...
no...
/lib/libboost_filesystem-d-1_54.so ...
no...
/lib64/libboost_filesystem-d-1_54.so ...
no...
/libboost_filesystem-d-1_54.so ...
no...
/usr/lib/x86_64-linux-gnu/libboost_filesystem-mt-d-1_54.so ...
no...
/usr/lib/libboost_filesystem-mt-d-1_54.so ...
no...
/usr/local/lib/libboost_filesystem-mt-d-1_54.so ...
no...
/lib/x86_64-linux-gnu/libboost_filesystem-mt-d-1_54.so ...
no...
/lib/libboost_filesystem-mt-d-1_54.so ...
no...
/lib64/libboost_filesystem-mt-d-1_54.so ...
no...
/libboost_filesystem-mt-d-1_54.so ...
no...
/usr/lib/x86_64-linux-gnu/libboost_filesystem-gcc48.so ...
no...
/usr/lib/libboost_filesystem-gcc48.so ...
no...
/usr/local/lib/libboost_filesystem-gcc48.so ...
no...
/lib/x86_64-linux-gnu/libboost_filesystem-gcc48.so ...
no...
/lib/libboost_filesystem-gcc48.so ...
no...
/lib64/libboost_filesystem-gcc48.so ...
no...
/libboost_filesystem-gcc48.so ...
no...
/usr/lib/x86_64-linux-gnu/libboost_filesystem-gcc48-mt.so ...
no...
/usr/lib/libboost_filesystem-gcc48-mt.so ...
no...
/usr/local/lib/libboost_filesystem-gcc48-mt.so ...
no...
/lib/x86_64-linux-gnu/libboost_filesystem-gcc48-mt.so ...
no...
/lib/libboost_filesystem-gcc48-mt.so ...
no...
/lib64/libboost_filesystem-gcc48-mt.so ...
no...
/libboost_filesystem-gcc48-mt.so ...
no...
/usr/lib/x86_64-linux-gnu/libboost_filesystem-gcc48-d.so ...
no...
/usr/lib/libboost_filesystem-gcc48-d.so ...
no...
/usr/local/lib/libboost_filesystem-gcc48-d.so ...
no...
/lib/x86_64-linux-gnu/libboost_filesystem-gcc48-d.so ...
no...
/lib/libboost_filesystem-gcc48-d.so ...
no...
/lib64/libboost_filesystem-gcc48-d.so ...
no...
/libboost_filesystem-gcc48-d.so ...
no...
/usr/lib/x86_64-linux-gnu/libboost_filesystem-gcc48-mt-d.so ...
no...
/usr/lib/libboost_filesystem-gcc48-mt-d.so ...
no...
/usr/local/lib/libboost_filesystem-gcc48-mt-d.so ...
no...
/lib/x86_64-linux-gnu/libboost_filesystem-gcc48-mt-d.so ...
no...
/lib/libboost_filesystem-gcc48-mt-d.so ...
no...
/lib64/libboost_filesystem-gcc48-mt-d.so ...
no...
/libboost_filesystem-gcc48-mt-d.so ...
no...
/usr/lib/x86_64-linux-gnu/libboost_filesystem-gcc48-1_54.so ...
no...
/usr/lib/libboost_filesystem-gcc48-1_54.so ...
no...
/usr/local/lib/libboost_filesystem-gcc48-1_54.so ...
no...
/lib/x86_64-linux-gnu/libboost_filesystem-gcc48-1_54.so ...
no...
/lib/libboost_filesystem-gcc48-1_54.so ...
no...
/lib64/libboost_filesystem-gcc48-1_54.so ...
no...
/libboost_filesystem-gcc48-1_54.so ...
no...
/usr/lib/x86_64-linux-gnu/libboost_filesystem-gcc48-mt-1_54.so ...
no...
/usr/lib/libboost_filesystem-gcc48-mt-1_54.so ...
no...
/usr/local/lib/libboost_filesystem-gcc48-mt-1_54.so ...
no...
/lib/x86_64-linux-gnu/libboost_filesystem-gcc48-mt-1_54.so ...
no...
/lib/libboost_filesystem-gcc48-mt-1_54.so ...
no...
/lib64/libboost_filesystem-gcc48-mt-1_54.so ...
no...
/libboost_filesystem-gcc48-mt-1_54.so ...
no...
/usr/lib/x86_64-linux-gnu/libboost_filesystem-gcc48-d-1_54.so ...
no...
/usr/lib/libboost_filesystem-gcc48-d-1_54.so ...
no...
/usr/local/lib/libboost_filesystem-gcc48-d-1_54.so ...
no...
/lib/x86_64-linux-gnu/libboost_filesystem-gcc48-d-1_54.so ...
no...
/lib/libboost_filesystem-gcc48-d-1_54.so ...
no...
/lib64/libboost_filesystem-gcc48-d-1_54.so ...
no...
/libboost_filesystem-gcc48-d-1_54.so ...
no...
/usr/lib/x86_64-linux-gnu/libboost_filesystem-gcc48-mt-d-1_54.so ...
no...
/usr/lib/libboost_filesystem-gcc48-mt-d-1_54.so ...
no...
/usr/local/lib/libboost_filesystem-gcc48-mt-d-1_54.so ...
no...
/lib/x86_64-linux-gnu/libboost_filesystem-gcc48-mt-d-1_54.so ...
no...
/lib/libboost_filesystem-gcc48-mt-d-1_54.so ...
no...
/lib64/libboost_filesystem-gcc48-mt-d-1_54.so ...
no...
/libboost_filesystem-gcc48-mt-d-1_54.so ...
no...
/usr/lib/x86_64-linux-gnu/libboost_filesystem-gcc.so ...
no...
/usr/lib/libboost_filesystem-gcc.so ...
no...
/usr/local/lib/libboost_filesystem-gcc.so ...
no...
/lib/x86_64-linux-gnu/libboost_filesystem-gcc.so ...
no...
/lib/libboost_filesystem-gcc.so ...
no...
/lib64/libboost_filesystem-gcc.so ...
no...
/libboost_filesystem-gcc.so ...
no...
/usr/lib/x86_64-linux-gnu/libboost_filesystem-gcc-mt.so ...
no...
/usr/lib/libboost_filesystem-gcc-mt.so ...
no...
/usr/local/lib/libboost_filesystem-gcc-mt.so ...
no...
/lib/x86_64-linux-gnu/libboost_filesystem-gcc-mt.so ...
no...
/lib/libboost_filesystem-gcc-mt.so ...
no...
/lib64/libboost_filesystem-gcc-mt.so ...
no...
/libboost_filesystem-gcc-mt.so ...
no...
/usr/lib/x86_64-linux-gnu/libboost_filesystem-gcc-d.so ...
no...
/usr/lib/libboost_filesystem-gcc-d.so ...
no...
/usr/local/lib/libboost_filesystem-gcc-d.so ...
no...
/lib/x86_64-linux-gnu/libboost_filesystem-gcc-d.so ...
no...
/lib/libboost_filesystem-gcc-d.so ...
no...
/lib64/libboost_filesystem-gcc-d.so ...
no...
/libboost_filesystem-gcc-d.so ...
no...
/usr/lib/x86_64-linux-gnu/libboost_filesystem-gcc-mt-d.so ...
no...
/usr/lib/libboost_filesystem-gcc-mt-d.so ...
no...
/usr/local/lib/libboost_filesystem-gcc-mt-d.so ...
no...
/lib/x86_64-linux-gnu/libboost_filesystem-gcc-mt-d.so ...
no...
/lib/libboost_filesystem-gcc-mt-d.so ...
no...
/lib64/libboost_filesystem-gcc-mt-d.so ...
no...
/libboost_filesystem-gcc-mt-d.so ...
no...
/usr/lib/x86_64-linux-gnu/libboost_filesystem-gcc-1_54.so ...
no...
/usr/lib/libboost_filesystem-gcc-1_54.so ...
no...
/usr/local/lib/libboost_filesystem-gcc-1_54.so ...
no...
/lib/x86_64-linux-gnu/libboost_filesystem-gcc-1_54.so ...
no...
/lib/libboost_filesystem-gcc-1_54.so ...
no...
/lib64/libboost_filesystem-gcc-1_54.so ...
no...
/libboost_filesystem-gcc-1_54.so ...
no...
/usr/lib/x86_64-linux-gnu/libboost_filesystem-gcc-mt-1_54.so ...
no...
/usr/lib/libboost_filesystem-gcc-mt-1_54.so ...
no...
/usr/local/lib/libboost_filesystem-gcc-mt-1_54.so ...
no...
/lib/x86_64-linux-gnu/libboost_filesystem-gcc-mt-1_54.so ...
no...
/lib/libboost_filesystem-gcc-mt-1_54.so ...
no...
/lib64/libboost_filesystem-gcc-mt-1_54.so ...
no...
/libboost_filesystem-gcc-mt-1_54.so ...
no...
/usr/lib/x86_64-linux-gnu/libboost_filesystem-gcc-d-1_54.so ...
no...
/usr/lib/libboost_filesystem-gcc-d-1_54.so ...
no...
/usr/local/lib/libboost_filesystem-gcc-d-1_54.so ...
no...
/lib/x86_64-linux-gnu/libboost_filesystem-gcc-d-1_54.so ...
no...
/lib/libboost_filesystem-gcc-d-1_54.so ...
no...
/lib64/libboost_filesystem-gcc-d-1_54.so ...
no...
/libboost_filesystem-gcc-d-1_54.so ...
no...
/usr/lib/x86_64-linux-gnu/libboost_filesystem-gcc-mt-d-1_54.so ...
no...
/usr/lib/libboost_filesystem-gcc-mt-d-1_54.so ...
no...
/usr/local/lib/libboost_filesystem-gcc-mt-d-1_54.so ...
no...
/lib/x86_64-linux-gnu/libboost_filesystem-gcc-mt-d-1_54.so ...
no...
/lib/libboost_filesystem-gcc-mt-d-1_54.so ...
no...
/lib64/libboost_filesystem-gcc-mt-d-1_54.so ...
no...
/libboost_filesystem-gcc-mt-d-1_54.so ...
no...
no
configure: error: cannot find the flags to link with Boost filesystem

Please see if you can help.

Cheers,
Aaron

Revision history for this message
Dion Weatherley (d-weatherley) said :
#17

Hi Aaron,

Ok, I am assuming you have issued these two commands in the esys-particle source code directory:

$ sh autogen.sh
$ ./configure CC=mpicc CXX=mpic++

and obtained the boost error messages posted above, ending in "configure: error: cannot find the flags to link with Boost filesystem".

If that is the case, let's try to help configure to find the boost libraries. Try this command:

$ ./configure CC=mpicc CXX=mpic++ --with-boost=/usr/lib/x86_64-linux-gnu/

Let us know if this works. If not, please post both the command you issued and the error message(s).

Cheers,

Dion

Revision history for this message
Best Manfred Hampl (m-hampl) said :
#18

1. Up to now you did not tell that you want to install from source instead the Ubuntu-provided package from the Ubuntu repositories. This is a different issue.

2. "checking for the Boost filesystem library... /usr/lib/x86_64-linux-gnu/libboost_filesystem.so ...
no..."
Apparently you are STILL MISSING libboost-filesystem*!

I suggest that you try installing libboost-filesystem1.54-dev and then run ./configure again.

Revision history for this message
aaron (zhaotaoscu) said :
#19

Hi Dion and Manfred,

Thank you very much. Your answers are very helpful. Now, I have successfully installed libboost-filesystem-1.54, and then compiled ESys-Particle from the source code.

Cheers,
Tao

Revision history for this message
aaron (zhaotaoscu) said :
#20

Thanks Manfred Hampl, that solved my question.

Revision history for this message
Dion Weatherley (d-weatherley) said :
#21

Hi Tao,

That's great! I'm glad to hear you have managed to compile ESyS-Particle finally.

All the best with your research.

Cheers,

Dion