{"action":"created","issue":{"url":"https://api.github.com/repos/geommer/yabar/issues/117","repository_url":"https://api.github.com/repos/geommer/yabar","labels_url":"https://api.github.com/repos/geommer/yabar/issues/117/labels{/name}","comments_url":"https://api.github.com/repos/geommer/yabar/issues/117/comments","events_url":"https://api.github.com/repos/geommer/yabar/issues/117/events","html_url":"https://github.com/geommer/yabar/issues/117","id":181794146,"number":117,"title":"\"undefined symbol: config_setting_lookup\" when installed from Debian repos, same error when compiling from source","user":{"login":"Lesik","id":2021487,"avatar_url":"https://avatars.githubusercontent.com/u/2021487?v=3","gravatar_id":"","url":"https://api.github.com/users/Lesik","html_url":"https://github.com/Lesik","followers_url":"https://api.github.com/users/Lesik/followers","following_url":"https://api.github.com/users/Lesik/following{/other_user}","gists_url":"https://api.github.com/users/Lesik/gists{/gist_id}","starred_url":"https://api.github.com/users/Lesik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lesik/subscriptions","organizations_url":"https://api.github.com/users/Lesik/orgs","repos_url":"https://api.github.com/users/Lesik/repos","events_url":"https://api.github.com/users/Lesik/events{/privacy}","received_events_url":"https://api.github.com/users/Lesik/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-10-08T00:54:42Z","updated_at":"2016-10-11T12:02:58Z","closed_at":"2016-10-11T12:02:58Z","body":"This issue is probably related to #74, #80 and #89.\r\n\r\nI installed yabar from the [Debian package](https://packages.debian.org/stretch/yabar), but running it (not compiling!) produces this error:\r\n```\r\nyabar: symbol lookup error: yabar: undefined symbol: config_setting_lookup\r\n```\r\n\r\nWeirdly, the same error occurs when compiling. Here I try to compile the 0.4.0 release (installed build dependencies are `libcairo2-dev`, `libconfig-dev`, `libpango1.0-dev`, `libxcb-ewmh-dev` and `libxcb-randr0-dev`):\r\n```\r\n$ make\r\ncc -std=c99 -Iinclude -pedantic -Wall -Os `pkg-config --cflags pango pangocairo libconfig` -DVERSION=\\\"0.4.0\\\" -D_POSIX_C_SOURCE=199309L -DYA_INTERNAL -DYA_DYN_COL -DYA_ENV_VARS -DYA_INTERNAL_EWMH  -c -o src/ya_parse.o src/ya_parse.c\r\nsrc/ya_parse.c: In function ‘ya_config_parse’:\r\nsrc/ya_parse.c:682:3: warning: implicit declaration of function ‘config_setting_lookup’ [-Wimplicit-function-declaration]\r\n   blklist_set = config_setting_lookup(curbar_set, \"block-list\");\r\n   ^\r\nsrc/ya_parse.c:682:15: warning: assignment makes pointer from integer without a cast\r\n   blklist_set = config_setting_lookup(curbar_set, \"block-list\");\r\n               ^\r\nsrc/ya_parse.c:701:15: warning: assignment makes pointer from integer without a cast\r\n    curblk_set = config_setting_lookup(curbar_set, blkstr);\r\n               ^\r\ncc -std=c99 -Iinclude -pedantic -Wall -Os `pkg-config --cflags pango pangocairo libconfig` -DVERSION=\\\"0.4.0\\\" -D_POSIX_C_SOURCE=199309L -DYA_INTERNAL -DYA_DYN_COL -DYA_ENV_VARS -DYA_INTERNAL_EWMH  -c -o src/ya_exec.o src/ya_exec.c\r\ncc -std=c99 -Iinclude -pedantic -Wall -Os `pkg-config --cflags pango pangocairo libconfig` -DVERSION=\\\"0.4.0\\\" -D_POSIX_C_SOURCE=199309L -DYA_INTERNAL -DYA_DYN_COL -DYA_ENV_VARS -DYA_INTERNAL_EWMH  -c -o src/ya_draw.o src/ya_draw.c\r\ncc -std=c99 -Iinclude -pedantic -Wall -Os `pkg-config --cflags pango pangocairo libconfig` -DVERSION=\\\"0.4.0\\\" -D_POSIX_C_SOURCE=199309L -DYA_INTERNAL -DYA_DYN_COL -DYA_ENV_VARS -DYA_INTERNAL_EWMH  -c -o src/ya_main.o src/ya_main.c\r\ncc -o yabar src/ya_parse.o src/ya_exec.o src/ya_draw.o src/ya_main.o src/intern_blks/ya_intern.o -lxcb -lpthread -lxcb-randr -lxcb-ewmh `pkg-config --libs pango pangocairo libconfig`\r\nsrc/ya_parse.o: In function `ya_config_parse':\r\nya_parse.c:(.text+0x400): undefined reference to `config_setting_lookup'\r\nya_parse.c:(.text+0xa38): undefined reference to `config_setting_lookup'\r\ncollect2: error: ld returned 1 exit status\r\nMakefile:18: recipe for target 'yabar' failed\r\nmake: *** [yabar] Error 1\r\n```\r\n\r\nCompiling from master branch, after installing `libgdk-pixbuf2.0-dev` as additional dependency:\r\n```\r\n$ make\r\ncc -std=c99 -Iinclude -pedantic -Wall -Os `pkg-config --cflags pango pangocairo libconfig gdk-pixbuf-2.0` -DVERSION=\\\"0.4.0-69-gbc24863\\\" -D_POSIX_C_SOURCE=199309L -DYA_INTERNAL -DYA_DYN_COL -DYA_ENV_VARS -DYA_INTERNAL_EWMH -DYA_ICON -DYA_NOWIN_COL -DYA_MUTEX -DYA_VAR_WIDTH  -c -o src/ya_parse.o src/ya_parse.c\r\nsrc/ya_parse.c: In function ‘ya_config_parse’:\r\nsrc/ya_parse.c:751:3: warning: implicit declaration of function ‘config_setting_lookup’ [-Wimplicit-function-declaration]\r\n   blklist_set = config_setting_lookup(curbar_set, \"block-list\");\r\n   ^\r\nsrc/ya_parse.c:751:15: warning: assignment makes pointer from integer without a cast\r\n   blklist_set = config_setting_lookup(curbar_set, \"block-list\");\r\n               ^\r\nsrc/ya_parse.c:770:15: warning: assignment makes pointer from integer without a cast\r\n    curblk_set = config_setting_lookup(curbar_set, blkstr);\r\n               ^\r\ncc -std=c99 -Iinclude -pedantic -Wall -Os `pkg-config --cflags pango pangocairo libconfig gdk-pixbuf-2.0` -DVERSION=\\\"0.4.0-69-gbc24863\\\" -D_POSIX_C_SOURCE=199309L -DYA_INTERNAL -DYA_DYN_COL -DYA_ENV_VARS -DYA_INTERNAL_EWMH -DYA_ICON -DYA_NOWIN_COL -DYA_MUTEX -DYA_VAR_WIDTH  -c -o src/ya_exec.o src/ya_exec.c\r\ncc -std=c99 -Iinclude -pedantic -Wall -Os `pkg-config --cflags pango pangocairo libconfig gdk-pixbuf-2.0` -DVERSION=\\\"0.4.0-69-gbc24863\\\" -D_POSIX_C_SOURCE=199309L -DYA_INTERNAL -DYA_DYN_COL -DYA_ENV_VARS -DYA_INTERNAL_EWMH -DYA_ICON -DYA_NOWIN_COL -DYA_MUTEX -DYA_VAR_WIDTH  -c -o src/ya_draw.o src/ya_draw.c\r\ncc -std=c99 -Iinclude -pedantic -Wall -Os `pkg-config --cflags pango pangocairo libconfig gdk-pixbuf-2.0` -DVERSION=\\\"0.4.0-69-gbc24863\\\" -D_POSIX_C_SOURCE=199309L -DYA_INTERNAL -DYA_DYN_COL -DYA_ENV_VARS -DYA_INTERNAL_EWMH -DYA_ICON -DYA_NOWIN_COL -DYA_MUTEX -DYA_VAR_WIDTH  -c -o src/ya_main.o src/ya_main.c\r\ncc -std=c99 -Iinclude -pedantic -Wall -Os `pkg-config --cflags pango pangocairo libconfig gdk-pixbuf-2.0` -DVERSION=\\\"0.4.0-69-gbc24863\\\" -D_POSIX_C_SOURCE=199309L -DYA_INTERNAL -DYA_DYN_COL -DYA_ENV_VARS -DYA_INTERNAL_EWMH -DYA_ICON -DYA_NOWIN_COL -DYA_MUTEX -DYA_VAR_WIDTH  -c -o src/intern_blks/ya_intern.o src/intern_blks/ya_intern.c\r\ncc -o yabar src/ya_parse.o src/ya_exec.o src/ya_draw.o src/ya_main.o src/intern_blks/ya_intern.o -lxcb -lpthread -lxcb-randr -lxcb-ewmh `pkg-config --libs pango pangocairo libconfig gdk-pixbuf-2.0`\r\nsrc/ya_parse.o: In function `ya_config_parse':\r\nya_parse.c:(.text+0x482): undefined reference to `config_setting_lookup'\r\nya_parse.c:(.text+0xafd): undefined reference to `config_setting_lookup'\r\ncollect2: error: ld returned 1 exit status\r\nMakefile:18: recipe for target 'yabar' failed\r\nmake: *** [yabar] Error 1\r\n```"},"comment":{"url":"https://api.github.com/repos/geommer/yabar/issues/comments/252898198","html_url":"https://github.com/geommer/yabar/issues/117#issuecomment-252898198","issue_url":"https://api.github.com/repos/geommer/yabar/issues/117","id":252898198,"user":{"login":"Lesik","id":2021487,"avatar_url":"https://avatars.githubusercontent.com/u/2021487?v=3","gravatar_id":"","url":"https://api.github.com/users/Lesik","html_url":"https://github.com/Lesik","followers_url":"https://api.github.com/users/Lesik/followers","following_url":"https://api.github.com/users/Lesik/following{/other_user}","gists_url":"https://api.github.com/users/Lesik/gists{/gist_id}","starred_url":"https://api.github.com/users/Lesik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lesik/subscriptions","organizations_url":"https://api.github.com/users/Lesik/orgs","repos_url":"https://api.github.com/users/Lesik/repos","events_url":"https://api.github.com/users/Lesik/events{/privacy}","received_events_url":"https://api.github.com/users/Lesik/received_events","type":"User","site_admin":false},"created_at":"2016-10-11T12:02:58Z","updated_at":"2016-10-11T12:02:58Z","body":"Github mobile UI is so horribly bad dammit"}}
{"actor":{"display_login":"Lesik"}}