-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error when make #7
Comments
It looks like gobject-introspection is not finding libfreenect.so. If you installed libfreenect in a non-standard path (e.g /usr/local) then you might need to set PKG_CONFIG_PATH and LD_LIBRARY_PATH to include the path to libfreenect.so. Unlikely but possible, please also check that you have libgirepository1.0 and its devel package installed. cheers |
I can reproduce that bug. The g-ir-scanner step does not use the CFLAGS and LDFLAGS. The good news is that I have a patch for this. See #9 |
Patch merged, thanks a lot! |
hi everyone, I have the same problem. I found added added the path to libfreenect.so at PKG_CONFIG_PATH in Makefile.in and Makefile, but I couldnt' find where to insert the path for LD_LIBRARY_PATH. I tried make and still got the same error. I have libgirepository1.0. could someone please help me with this. Thanks |
@stralo , have you tried export LD_LIBRARY_PATH=/usr/local/lib , for example? |
Hello,
I try to compile GFreenect from sources. It is configured fine via ./autogen.sh but when I make, it gives this error:
make all-am
make[3]: Entering directory
/home/canol/Downloads/GFreenect/gfreenect' CC libgfreenect-0.1_la-gfreenect-frame-mode.lo CC libgfreenect-0.1_la-gfreenect-device.lo CC libgfreenect-0.1_la-gfreenect-marshal.lo CCLD libgfreenect-0.1.la GISCAN GFreenect-0.1.gir /home/canol/Downloads/GFreenect/gfreenect/tmp-introspectZJXc8T/.libs/lt-GFreenect-0.1: error while loading shared libraries: libfreenect.so.0.1: cannot open shared object file: No such file or directory Command '['/home/canol/Downloads/GFreenect/gfreenect/tmp-introspectZJXc8T/GFreenect-0.1', '--introspect-dump=/home/canol/Downloads/GFreenect/gfreenect/tmp-introspectZJXc8T/functions.txt,/home/canol/Downloads/GFreenect/gfreenect/tmp-introspectZJXc8T/dump.xml']' returned non-zero exit status 127 make[3]: *** [GFreenect-0.1.gir] Error 1 make[3]: Leaving directory
/home/canol/Downloads/GFreenect/gfreenect'make[2]: *** [all] Error 2
make[2]: Leaving directory
/home/canol/Downloads/GFreenect/gfreenect' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory
/home/canol/Downloads/GFreenect'make: *** [all] Error 2
I also compiled libfreenect from sources and it works fine. Also gobject-introspection and gtk-doc is present. So what might be the problem?
The text was updated successfully, but these errors were encountered: