I'm using a software called GPUOcelot in order to be able to compile a software that I'm programming that uses CUDA. But my computer doesn't have any NVIDIA card, so that's the reason why I am using this emulator, but when I execute the next command:

g++ -o Sinulacionpositrones.out Simulacionpositrones.o OcelotConfig -l

I obtain this:

OcelotConfig: error while loading shared libraries: libboost_system.so.1.46.1: 
cannot open shared object file: No such file or directory

What can I do? I'm using Ubuntu 14.04. The webpage is this: https://code.google.com/p/gpuocelot/


2 Answers 2


Create a symbolic link

  • If you have the file /usr/lib/x86_64-linux-gnu/libboost_system.so.1.55.0


    sudo ln -s /usr/lib/x86_64-linux-gnu/libboost_system.so.1.55.0 /usr/lib/x86_64-linux-gnu/libboost_system.so.1.46.1


    sudo ln -s /usr/lib/i386-linux-gnu/libboost_system.so.1.55.0 /usr/lib/i386-linux-gnu/libboost_system.so.1.46.1
  • If you have the file /usr/lib/x86_64-linux-gnu/libboost_system.so.1.54.0


    sudo ln -s /usr/lib/x86_64-linux-gnu/libboost_system.so.1.54.0 /usr/lib/x86_64-linux-gnu/libboost_system.so.1.46.1


    sudo ln -s /usr/lib/i386-linux-gnu/libboost_system.so.1.54.0 /usr/lib/i386-linux-gnu/libboost_system.so.1.46.1


Download and install the packages from here.


Ocelot is looking for an older version of boost. You'll either have to create a ton of symlinks to get Ocelot to think it's the right version or downgrade boost.

Here's a link to getting a specific version of boost .

  • While this link may answer the question, it is better to include the essential parts of the answer here and provide the link for reference. Link-only answers can become invalid if the linked page changes.
    – muru
    May 11, 2015 at 15:46
  • @muru I think this is an answer beyond the link..
    – Seth
    May 12, 2015 at 3:45
  • @muru thanks for pointing that out, I'll try to make a more comprehensive answer next time May 12, 2015 at 9:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.