Closed Couleyr closed 9 months ago
OK , I have solved the above problem!
However, after I successfully ran the command: "./configure" and "make", I entered the "BBarolo" under the corresponding folder of the terminal, but reminded me that the "command not found".
The successfully installed "BBarolo" file also appeared in my Bbarolo-1.7 folder.
I look forward to your reply!
Hello, if you want to run the BBarolo executable from the directory where you compiled it, you need to type "./BBarolo" rather than just "BBarolo" (this is true for any executable in UNIX, not just BBarolo!).
If you want to make it available from everywhere in your system, you can either: 1) copy the executable in a directory which is already in your $PATH ("make install" will copy it by default in /usr/local/bin); 2) Add the BBarolo-1.7 directory to your $PATH; 3) Make an alias of BBarolo to where the executable is and add it to your .bashrc (or equivalent for other shells).
Let me know if you have any problems with the above. Enrico
First of all, thank you very much for your reply. I got the error message : '' ./BBarolo : error while loading shared libraries: libwcs.so.8: cannot open shared object file: No such file or directory", when I ran the commands "./BBarolo" or "BBarolo" in my terminal
See here, FAQ #1: https://bbarolo.readthedocs.io/en/latest/troubleshooting.html
Ok, thank you again! I have seen this method in this web! I added the path of the "libwcs.so.8" according to this way, and I found this file is installed in '/usr/local/lib'. I donot know if this is normal! But I got the same mistake according to this way!
Ok, can you send me the output of the command: "ldd BBarolo"? Thanks
OK, it shows there is no libwcs.so.8
![Uploading Ldd_BBarolo.png…]()
I can't see your attachment. Can you just send it by email if it does not work here? Also, can you send the output of "configure" and "make" steps? Thanks
OK, the following pictures are the outputs of the two commands.
OK, maybe there is something wrong with my network, I am so sorry! The screenshot is the output of the command "ldd BBarolo"
Do you confirm that if you give the following commands, it still gives the error?
> export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
> export LIBRARY_PATH=/usr/local/lib:$LIBRARY_PATH
> ./BBarolo
Thanks
Oh, I found out what went wrong. I wrote the path of this lib as a specific path! I am too stupid.
According to your messages, this program has been successfully run!
This code is very nice! Thank you very much for all your comments and suggestions!
Best,
Good to hear that we figure it out! Let me know if you have any further issues.
Enrico
I am trying to install the BBarolo in my computer. Its requirements are available in my machine. However, I got the following error when I ran the command "./congifure" .
Could not find the FFTW3 library
ERROR: BBarolo configuration failure. If you have the library in non ordinary path, try to run ./configure with --whih-fftw3= option.
When I manually added the path according to the prompts of the script, I got the same error alert.