{"action":"created","issue":{"url":"https://api.github.com/repos/Lymphatus/CaesiumCLT/issues/3","labels_url":"https://api.github.com/repos/Lymphatus/CaesiumCLT/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/Lymphatus/CaesiumCLT/issues/3/comments","events_url":"https://api.github.com/repos/Lymphatus/CaesiumCLT/issues/3/events","html_url":"https://github.com/Lymphatus/CaesiumCLT/issues/3","id":112514836,"number":3,"title":"Not able to install caesiumCLT in Ubuntu 14.04 Machine","user":{"login":"satyagvns","id":3595971,"avatar_url":"https://avatars.githubusercontent.com/u/3595971?v=3","gravatar_id":"","url":"https://api.github.com/users/satyagvns","html_url":"https://github.com/satyagvns","followers_url":"https://api.github.com/users/satyagvns/followers","following_url":"https://api.github.com/users/satyagvns/following{/other_user}","gists_url":"https://api.github.com/users/satyagvns/gists{/gist_id}","starred_url":"https://api.github.com/users/satyagvns/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/satyagvns/subscriptions","organizations_url":"https://api.github.com/users/satyagvns/orgs","repos_url":"https://api.github.com/users/satyagvns/repos","events_url":"https://api.github.com/users/satyagvns/events{/privacy}","received_events_url":"https://api.github.com/users/satyagvns/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-21T05:22:30Z","updated_at":"2015-10-21T08:40:03Z","closed_at":null,"body":"Hi,\r\n\r\nI am trying to install Caesium in my UBUNTU 14.04 machine. I am getting below errors while installing\r\n\r\nProcess Followed:\r\ninstalled \"libjpeg-turbo8-dev\" before installing CLI Tool\r\n\r\nHere is the error output:\r\nroot@ip-172-31-7-149:/home/ubuntu/CaesiumCLT# ./configure \r\nchecking for a BSD-compatible install... /usr/bin/install -c\r\nchecking whether build environment is sane... yes\r\nchecking for a thread-safe mkdir -p... /bin/mkdir -p\r\nchecking for gawk... gawk\r\nchecking whether make sets $(MAKE)... no\r\nchecking whether make supports nested variables... no\r\nchecking for gcc... gcc\r\nchecking whether the C compiler works... yes\r\nchecking for C compiler default output file name... a.out\r\nchecking for suffix of executables... \r\nchecking whether we are cross compiling... no\r\nchecking for suffix of object files... o\r\nchecking whether we are using the GNU C compiler... yes\r\nchecking whether gcc accepts -g... yes\r\nchecking for gcc option to accept ISO C89... none needed\r\nchecking whether gcc understands -c and -o together... yes\r\nchecking for style of include used by make... none\r\nchecking dependency style of gcc... none\r\nchecking for  in -ljpeg... no\r\nchecking how to run the C preprocessor... gcc -E\r\nchecking for grep that handles long lines and -e... /bin/grep\r\nchecking for egrep... /bin/grep -E\r\nchecking for ANSI C header files... yes\r\nchecking for sys/types.h... yes\r\nchecking for sys/stat.h... yes\r\nchecking for stdlib.h... yes\r\nchecking for string.h... yes\r\nchecking for memory.h... yes\r\nchecking for strings.h... yes\r\nchecking for inttypes.h... yes\r\nchecking for stdint.h... yes\r\nchecking for unistd.h... yes\r\nchecking limits.h usability... yes\r\nchecking limits.h presence... yes\r\nchecking for limits.h... yes\r\nchecking for stdlib.h... (cached) yes\r\nchecking for string.h... (cached) yes\r\nchecking getopt.h usability... yes\r\nchecking getopt.h presence... yes\r\nchecking for getopt.h... yes\r\nchecking stdio.h usability... yes\r\nchecking stdio.h presence... yes\r\nchecking for stdio.h... yes\r\nchecking sys/stats.h usability... no\r\nchecking sys/stats.h presence... no\r\nchecking for sys/stats.h... no\r\nchecking dirent.h usability... yes\r\nchecking dirent.h presence... yes\r\nchecking for dirent.h... yes\r\nchecking jpeglib.h usability... yes\r\nchecking jpeglib.h presence... yes\r\nchecking for jpeglib.h... yes\r\nchecking for off_t... yes\r\nchecking for stdlib.h... (cached) yes\r\nchecking for GNU libc compatible malloc... yes\r\nchecking for mkdir... yes\r\nchecking for strrchr... yes\r\nchecking for strtol... yes\r\nchecking that generated files are newer than configure... done\r\nconfigure: creating ./config.status\r\nconfig.status: creating Makefile\r\nconfig.status: creating src/Makefile\r\nconfig.status: executing depfiles commands\r\nroot@ip-172-31-7-149:/home/ubuntu/CaesiumCLT# make\r\nThe program 'make' is currently not installed. You can install it by typing:\r\napt-get install make\r\nroot@ip-172-31-7-149:/home/ubuntu/CaesiumCLT# apt-get install make\r\nReading package lists... Done\r\nBuilding dependency tree       \r\nReading state information... Done\r\nSuggested packages:\r\n  make-doc\r\nThe following NEW packages will be installed:\r\n  make\r\n0 upgraded, 1 newly installed, 0 to remove and 123 not upgraded.\r\nNeed to get 119 kB of archives.\r\nAfter this operation, 328 kB of additional disk space will be used.\r\nGet:1 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty/main make amd64 3.81-8.2ubuntu3 [119 kB]\r\nFetched 119 kB in 0s (6,932 kB/s)\r\nSelecting previously unselected package make.\r\n(Reading database ... 56741 files and directories currently installed.)\r\nPreparing to unpack .../make_3.81-8.2ubuntu3_amd64.deb ...\r\nUnpacking make (3.81-8.2ubuntu3) ...\r\nProcessing triggers for man-db (2.6.7.1-1ubuntu1) ...\r\nSetting up make (3.81-8.2ubuntu3) ...\r\nroot@ip-172-31-7-149:/home/ubuntu/CaesiumCLT# \r\nroot@ip-172-31-7-149:/home/ubuntu/CaesiumCLT# make\r\nMaking all in src\r\nmake[1]: Entering directory `/home/ubuntu/CaesiumCLT/src'\r\nsource='main.c' object='caesiumclt-main.o' libtool=no \\\r\n\tDEPDIR=.deps depmode=none /bin/bash ../tools/depcomp \\\r\n\tgcc -DPACKAGE_NAME=\\\"caesiumclt\\\" -DPACKAGE_TARNAME=\\\"caesiumclt\\\" -DPACKAGE_VERSION=\\\"1.9.9\\\" -DPACKAGE_STRING=\\\"caesiumclt\\ 1.9.9\\\" -DPACKAGE_BUGREPORT=\\\"caesium@saerasoft.com\\\" -DPACKAGE_URL=\\\"\\\" -DPACKAGE=\\\"caesiumclt\\\" -DVERSION=\\\"1.9.9\\\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_GETOPT_H=1 -DHAVE_STDIO_H=1 -DHAVE_DIRENT_H=1 -DHAVE_JPEGLIB_H=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DHAVE_MKDIR=1 -DHAVE_STRRCHR=1 -DHAVE_STRTOL=1 -I.    -Wall -D_FILE_OFFSET_BITS=64 -ljpeg -lturbojpeg -lm -std=c99 -g -O2 -c -o caesiumclt-main.o `test -f 'main.c' || echo './'`main.c\r\nsource='utils.c' object='caesiumclt-utils.o' libtool=no \\\r\n\tDEPDIR=.deps depmode=none /bin/bash ../tools/depcomp \\\r\n\tgcc -DPACKAGE_NAME=\\\"caesiumclt\\\" -DPACKAGE_TARNAME=\\\"caesiumclt\\\" -DPACKAGE_VERSION=\\\"1.9.9\\\" -DPACKAGE_STRING=\\\"caesiumclt\\ 1.9.9\\\" -DPACKAGE_BUGREPORT=\\\"caesium@saerasoft.com\\\" -DPACKAGE_URL=\\\"\\\" -DPACKAGE=\\\"caesiumclt\\\" -DVERSION=\\\"1.9.9\\\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_GETOPT_H=1 -DHAVE_STDIO_H=1 -DHAVE_DIRENT_H=1 -DHAVE_JPEGLIB_H=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DHAVE_MKDIR=1 -DHAVE_STRRCHR=1 -DHAVE_STRTOL=1 -I.    -Wall -D_FILE_OFFSET_BITS=64 -ljpeg -lturbojpeg -lm -std=c99 -g -O2 -c -o caesiumclt-utils.o `test -f 'utils.c' || echo './'`utils.c\r\nutils.c: In function ‘scan_folder’:\r\nutils.c:234:5: warning: implicit declaration of function ‘chdir’ [-Wimplicit-function-declaration]\r\n     chdir(dir);\r\n     ^\r\nutils.c:236:9: warning: implicit declaration of function ‘lstat’ [-Wimplicit-function-declaration]\r\n         lstat(entry->d_name, &statbuf);\r\n         ^\r\nutils.c:258:5: warning: return from incompatible pointer type [enabled by default]\r\n     return *files;\r\n     ^\r\nsource='lossless.c' object='caesiumclt-lossless.o' libtool=no \\\r\n\tDEPDIR=.deps depmode=none /bin/bash ../tools/depcomp \\\r\n\tgcc -DPACKAGE_NAME=\\\"caesiumclt\\\" -DPACKAGE_TARNAME=\\\"caesiumclt\\\" -DPACKAGE_VERSION=\\\"1.9.9\\\" -DPACKAGE_STRING=\\\"caesiumclt\\ 1.9.9\\\" -DPACKAGE_BUGREPORT=\\\"caesium@saerasoft.com\\\" -DPACKAGE_URL=\\\"\\\" -DPACKAGE=\\\"caesiumclt\\\" -DVERSION=\\\"1.9.9\\\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_GETOPT_H=1 -DHAVE_STDIO_H=1 -DHAVE_DIRENT_H=1 -DHAVE_JPEGLIB_H=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DHAVE_MKDIR=1 -DHAVE_STRRCHR=1 -DHAVE_STRTOL=1 -I.    -Wall -D_FILE_OFFSET_BITS=64 -ljpeg -lturbojpeg -lm -std=c99 -g -O2 -c -o caesiumclt-lossless.o `test -f 'lossless.c' || echo './'`lossless.c\r\nsource='compress.c' object='caesiumclt-compress.o' libtool=no \\\r\n\tDEPDIR=.deps depmode=none /bin/bash ../tools/depcomp \\\r\n\tgcc -DPACKAGE_NAME=\\\"caesiumclt\\\" -DPACKAGE_TARNAME=\\\"caesiumclt\\\" -DPACKAGE_VERSION=\\\"1.9.9\\\" -DPACKAGE_STRING=\\\"caesiumclt\\ 1.9.9\\\" -DPACKAGE_BUGREPORT=\\\"caesium@saerasoft.com\\\" -DPACKAGE_URL=\\\"\\\" -DPACKAGE=\\\"caesiumclt\\\" -DVERSION=\\\"1.9.9\\\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_GETOPT_H=1 -DHAVE_STDIO_H=1 -DHAVE_DIRENT_H=1 -DHAVE_JPEGLIB_H=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DHAVE_MKDIR=1 -DHAVE_STRRCHR=1 -DHAVE_STRTOL=1 -I.    -Wall -D_FILE_OFFSET_BITS=64 -ljpeg -lturbojpeg -lm -std=c99 -g -O2 -c -o caesiumclt-compress.o `test -f 'compress.c' || echo './'`compress.c\r\ncompress.c: In function ‘cclt_compress’:\r\ncompress.c:17:6: warning: variable ‘status’ set but not used [-Wunused-but-set-variable]\r\n  int status;\r\n      ^\r\ncompress.c: In function ‘cclt_decompress’:\r\ncompress.c:58:9: warning: variable ‘res’ set but not used [-Wunused-but-set-variable]\r\n     int res = 0;\r\n         ^\r\ngcc -Wall -D_FILE_OFFSET_BITS=64 -ljpeg -lturbojpeg -lm -std=c99 -g -O2   -o caesiumclt caesiumclt-main.o caesiumclt-utils.o caesiumclt-lossless.o caesiumclt-compress.o  \r\ncaesiumclt-utils.o: In function `jcopy_markers_execute':\r\n/home/ubuntu/CaesiumCLT/src/utils.c:145: undefined reference to `jpeg_write_marker'\r\ncaesiumclt-lossless.o: In function `cclt_get_markers':\r\n/home/ubuntu/CaesiumCLT/src/lossless.c:15: undefined reference to `jpeg_std_error'\r\n/home/ubuntu/CaesiumCLT/src/lossless.c:17: undefined reference to `jpeg_CreateDecompress'\r\n/home/ubuntu/CaesiumCLT/src/lossless.c:30: undefined reference to `jpeg_stdio_src'\r\n/home/ubuntu/CaesiumCLT/src/lossless.c:34: undefined reference to `jpeg_save_markers'\r\n/home/ubuntu/CaesiumCLT/src/lossless.c:37: undefined reference to `jpeg_read_header'\r\ncaesiumclt-lossless.o: In function `cclt_optimize':\r\n/home/ubuntu/CaesiumCLT/src/lossless.c:60: undefined reference to `jpeg_std_error'\r\n/home/ubuntu/CaesiumCLT/src/lossless.c:61: undefined reference to `jpeg_CreateDecompress'\r\n/home/ubuntu/CaesiumCLT/src/lossless.c:62: undefined reference to `jpeg_std_error'\r\n/home/ubuntu/CaesiumCLT/src/lossless.c:63: undefined reference to `jpeg_CreateCompress'\r\n/home/ubuntu/CaesiumCLT/src/lossless.c:76: undefined reference to `jpeg_stdio_src'\r\n/home/ubuntu/CaesiumCLT/src/lossless.c:86: undefined reference to `jpeg_read_header'\r\n/home/ubuntu/CaesiumCLT/src/lossless.c:89: undefined reference to `jpeg_read_coefficients'\r\n/home/ubuntu/CaesiumCLT/src/lossless.c:93: undefined reference to `jpeg_copy_critical_parameters'\r\n/home/ubuntu/CaesiumCLT/src/lossless.c:113: undefined reference to `jpeg_simple_progression'\r\n/home/ubuntu/CaesiumCLT/src/lossless.c:116: undefined reference to `jpeg_stdio_dest'\r\n/home/ubuntu/CaesiumCLT/src/lossless.c:119: undefined reference to `jpeg_write_coefficients'\r\n/home/ubuntu/CaesiumCLT/src/lossless.c:134: undefined reference to `jpeg_finish_compress'\r\n/home/ubuntu/CaesiumCLT/src/lossless.c:135: undefined reference to `jpeg_destroy_compress'\r\n/home/ubuntu/CaesiumCLT/src/lossless.c:136: undefined reference to `jpeg_finish_decompress'\r\n/home/ubuntu/CaesiumCLT/src/lossless.c:137: undefined reference to `jpeg_destroy_decompress'\r\n/home/ubuntu/CaesiumCLT/src/lossless.c:81: undefined reference to `jpeg_save_markers'\r\n/home/ubuntu/CaesiumCLT/src/lossless.c:129: undefined reference to `jpeg_destroy_decompress'\r\ncaesiumclt-compress.o: In function `cclt_compress':\r\n/home/ubuntu/CaesiumCLT/src/compress.c:30: undefined reference to `tjInitCompress'\r\n/home/ubuntu/CaesiumCLT/src/compress.c:32: undefined reference to `tjCompress2'\r\n/home/ubuntu/CaesiumCLT/src/compress.c:48: undefined reference to `tjDestroy'\r\n/home/ubuntu/CaesiumCLT/src/compress.c:49: undefined reference to `tjFree'\r\ncaesiumclt-compress.o: In function `cclt_decompress':\r\n/home/ubuntu/CaesiumCLT/src/compress.c:67: undefined reference to `tjAlloc'\r\n/home/ubuntu/CaesiumCLT/src/compress.c:71: undefined reference to `tjInitDecompress'\r\n/home/ubuntu/CaesiumCLT/src/compress.c:72: undefined reference to `tjDecompressHeader2'\r\n/home/ubuntu/CaesiumCLT/src/compress.c:74: undefined reference to `ceil'\r\n/home/ubuntu/CaesiumCLT/src/compress.c:75: undefined reference to `ceil'\r\n/home/ubuntu/CaesiumCLT/src/compress.c:82: undefined reference to `tjAlloc'\r\n/home/ubuntu/CaesiumCLT/src/compress.c:84: undefined reference to `tjDecompress2'\r\n/home/ubuntu/CaesiumCLT/src/compress.c:94: undefined reference to `tjDestroy'\r\ncollect2: error: ld returned 1 exit status\r\nmake[1]: *** [caesiumclt] Error 1\r\nmake[1]: Leaving directory `/home/ubuntu/CaesiumCLT/src'\r\nmake: *** [all-recursive] Error 1\r\nroot@ip-172-31-7-149:/home/ubuntu/CaesiumCLT# make install\r\nMaking install in src\r\nmake[1]: Entering directory `/home/ubuntu/CaesiumCLT/src'\r\ngcc -Wall -D_FILE_OFFSET_BITS=64 -ljpeg -lturbojpeg -lm -std=c99 -g -O2   -o caesiumclt caesiumclt-main.o caesiumclt-utils.o caesiumclt-lossless.o caesiumclt-compress.o  \r\ncaesiumclt-utils.o: In function `jcopy_markers_execute':\r\n/home/ubuntu/CaesiumCLT/src/utils.c:145: undefined reference to `jpeg_write_marker'\r\ncaesiumclt-lossless.o: In function `cclt_get_markers':\r\n/home/ubuntu/CaesiumCLT/src/lossless.c:15: undefined reference to `jpeg_std_error'\r\n/home/ubuntu/CaesiumCLT/src/lossless.c:17: undefined reference to `jpeg_CreateDecompress'\r\n/home/ubuntu/CaesiumCLT/src/lossless.c:30: undefined reference to `jpeg_stdio_src'\r\n/home/ubuntu/CaesiumCLT/src/lossless.c:34: undefined reference to `jpeg_save_markers'\r\n/home/ubuntu/CaesiumCLT/src/lossless.c:37: undefined reference to `jpeg_read_header'\r\ncaesiumclt-lossless.o: In function `cclt_optimize':\r\n/home/ubuntu/CaesiumCLT/src/lossless.c:60: undefined reference to `jpeg_std_error'\r\n/home/ubuntu/CaesiumCLT/src/lossless.c:61: undefined reference to `jpeg_CreateDecompress'\r\n/home/ubuntu/CaesiumCLT/src/lossless.c:62: undefined reference to `jpeg_std_error'\r\n/home/ubuntu/CaesiumCLT/src/lossless.c:63: undefined reference to `jpeg_CreateCompress'\r\n/home/ubuntu/CaesiumCLT/src/lossless.c:76: undefined reference to `jpeg_stdio_src'\r\n/home/ubuntu/CaesiumCLT/src/lossless.c:86: undefined reference to `jpeg_read_header'\r\n/home/ubuntu/CaesiumCLT/src/lossless.c:89: undefined reference to `jpeg_read_coefficients'\r\n/home/ubuntu/CaesiumCLT/src/lossless.c:93: undefined reference to `jpeg_copy_critical_parameters'\r\n/home/ubuntu/CaesiumCLT/src/lossless.c:113: undefined reference to `jpeg_simple_progression'\r\n/home/ubuntu/CaesiumCLT/src/lossless.c:116: undefined reference to `jpeg_stdio_dest'\r\n/home/ubuntu/CaesiumCLT/src/lossless.c:119: undefined reference to `jpeg_write_coefficients'\r\n/home/ubuntu/CaesiumCLT/src/lossless.c:134: undefined reference to `jpeg_finish_compress'\r\n/home/ubuntu/CaesiumCLT/src/lossless.c:135: undefined reference to `jpeg_destroy_compress'\r\n/home/ubuntu/CaesiumCLT/src/lossless.c:136: undefined reference to `jpeg_finish_decompress'\r\n/home/ubuntu/CaesiumCLT/src/lossless.c:137: undefined reference to `jpeg_destroy_decompress'\r\n/home/ubuntu/CaesiumCLT/src/lossless.c:81: undefined reference to `jpeg_save_markers'\r\n/home/ubuntu/CaesiumCLT/src/lossless.c:129: undefined reference to `jpeg_destroy_decompress'\r\ncaesiumclt-compress.o: In function `cclt_compress':\r\n/home/ubuntu/CaesiumCLT/src/compress.c:30: undefined reference to `tjInitCompress'\r\n/home/ubuntu/CaesiumCLT/src/compress.c:32: undefined reference to `tjCompress2'\r\n/home/ubuntu/CaesiumCLT/src/compress.c:48: undefined reference to `tjDestroy'\r\n/home/ubuntu/CaesiumCLT/src/compress.c:49: undefined reference to `tjFree'\r\ncaesiumclt-compress.o: In function `cclt_decompress':\r\n/home/ubuntu/CaesiumCLT/src/compress.c:67: undefined reference to `tjAlloc'\r\n/home/ubuntu/CaesiumCLT/src/compress.c:71: undefined reference to `tjInitDecompress'\r\n/home/ubuntu/CaesiumCLT/src/compress.c:72: undefined reference to `tjDecompressHeader2'\r\n/home/ubuntu/CaesiumCLT/src/compress.c:74: undefined reference to `ceil'\r\n/home/ubuntu/CaesiumCLT/src/compress.c:75: undefined reference to `ceil'\r\n/home/ubuntu/CaesiumCLT/src/compress.c:82: undefined reference to `tjAlloc'\r\n/home/ubuntu/CaesiumCLT/src/compress.c:84: undefined reference to `tjDecompress2'\r\n/home/ubuntu/CaesiumCLT/src/compress.c:94: undefined reference to `tjDestroy'\r\ncollect2: error: ld returned 1 exit status\r\nmake[1]: *** [caesiumclt] Error 1\r\nmake[1]: Leaving directory `/home/ubuntu/CaesiumCLT/src'\r\nmake: *** [install-recursive] Error 1\r\nroot@ip-172-31-7-149:/home/ubuntu/CaesiumCLT# whereis caesiumclt\r\ncaesiumclt:\r\n"},"comment":{"url":"https://api.github.com/repos/Lymphatus/CaesiumCLT/issues/comments/149820979","html_url":"https://github.com/Lymphatus/CaesiumCLT/issues/3#issuecomment-149820979","issue_url":"https://api.github.com/repos/Lymphatus/CaesiumCLT/issues/3","id":149820979,"user":{"login":"Lymphatus","id":12133996,"avatar_url":"https://avatars.githubusercontent.com/u/12133996?v=3","gravatar_id":"","url":"https://api.github.com/users/Lymphatus","html_url":"https://github.com/Lymphatus","followers_url":"https://api.github.com/users/Lymphatus/followers","following_url":"https://api.github.com/users/Lymphatus/following{/other_user}","gists_url":"https://api.github.com/users/Lymphatus/gists{/gist_id}","starred_url":"https://api.github.com/users/Lymphatus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lymphatus/subscriptions","organizations_url":"https://api.github.com/users/Lymphatus/orgs","repos_url":"https://api.github.com/users/Lymphatus/repos","events_url":"https://api.github.com/users/Lymphatus/events{/privacy}","received_events_url":"https://api.github.com/users/Lymphatus/received_events","type":"User","site_admin":false},"created_at":"2015-10-21T08:40:03Z","updated_at":"2015-10-21T08:40:03Z","body":"The problem is in this line\r\n```\r\ngcc -Wall -D_FILE_OFFSET_BITS=64 -ljpeg -lturbojpeg -lm -std=c99 -g -O2 -o caesiumclt caesiumclt-main.o caesiumclt-utils.o caesiumclt-lossless.o caesiumclt-compress.o caesiumclt-utils.o\r\n```\r\n\r\nWhen compiling the *.o files, the needed libraries should be placed at the end of the line, not before the object files.\r\nThus the correct line should be\r\n```\r\ngcc -Wall -D_FILE_OFFSET_BITS=64 -std=c99 -g -O2 -o caesiumclt caesiumclt-main.o caesiumclt-utils.o caesiumclt-lossless.o caesiumclt-compress.o caesiumclt-utils.o -ljpeg -lturbojpeg -lm\r\n```\r\n[Details on this issue here.](http://stackoverflow.com/questions/45135/why-does-the-order-in-which-libraries-are-linked-sometimes-cause-errors-in-gcc)\r\n\r\nAlso I'm noticing you are not compiling the latest version. Use ```git pull``` to sync with the latest version.\r\n"}}