Skip to content
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

build 不起来啊 #33

Closed
tcper opened this issue Sep 15, 2014 · 6 comments
Closed

build 不起来啊 #33

tcper opened this issue Sep 15, 2014 · 6 comments
Labels

Comments

@tcper
Copy link

tcper commented Sep 15, 2014

Inconsistency detected by ld.so: dl-version.c: 224: _dl_check_map_versions: Assertion `needed != ((void *)0)' failed!

包都安装好了,但是build一直这个错

@buaazp
Copy link
Owner

buaazp commented Sep 15, 2014

把完整的build log post上来看看

@tcper
Copy link
Author

tcper commented Sep 16, 2014

loki@ubuntu:~/code/zimg$ make
cd deps; tar zxf LuaJIT-2.0.3.tar.gz; cd LuaJIT-2.0.3; make
make[1]: Entering directory `/home/loki/code/zimg/deps/LuaJIT-2.0.3'
==== Building LuaJIT 2.0.3 ====
make -C src
make[2]: Entering directory `/home/loki/code/zimg/deps/LuaJIT-2.0.3/src'
HOSTCC    host/minilua.o
HOSTLINK  host/minilua
DYNASM    host/buildvm_arch.h
HOSTCC    host/buildvm.o
HOSTCC    host/buildvm_asm.o
HOSTCC    host/buildvm_peobj.o
HOSTCC    host/buildvm_lib.o
HOSTCC    host/buildvm_fold.o
HOSTLINK  host/buildvm
BUILDVM   lj_vm.s
ASM       lj_vm.o
CC        lj_gc.o
BUILDVM   lj_ffdef.h
CC        lj_err.o
CC        lj_char.o
BUILDVM   lj_bcdef.h
CC        lj_bc.o
CC        lj_obj.o
CC        lj_str.o
CC        lj_tab.o
CC        lj_func.o
CC        lj_udata.o
CC        lj_meta.o
CC        lj_debug.o
CC        lj_state.o
CC        lj_dispatch.o
CC        lj_vmevent.o
CC        lj_vmmath.o
CC        lj_strscan.o
CC        lj_api.o
CC        lj_lex.o
CC        lj_parse.o
CC        lj_bcread.o
CC        lj_bcwrite.o
CC        lj_load.o
CC        lj_ir.o
CC        lj_opt_mem.o
BUILDVM   lj_folddef.h
CC        lj_opt_fold.o
CC        lj_opt_narrow.o
CC        lj_opt_dce.o
CC        lj_opt_loop.o
CC        lj_opt_split.o
CC        lj_opt_sink.o
CC        lj_mcode.o
CC        lj_snap.o
CC        lj_record.o
CC        lj_crecord.o
BUILDVM   lj_recdef.h
CC        lj_ffrecord.o
CC        lj_asm.o
CC        lj_trace.o
CC        lj_gdbjit.o
CC        lj_ctype.o
CC        lj_cdata.o
CC        lj_cconv.o
CC        lj_ccall.o
CC        lj_ccallback.o
CC        lj_carith.o
CC        lj_clib.o
CC        lj_cparse.o
CC        lj_lib.o
CC        lj_alloc.o
CC        lib_aux.o
BUILDVM   lj_libdef.h
CC        lib_base.o
CC        lib_math.o
CC        lib_bit.o
CC        lib_string.o
CC        lib_table.o
CC        lib_io.o
CC        lib_os.o
CC        lib_package.o
CC        lib_debug.o
CC        lib_jit.o
CC        lib_ffi.o
CC        lib_init.o
AR        libluajit.a
CC        luajit.o
BUILDVM   jit/vmdef.lua
DYNLINK   libluajit.so
LINK      luajit
OK        Successfully built LuaJIT
make[2]: Leaving directory `/home/loki/code/zimg/deps/LuaJIT-2.0.3/src'
==== Successfully built LuaJIT 2.0.3 ====
make[1]: Leaving directory `/home/loki/code/zimg/deps/LuaJIT-2.0.3'
mkdir -p build/zimg
cd build/zimg; cmake /home/loki/code/zimg/src; make; cp zimg /home/loki/code/zimg/bin
Inconsistency detected by ld.so: dl-version.c: 224: _dl_check_map_versions: Assertion `needed != ((void *)0)' failed!
make[1]: Entering directory `/home/loki/code/zimg/build/zimg'
make[1]: *** No targets specified and no makefile found.  Stop.
make[1]: Leaving directory `/home/loki/code/zimg/build/zimg'
cp: cannot stat ‘zimg’: No such file or directory
make: *** [all] Error 1

@tcper
Copy link
Author

tcper commented Sep 16, 2014

系统是vmware ubuntu 14

@buaazp
Copy link
Owner

buaazp commented Sep 16, 2014

cmake有问题,手动编译安装一下cmake最新版:

http://zimg.buaa.us/documents/install/#build-dependences-by-source-code

@tcper
Copy link
Author

tcper commented Sep 16, 2014

谢谢,明天试试

@tcper
Copy link
Author

tcper commented Sep 18, 2014

总算build起来了,ImageMagick也要手动编译一遍,apt-get直接安装的不好使,人都不好了

@buaazp buaazp closed this as completed Sep 19, 2014
@buaazp buaazp added the build label Aug 11, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants