Missing boost files

I am compiling a file that requires boost. However, when I was compiling it by using “wmake” (OpenFOAM), I get this error:

/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: cannot find -lboost_date_time
/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: cannot find -lboost_filesystem
/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: cannot find -lboost_system
/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: cannot find -lboost_regex

I find it odd because I don’t have that particular directory in my system. As far as I know, I installed boost from YAST and thought it would work right off the box. I narrow the problems down to:

(1) Incorrect boost path (I’m not sure where the path is)
(2) I don’t have it installed.

Please help me fix this problem :’(

Hi
All the boost libs where split out, so you need to install the relevant ones, eg libboost_filesystem-devel etc

That seems to work! I will update if I come back with the same problem. && btw what’s the path of boost in OpenSUSE? everything seems to be scattered and there seems to be no direct path

Hi
Should be defined by the relevant pkgconfig file… but all should be down in /usr/lib64 /usr/include…