Results 1 to 4 of 4

Thread: Missing boost files

  1. #1

    Default 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:

    Code:
    /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

  2. #2
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,513
    Blog Entries
    15

    Default Re: Missing boost files

    Quote Originally Posted by fizsics View Post
    I am compiling a file that requires boost. However, when I was compiling it by using "wmake" (OpenFOAM), I get this error:

    Code:
    /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
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  3. #3

    Default Re: Missing boost files

    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

  4. #4
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,513
    Blog Entries
    15

    Default Re: Missing boost files

    Quote Originally Posted by fizsics View Post
    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...
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •