fdp0525 / G2LTex

Code for CVPR 2018 paper --- Texture Mapping for 3D Reconstruction with RGB-D Sensor
146 stars 29 forks source link

libG2LTex.so error #2

Open manhha1402 opened 5 years ago

manhha1402 commented 5 years ago

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

fdp0525 commented 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.

OneEyedEagle commented 5 years ago

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.

MJahangeerQureshi commented 5 years ago

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?

OneEyedEagle commented 5 years ago

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 ?

MJahangeerQureshi commented 5 years ago

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?

OneEyedEagle commented 5 years ago

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.

manalihiremath30 commented 2 years ago

i am getting file too short error on .so file. Can anybody please help

liaoksn commented 2 years ago

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 ?

YuzhiChen001 commented 1 year ago

I solve the problem on ubtunu22 use sudo apt install libcholmod3.0.6

qweqwasdazE commented 1 year ago

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

gd9036 commented 6 months ago

我无法在 Ubuntu 18 上自己尝试,所以这可能是问题所在。在 Ubuntu 16.04 上,我在控制台上键入 sudo apt-get install libcholmod,然后在我按下 TAB 后它会自动添加 surfix 3.0.6,所以一切正常,它将在正确链接库的情况下成功安装。

我可以在 ubuntu18 中修复 libcholmod 错误,但发生了 #18 。有什么建议吗?

请问你是如何在 ubuntu18 中修复 libcholmod 3.0.6的那个错误?