Open manhha1402 opened 5 years ago
@manhha1402 You can move all the .so files under ./lib to ./bin and try again. If there is still a problem, it may be that the dependency libraries are slightly different in your system.
you need to add the path of ./lib into the /etc/ld.so.conf file by using: sudo gedit /etc/ld.so.conf then add the path at the last, like my example: /home/eagle/G2LTex-master/lib finally, using sudo /sbin/ldconfig to make it work. using ldd ./bin/G2LTex to check if all .so files have been linked.
Facing a very similar problem, this is the error I am getting
./bin/G2LTex: error while loading shared libraries: libcholmod.so.3.0.6: cannot open shared object file: No such file or directory
Does anyone know how to fix this?
Facing a very similar problem, this is the error I am getting
./bin/G2LTex: error while loading shared libraries: libcholmod.so.3.0.6: cannot open shared object file: No such file or directory
Does anyone know how to fix this?
have you installed the cholmod by using sudo apt-get install libsuitesparse-dev ? or are its libraries linking to the correct .so by checking ls -la | grep cholmod ?
Thanks for answering cholmod is definitely installed but I don't get any output for ls -la | grep cholmod, I am using ubuntu 18.10, could that pose an issue?
I can't try it on my own on Ubuntu 18, so it may be the issue. On Ubuntu 16.04, I type sudo apt-get install libcholmod on the console, then it will automatically add the surfix 3.0.6 after I press the TAB, so everything works fine and it will be installed successfully with libraries correctly linked.
i am getting file too short error on .so file. Can anybody please help
I can't try it on my own on Ubuntu 18, so it may be the issue. On Ubuntu 16.04, I type sudo apt-get install libcholmod on the console, then it will automatically add the surfix 3.0.6 after I press the TAB, so everything works fine and it will be installed successfully with libraries correctly linked.
i can fix libcholmod error with this in ubuntu18, but #18 happened . Is there any advice ?
I solve the problem on ubtunu22 use sudo apt install libcholmod3.0.6
Thanks for answering cholmod is definitely installed but I don't get any output for ls -la | grep cholmod, I am using ubuntu 18.10, could that pose an issue?
If you are using ubuntu18+, you can switch to the Alibaba source of ubuntu16, and then use sudo apt install libcholmod3.0.6
我无法在 Ubuntu 18 上自己尝试,所以这可能是问题所在。在 Ubuntu 16.04 上,我在控制台上键入 sudo apt-get install libcholmod,然后在我按下 TAB 后它会自动添加 surfix 3.0.6,所以一切正常,它将在正确链接库的情况下成功安装。
我可以在 ubuntu18 中修复 libcholmod 错误,但发生了 #18 。有什么建议吗?
请问你是如何在 ubuntu18 中修复 libcholmod 3.0.6的那个错误?
I am trying to run the executable exactly as written in the Readme, but i get an error as follows: ./G2LTex: error while loading shared libraries: libG2LTex.so.1: cannot open shared object file: No such file or directory Can you figure it out? Thanks