./openscad: error while loading shared libraries: libCGAL.so.11: cannot open shared object file: No such file or directory

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

./openscad: error while loading shared libraries: libCGAL.so.11: cannot open shared object file: No such file or directory

NathanA
I'm getting this error when running openscad:

./openscad: error while loading shared libraries: libCGAL.so.11: cannot open shared object file: No such file or directory

Check dependencies returns:
qt          4.4         unknown     NotOK
qscintilla2 2.7         2.10.1      OK
cgal        3.6         4.7         OK
gmp         5.0         6.0.0       OK
mpfr        3.0         3.1.1       OK
boost       1.35        1.56        OK
opencsg     1.3.2       1.3.2       OK
glew        1.5.4       1.7.0       OK
eigen       3.0         3.2.2       OK
glib2       2.0         2.38.2      OK
fontconfig  2.10        2.11.       OK
freetype2   2.4         2.6.1       OK
harfbuzz    0.9.19      0.9.35      OK
bison       2.4         2.7         OK
flex        2.5.35      2.5.37      OK
make        3           3.82        OK

Not sure why qt shows not OK but I built it and qmake worked.

Any ideas why I am getting the libCGAL error? libCGAL_Core.so.11 is in /home/ec2-user/openscad_deps/lib and that directory is in $PATH.

Please help, thanks!
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: ./openscad: error while loading shared libraries: libCGAL.so.11: cannot open shared object file: No such file or directory

codifies
try

LD_LIBRARY_PATH=/home/ec2-user/openscad_deps/lib openscad

better yet install it (CGAL) using your package manager, failing that
compile and install from source...




On 01/08/17 00:46, NathanA wrote:

> I'm getting this error when running openscad:
>
> ./openscad: error while loading shared libraries: libCGAL.so.11: cannot open
> shared object file: No such file or directory
>
> Check dependencies returns:
> qt          4.4         unknown     NotOK
> qscintilla2 2.7         2.10.1      OK
> cgal        3.6         4.7         OK
> gmp         5.0         6.0.0       OK
> mpfr        3.0         3.1.1       OK
> boost       1.35        1.56        OK
> opencsg     1.3.2       1.3.2       OK
> glew        1.5.4       1.7.0       OK
> eigen       3.0         3.2.2       OK
> glib2       2.0         2.38.2      OK
> fontconfig  2.10        2.11.       OK
> freetype2   2.4         2.6.1       OK
> harfbuzz    0.9.19      0.9.35      OK
> bison       2.4         2.7         OK
> flex        2.5.35      2.5.37      OK
> make        3           3.82        OK
>
> Not sure why qt shows not OK but I built it and qmake worked.
>
> Any ideas why I am getting the libCGAL error? libCGAL_Core.so.11 is in
> /home/ec2-user/openscad_deps/lib and that directory is in $PATH.
>
> Please help, thanks!
>
>
>
> --
> View this message in context: http://forum.openscad.org/openscad-error-while-loading-shared-libraries-libCGAL-so-11-cannot-open-shared-object-file-No-such-fy-tp21974.html
> Sent from the OpenSCAD mailing list archive at Nabble.com.
>
> _______________________________________________
> OpenSCAD mailing list
> [hidden email]
> http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org


_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: ./openscad: error while loading shared libraries: libCGAL.so.11: cannot open shared object file: No such file or directory

NathanA
I did compile from source. I used the build from source script included with openscad. Isn't that how it got to the /openscad_deps/ directory?

LD_LIBRARY_PATH=/home/ec2-user/openscad_deps/lib:/home/ec2-user/openscad_deps/lib64 fixed it.

It finally runs! That was quite a journey.
Loading...