{"action":"created","issue":{"url":"https://api.github.com/repos/termux/termux-packages/issues/507","repository_url":"https://api.github.com/repos/termux/termux-packages","labels_url":"https://api.github.com/repos/termux/termux-packages/issues/507/labels{/name}","comments_url":"https://api.github.com/repos/termux/termux-packages/issues/507/comments","events_url":"https://api.github.com/repos/termux/termux-packages/issues/507/events","html_url":"https://github.com/termux/termux-packages/issues/507","id":183229482,"number":507,"title":"gsl is not compiled properly in Termux.","user":{"login":"tigran123","id":1933903,"avatar_url":"https://avatars.githubusercontent.com/u/1933903?v=3","gravatar_id":"","url":"https://api.github.com/users/tigran123","html_url":"https://github.com/tigran123","followers_url":"https://api.github.com/users/tigran123/followers","following_url":"https://api.github.com/users/tigran123/following{/other_user}","gists_url":"https://api.github.com/users/tigran123/gists{/gist_id}","starred_url":"https://api.github.com/users/tigran123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tigran123/subscriptions","organizations_url":"https://api.github.com/users/tigran123/orgs","repos_url":"https://api.github.com/users/tigran123/repos","events_url":"https://api.github.com/users/tigran123/events{/privacy}","received_events_url":"https://api.github.com/users/tigran123/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-15T19:54:47Z","updated_at":"2016-10-15T19:55:29Z","closed_at":null,"body":"If you try to compile and run any program that uses gsl library you will get an error:\r\n\r\n```\r\n$ ./test\r\nCANNOT LINK EXECUTABLE DEPENDENCIES: cannot locate symbol \"cblas_sdsdot\" referenced by \"libgsl.so.19\"...\r\n```\r\n\r\nThis seems to be a known problem, see here:\r\n\r\n[https://qnalist.com/questions/6297808/how-to-resolve-dependency-between-so-libraries-the-cannot-locate-symbol-cblas-sdsdot-referenced-by-libgsl-so-error](https://qnalist.com/questions/6297808/how-to-resolve-dependency-between-so-libraries-the-cannot-locate-symbol-cblas-sdsdot-referenced-by-libgsl-so-error)\r\n\r\nSee the session transcript below in order to reproduce:\r\n\r\n```\r\n$ cat test.c\r\n#include <gsl/gsl_integration.h>\r\n\r\nint main(int argc, char *argv[])\r\n{\r\n    gsl_integration_workspace_alloc(1000);\r\n    return 0;\r\n}\r\n$ gcc -Wall -O3  -lgsl -lgslcblas -lm  test.c   -o test\r\n$ ./test\r\nCANNOT LINK EXECUTABLE DEPENDENCIES: cannot locate symbol \"cblas_sdsdot\" referenced by \"libgsl.so.19\"...\r\n$ ldd test\r\nlibgsl.so.19\r\nlibgslcblas.so.0\r\nlibm.so\r\nlibdl.so\r\nlibc.so\r\n$ ls -l $PREFIX/lib/libgsl*\r\nlrwxrwxrwx 1 u0_a119 u0_a119      16 Oct 15 16:47 /data/data/com.termux/files/usr/lib/libgsl.so -> libgsl.so.19.2.0\r\nlrwxrwxrwx 1 u0_a119 u0_a119      16 Oct 15 16:47 /data/data/com.termux/files/usr/lib/libgsl.so.19 -> libgsl.so.19.2.0\r\n-rwxr-x--- 1 u0_a119 u0_a119 1724888 Sep  5 23:06 /data/data/com.termux/files/usr/lib/libgsl.so.19.2.0\r\nlrwxrwxrwx 1 u0_a119 u0_a119      20 Oct 15 16:47 /data/data/com.termux/files/usr/lib/libgslcblas.so -> libgslcblas.so.0.0.0\r\nlrwxrwxrwx 1 u0_a119 u0_a119      20 Oct 15 16:47 /data/data/com.termux/files/usr/lib/libgslcblas.so.0 -> libgslcblas.so.0.0.0\r\n-rwxr-x--- 1 u0_a119 u0_a119  173128 Sep  5 23:06 /data/data/com.termux/files/usr/lib/libgslcblas.so.0.0.0\r\n```"},"comment":{"url":"https://api.github.com/repos/termux/termux-packages/issues/comments/254007307","html_url":"https://github.com/termux/termux-packages/issues/507#issuecomment-254007307","issue_url":"https://api.github.com/repos/termux/termux-packages/issues/507","id":254007307,"user":{"login":"tigran123","id":1933903,"avatar_url":"https://avatars.githubusercontent.com/u/1933903?v=3","gravatar_id":"","url":"https://api.github.com/users/tigran123","html_url":"https://github.com/tigran123","followers_url":"https://api.github.com/users/tigran123/followers","following_url":"https://api.github.com/users/tigran123/following{/other_user}","gists_url":"https://api.github.com/users/tigran123/gists{/gist_id}","starred_url":"https://api.github.com/users/tigran123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tigran123/subscriptions","organizations_url":"https://api.github.com/users/tigran123/orgs","repos_url":"https://api.github.com/users/tigran123/repos","events_url":"https://api.github.com/users/tigran123/events{/privacy}","received_events_url":"https://api.github.com/users/tigran123/received_events","type":"User","site_admin":false},"created_at":"2016-10-15T19:55:29Z","updated_at":"2016-10-15T19:55:29Z","body":"I forgot to mention that the above problem occurs on Android 5.1.1 on Nexus 10 (i.e. armv7l architecture). I'll try Android 6.0.1 on aarch64 now."}}
{"actor":{"display_login":"tigran123"}}