{"action":"opened","number":734,"pull_request":{"url":"https://api.github.com/repos/pocoproject/poco/pulls/734","id":30626108,"html_url":"https://github.com/pocoproject/poco/pull/734","diff_url":"https://github.com/pocoproject/poco/pull/734.diff","patch_url":"https://github.com/pocoproject/poco/pull/734.patch","issue_url":"https://api.github.com/repos/pocoproject/poco/issues/734","number":734,"state":"open","locked":false,"title":"Enhancing error message to show correct way to setup libodbc path","user":{"login":"rklabs","id":2063470,"avatar_url":"https://avatars.githubusercontent.com/u/2063470?v=3","gravatar_id":"","url":"https://api.github.com/users/rklabs","html_url":"https://github.com/rklabs","followers_url":"https://api.github.com/users/rklabs/followers","following_url":"https://api.github.com/users/rklabs/following{/other_user}","gists_url":"https://api.github.com/users/rklabs/gists{/gist_id}","starred_url":"https://api.github.com/users/rklabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rklabs/subscriptions","organizations_url":"https://api.github.com/users/rklabs/orgs","repos_url":"https://api.github.com/users/rklabs/repos","events_url":"https://api.github.com/users/rklabs/events{/privacy}","received_events_url":"https://api.github.com/users/rklabs/received_events","type":"User","site_admin":false},"body":"While running make on poco I got below error message which was confusing since I had installed unixodbc on my Ubuntu 14.10. \r\n\r\nmake[1]: Entering directory '/home/m1016632/github/poco/Data/ODBC'\r\nODBC.make:61: *** No ODBC library found. Please install unixODBC or iODBC or specify POCO_ODBC_LIB and try again.  Stop.\r\nmake[1]: Leaving directory '/home/m1016632/github/poco/Data/ODBC'\r\nMakefile:191: recipe for target 'Data/ODBC-libexec' failed\r\nmake: *** [Data/ODBC-libexec] Error 2\r\n\r\nm1016632@A2ML04601L:~/github/poco$ ls -l /usr/lib/i386-linux-gnu/libodbc*\r\n-rw-r--r-- 1 root root 866062 May  1  2014 /usr/lib/i386-linux-gnu/libodbc.a\r\n-rw-r--r-- 1 root root  98954 May  1  2014 /usr/lib/i386-linux-gnu/libodbccr.a\r\nlrwxrwxrwx 1 root root     18 May  1  2014 /usr/lib/i386-linux-gnu/libodbccr.so -> libodbccr.so.2.0.0\r\nlrwxrwxrwx 1 root root     14 May  1  2014 /usr/lib/i386-linux-gnu/libodbccr.so.1 -> libodbccr.so.2\r\nlrwxrwxrwx 1 root root     18 May  1  2014 /usr/lib/i386-linux-gnu/libodbccr.so.2 -> libodbccr.so.2.0.0\r\n-rw-r--r-- 1 root root  38332 May  1  2014 /usr/lib/i386-linux-gnu/libodbccr.so.2.0.0\r\n-rw-r--r-- 1 root root 215466 May  1  2014 /usr/lib/i386-linux-gnu/libodbcinst.a\r\nlrwxrwxrwx 1 root root     22 Apr  9  2014 /usr/lib/i386-linux-gnu/libodbcinstQ4.so.1 -> libodbcinstQ4.so.1.1.1\r\n-rw-r--r-- 1 root root 705000 Apr  9  2014 /usr/lib/i386-linux-gnu/libodbcinstQ4.so.1.1.1\r\nlrwxrwxrwx 1 root root     20 May  1  2014 /usr/lib/i386-linux-gnu/libodbcinst.so -> libodbcinst.so.2.0.0\r\nlrwxrwxrwx 1 root root     16 May  1  2014 /usr/lib/i386-linux-gnu/libodbcinst.so.1 -> libodbcinst.so.2\r\nlrwxrwxrwx 1 root root     20 May  1  2014 /usr/lib/i386-linux-gnu/libodbcinst.so.2 -> libodbcinst.so.2.0.0\r\n-rw-r--r-- 1 root root  75312 May  1  2014 /usr/lib/i386-linux-gnu/libodbcinst.so.2.0.0\r\nlrwxrwxrwx 1 root root     16 May  1  2014 /usr/lib/i386-linux-gnu/libodbc.so -> libodbc.so.2.0.0\r\nlrwxrwxrwx 1 root root     12 May  1  2014 /usr/lib/i386-linux-gnu/libodbc.so.1 -> libodbc.so.2\r\nlrwxrwxrwx 1 root root     16 May  1  2014 /usr/lib/i386-linux-gnu/libodbc.so.2 -> libodbc.so.2.0.0\r\n-rw-r--r-- 1 root root 445968 May  1  2014 /usr/lib/i386-linux-gnu/libodbc.so.2.0.0\r\n\r\nI did a little debugging and found that 'uname -m' was returning i686 but the location of libodbc libraries was '/usr/lib/i386-linux-gnu'. This was confusing. Later I setup correct path in  --odbc-lib and I was able to successfully build poco. I'm enhacing error message so that the user knows about --odbc-lib option to setup correct libodbc path. Hope this helps!\r\n\r\n--Raju Kadam","created_at":"2015-03-06T07:36:45Z","updated_at":"2015-03-06T07:36:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/pocoproject/poco/pulls/734/commits","review_comments_url":"https://api.github.com/repos/pocoproject/poco/pulls/734/comments","review_comment_url":"https://api.github.com/repos/pocoproject/poco/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pocoproject/poco/issues/734/comments","statuses_url":"https://api.github.com/repos/pocoproject/poco/statuses/976baa895e2265d5164b6761c3f618873f222971","head":{"label":"rklabs:fix_make_odbc_error_msg","ref":"fix_make_odbc_error_msg","sha":"976baa895e2265d5164b6761c3f618873f222971","user":{"login":"rklabs","id":2063470,"avatar_url":"https://avatars.githubusercontent.com/u/2063470?v=3","gravatar_id":"","url":"https://api.github.com/users/rklabs","html_url":"https://github.com/rklabs","followers_url":"https://api.github.com/users/rklabs/followers","following_url":"https://api.github.com/users/rklabs/following{/other_user}","gists_url":"https://api.github.com/users/rklabs/gists{/gist_id}","starred_url":"https://api.github.com/users/rklabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rklabs/subscriptions","organizations_url":"https://api.github.com/users/rklabs/orgs","repos_url":"https://api.github.com/users/rklabs/repos","events_url":"https://api.github.com/users/rklabs/events{/privacy}","received_events_url":"https://api.github.com/users/rklabs/received_events","type":"User","site_admin":false},"repo":{"id":31581546,"name":"poco","full_name":"rklabs/poco","owner":{"login":"rklabs","id":2063470,"avatar_url":"https://avatars.githubusercontent.com/u/2063470?v=3","gravatar_id":"","url":"https://api.github.com/users/rklabs","html_url":"https://github.com/rklabs","followers_url":"https://api.github.com/users/rklabs/followers","following_url":"https://api.github.com/users/rklabs/following{/other_user}","gists_url":"https://api.github.com/users/rklabs/gists{/gist_id}","starred_url":"https://api.github.com/users/rklabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rklabs/subscriptions","organizations_url":"https://api.github.com/users/rklabs/orgs","repos_url":"https://api.github.com/users/rklabs/repos","events_url":"https://api.github.com/users/rklabs/events{/privacy}","received_events_url":"https://api.github.com/users/rklabs/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rklabs/poco","description":"POCO C++ Libraries - Cross-platform C++ libraries with a network/internet focus.","fork":true,"url":"https://api.github.com/repos/rklabs/poco","forks_url":"https://api.github.com/repos/rklabs/poco/forks","keys_url":"https://api.github.com/repos/rklabs/poco/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rklabs/poco/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rklabs/poco/teams","hooks_url":"https://api.github.com/repos/rklabs/poco/hooks","issue_events_url":"https://api.github.com/repos/rklabs/poco/issues/events{/number}","events_url":"https://api.github.com/repos/rklabs/poco/events","assignees_url":"https://api.github.com/repos/rklabs/poco/assignees{/user}","branches_url":"https://api.github.com/repos/rklabs/poco/branches{/branch}","tags_url":"https://api.github.com/repos/rklabs/poco/tags","blobs_url":"https://api.github.com/repos/rklabs/poco/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rklabs/poco/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rklabs/poco/git/refs{/sha}","trees_url":"https://api.github.com/repos/rklabs/poco/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rklabs/poco/statuses/{sha}","languages_url":"https://api.github.com/repos/rklabs/poco/languages","stargazers_url":"https://api.github.com/repos/rklabs/poco/stargazers","contributors_url":"https://api.github.com/repos/rklabs/poco/contributors","subscribers_url":"https://api.github.com/repos/rklabs/poco/subscribers","subscription_url":"https://api.github.com/repos/rklabs/poco/subscription","commits_url":"https://api.github.com/repos/rklabs/poco/commits{/sha}","git_commits_url":"https://api.github.com/repos/rklabs/poco/git/commits{/sha}","comments_url":"https://api.github.com/repos/rklabs/poco/comments{/number}","issue_comment_url":"https://api.github.com/repos/rklabs/poco/issues/comments{/number}","contents_url":"https://api.github.com/repos/rklabs/poco/contents/{+path}","compare_url":"https://api.github.com/repos/rklabs/poco/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rklabs/poco/merges","archive_url":"https://api.github.com/repos/rklabs/poco/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rklabs/poco/downloads","issues_url":"https://api.github.com/repos/rklabs/poco/issues{/number}","pulls_url":"https://api.github.com/repos/rklabs/poco/pulls{/number}","milestones_url":"https://api.github.com/repos/rklabs/poco/milestones{/number}","notifications_url":"https://api.github.com/repos/rklabs/poco/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rklabs/poco/labels{/name}","releases_url":"https://api.github.com/repos/rklabs/poco/releases{/id}","created_at":"2015-03-03T05:42:30Z","updated_at":"2015-03-03T05:42:46Z","pushed_at":"2015-03-06T07:27:02Z","git_url":"git://github.com/rklabs/poco.git","ssh_url":"git@github.com:rklabs/poco.git","clone_url":"https://github.com/rklabs/poco.git","svn_url":"https://github.com/rklabs/poco","homepage":"http://pocoproject.org","size":43080,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"pocoproject:develop","ref":"develop","sha":"7d5eec2b4a6ad862d6ff8c95ecc99088f9562fc9","user":{"login":"pocoproject","id":201918,"avatar_url":"https://avatars.githubusercontent.com/u/201918?v=3","gravatar_id":"","url":"https://api.github.com/users/pocoproject","html_url":"https://github.com/pocoproject","followers_url":"https://api.github.com/users/pocoproject/followers","following_url":"https://api.github.com/users/pocoproject/following{/other_user}","gists_url":"https://api.github.com/users/pocoproject/gists{/gist_id}","starred_url":"https://api.github.com/users/pocoproject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pocoproject/subscriptions","organizations_url":"https://api.github.com/users/pocoproject/orgs","repos_url":"https://api.github.com/users/pocoproject/repos","events_url":"https://api.github.com/users/pocoproject/events{/privacy}","received_events_url":"https://api.github.com/users/pocoproject/received_events","type":"Organization","site_admin":false},"repo":{"id":6376337,"name":"poco","full_name":"pocoproject/poco","owner":{"login":"pocoproject","id":201918,"avatar_url":"https://avatars.githubusercontent.com/u/201918?v=3","gravatar_id":"","url":"https://api.github.com/users/pocoproject","html_url":"https://github.com/pocoproject","followers_url":"https://api.github.com/users/pocoproject/followers","following_url":"https://api.github.com/users/pocoproject/following{/other_user}","gists_url":"https://api.github.com/users/pocoproject/gists{/gist_id}","starred_url":"https://api.github.com/users/pocoproject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pocoproject/subscriptions","organizations_url":"https://api.github.com/users/pocoproject/orgs","repos_url":"https://api.github.com/users/pocoproject/repos","events_url":"https://api.github.com/users/pocoproject/events{/privacy}","received_events_url":"https://api.github.com/users/pocoproject/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pocoproject/poco","description":"POCO C++ Libraries - Cross-platform C++ libraries with a network/internet focus.","fork":false,"url":"https://api.github.com/repos/pocoproject/poco","forks_url":"https://api.github.com/repos/pocoproject/poco/forks","keys_url":"https://api.github.com/repos/pocoproject/poco/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pocoproject/poco/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pocoproject/poco/teams","hooks_url":"https://api.github.com/repos/pocoproject/poco/hooks","issue_events_url":"https://api.github.com/repos/pocoproject/poco/issues/events{/number}","events_url":"https://api.github.com/repos/pocoproject/poco/events","assignees_url":"https://api.github.com/repos/pocoproject/poco/assignees{/user}","branches_url":"https://api.github.com/repos/pocoproject/poco/branches{/branch}","tags_url":"https://api.github.com/repos/pocoproject/poco/tags","blobs_url":"https://api.github.com/repos/pocoproject/poco/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pocoproject/poco/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pocoproject/poco/git/refs{/sha}","trees_url":"https://api.github.com/repos/pocoproject/poco/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pocoproject/poco/statuses/{sha}","languages_url":"https://api.github.com/repos/pocoproject/poco/languages","stargazers_url":"https://api.github.com/repos/pocoproject/poco/stargazers","contributors_url":"https://api.github.com/repos/pocoproject/poco/contributors","subscribers_url":"https://api.github.com/repos/pocoproject/poco/subscribers","subscription_url":"https://api.github.com/repos/pocoproject/poco/subscription","commits_url":"https://api.github.com/repos/pocoproject/poco/commits{/sha}","git_commits_url":"https://api.github.com/repos/pocoproject/poco/git/commits{/sha}","comments_url":"https://api.github.com/repos/pocoproject/poco/comments{/number}","issue_comment_url":"https://api.github.com/repos/pocoproject/poco/issues/comments{/number}","contents_url":"https://api.github.com/repos/pocoproject/poco/contents/{+path}","compare_url":"https://api.github.com/repos/pocoproject/poco/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pocoproject/poco/merges","archive_url":"https://api.github.com/repos/pocoproject/poco/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pocoproject/poco/downloads","issues_url":"https://api.github.com/repos/pocoproject/poco/issues{/number}","pulls_url":"https://api.github.com/repos/pocoproject/poco/pulls{/number}","milestones_url":"https://api.github.com/repos/pocoproject/poco/milestones{/number}","notifications_url":"https://api.github.com/repos/pocoproject/poco/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pocoproject/poco/labels{/name}","releases_url":"https://api.github.com/repos/pocoproject/poco/releases{/id}","created_at":"2012-10-24T19:39:16Z","updated_at":"2015-03-05T10:18:15Z","pushed_at":"2015-03-06T04:03:03Z","git_url":"git://github.com/pocoproject/poco.git","ssh_url":"git@github.com:pocoproject/poco.git","clone_url":"https://github.com/pocoproject/poco.git","svn_url":"https://github.com/pocoproject/poco","homepage":"http://pocoproject.org","size":67297,"stargazers_count":862,"watchers_count":862,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":357,"mirror_url":null,"open_issues_count":98,"forks":357,"open_issues":98,"watchers":862,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/pocoproject/poco/pulls/734"},"html":{"href":"https://github.com/pocoproject/poco/pull/734"},"issue":{"href":"https://api.github.com/repos/pocoproject/poco/issues/734"},"comments":{"href":"https://api.github.com/repos/pocoproject/poco/issues/734/comments"},"review_comments":{"href":"https://api.github.com/repos/pocoproject/poco/pulls/734/comments"},"review_comment":{"href":"https://api.github.com/repos/pocoproject/poco/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pocoproject/poco/pulls/734/commits"},"statuses":{"href":"https://api.github.com/repos/pocoproject/poco/statuses/976baa895e2265d5164b6761c3f618873f222971"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}