zeromq 설치 중에 아래와 같은 에러가 발생한 경우
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 | $ ./configure checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking how to create a ustar tar archive... gnutar checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking for gcc option to accept ISO C99... none needed checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking whether gcc and cc understand -c and -o together... yes checking for a sed that does not truncate output... /bin/sed checking for gawk... (cached) gawk checking for xmlto... no checking for asciidoc... no checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for ar... ar checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking how to run the C++ preprocessor... g++ -E checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for ld used by g++... /usr/bin/ld -m elf_x86_64 checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... yes checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether the C compiler works... yes checking whether we are using Intel C compiler... no checking whether we are using Sun Studio C compiler... no checking whether we are using clang C compiler... no checking whether we are using gcc >= 4 C compiler... yes checking whether the C++ compiler works... yes checking whether we are using Intel C++ compiler... no checking whether we are using Sun Studio C++ compiler... no checking whether we are using clang C++ compiler... no checking whether we are using gcc >= 4 C++ compiler... yes checking whether to enable debugging information... no checking whether to enable code coverage... no checking for pthread_create in -lpthread... yes checking for sem_init in -lrt... yes checking for uuid_generate in -luuid... no configure: error: cannot link with -luuid, install uuid-dev. | cs |
다음과 같이 uuid-dev 패키지를 설치한 후 다시 진행합니다.
: sudo apt-get install uuid-dev
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 | $ sudo apt-get install uuid-dev Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: libuuid1 The following NEW packages will be installed: uuid-dev The following packages will be upgraded: libuuid1 1 upgraded, 1 newly installed, 0 to remove and 134 not upgraded. Need to get 41.6 kB of archives. After this operation, 154 kB of additional disk space will be used. Do you want to continue? [Y/n] Y Get:1 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libuuid1 amd64 2.27.1-6ubuntu3.4 [15.2 kB] Get:2 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 uuid-dev amd64 2.27.1-6ubuntu3.4 [26.4 kB] Fetched 41.6 kB in 0s (42.3 kB/s) (Reading database ... 83007 files and directories currently installed.) Preparing to unpack .../libuuid1_2.27.1-6ubuntu3.4_amd64.deb ... Unpacking libuuid1:amd64 (2.27.1-6ubuntu3.4) over (2.27.1-6ubuntu3.3) ... Processing triggers for libc-bin (2.23-0ubuntu9) ... Setting up libuuid1:amd64 (2.27.1-6ubuntu3.4) ... Processing triggers for libc-bin (2.23-0ubuntu9) ... Selecting previously unselected package uuid-dev:amd64. (Reading database ... 83007 files and directories currently installed.) Preparing to unpack .../uuid-dev_2.27.1-6ubuntu3.4_amd64.deb ... Unpacking uuid-dev:amd64 (2.27.1-6ubuntu3.4) ... Processing triggers for man-db (2.7.5-1) ... Setting up uuid-dev:amd64 (2.27.1-6ubuntu3.4) ... | cs |
'Operating System > Linux' 카테고리의 다른 글
jzmq [경고] autoconf input should be named 'configure.ac', not 'configure.in' (0) | 2018.03.19 |
---|---|
jzmq [에러] could not find libtool. libtool is required to run autogen.sh. (0) | 2018.03.19 |
ubuntu zeromq 2.2.0 설치 (0) | 2018.03.19 |
Java 8 설치 (0) | 2018.03.07 |
[에러] piix4_smbus 0000:00:07.3: SMBus Host Controller not enabled! (2) | 2018.02.28 |