{"action":"created","issue":{"url":"https://api.github.com/repos/conda/conda/issues/3897","repository_url":"https://api.github.com/repos/conda/conda","labels_url":"https://api.github.com/repos/conda/conda/issues/3897/labels{/name}","comments_url":"https://api.github.com/repos/conda/conda/issues/3897/comments","events_url":"https://api.github.com/repos/conda/conda/issues/3897/events","html_url":"https://github.com/conda/conda/issues/3897","id":189793837,"number":3897,"title":"C++ linking issue on ubuntu when building scikit-learn","user":{"login":"amueller","id":449558,"avatar_url":"https://avatars.githubusercontent.com/u/449558?v=3","gravatar_id":"","url":"https://api.github.com/users/amueller","html_url":"https://github.com/amueller","followers_url":"https://api.github.com/users/amueller/followers","following_url":"https://api.github.com/users/amueller/following{/other_user}","gists_url":"https://api.github.com/users/amueller/gists{/gist_id}","starred_url":"https://api.github.com/users/amueller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amueller/subscriptions","organizations_url":"https://api.github.com/users/amueller/orgs","repos_url":"https://api.github.com/users/amueller/repos","events_url":"https://api.github.com/users/amueller/events{/privacy}","received_events_url":"https://api.github.com/users/amueller/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2016-11-16T18:08:37Z","updated_at":"2016-11-16T21:57:41Z","closed_at":null,"body":"I've trouble building scikit-learn inside a conda environment on a fresh machine running Ubuntu 16.10.\r\nI get the following linking issue:\r\n\r\nscikit-learn/sklearn/svm/libsvm.cpython-35m-x86_64-linux-gnu.so: undefined symbol: __cxa_throw_bad_array_new_length\r\n\r\nI suspect that this is caused by some version mismatch between shared libraries. I'm using gcc (Ubuntu 6.2.0-5ubuntu12) 6.2.0 20161005.\r\n\r\nUsing the system python I can run scikit-learn without issues.\r\n\r\nHere are the linked libraries:\r\n```\r\n> ldd /home/andy/checkout/scikit-learn/sklearn/svm/libsvm.cpython-35m-x86_64-linux-gnu.so\r\n\tlinux-vdso.so.1 =>  (0x00007ffc1c5ce000)\r\n\tlibpython3.5m.so.1.0 => /home/andy/anaconda3/lib/libpython3.5m.so.1.0 (0x00007fb4cf2c4000)\r\n\tlibstdc++.so.6 => /home/andy/anaconda3/lib/libstdc++.so.6 (0x00007fb4cefae000)\r\n\tlibm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fb4cec88000)\r\n\tlibgcc_s.so.1 => /home/andy/anaconda3/lib/libgcc_s.so.1 (0x00007fb4cea72000)\r\n\tlibpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fb4ce854000)\r\n\tlibc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fb4ce48b000)\r\n\tlibdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fb4ce287000)\r\n\tlibutil.so.1 => /lib/x86_64-linux-gnu/libutil.so.1 (0x00007fb4ce084000)\r\n\tlibrt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007fb4cde7c000)\r\n\t/lib64/ld-linux-x86-64.so.2 (0x00005638e7a82000)\r\n```"},"comment":{"url":"https://api.github.com/repos/conda/conda/issues/comments/261085370","html_url":"https://github.com/conda/conda/issues/3897#issuecomment-261085370","issue_url":"https://api.github.com/repos/conda/conda/issues/3897","id":261085370,"user":{"login":"chrisormandy","id":16291568,"avatar_url":"https://avatars.githubusercontent.com/u/16291568?v=3","gravatar_id":"","url":"https://api.github.com/users/chrisormandy","html_url":"https://github.com/chrisormandy","followers_url":"https://api.github.com/users/chrisormandy/followers","following_url":"https://api.github.com/users/chrisormandy/following{/other_user}","gists_url":"https://api.github.com/users/chrisormandy/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisormandy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisormandy/subscriptions","organizations_url":"https://api.github.com/users/chrisormandy/orgs","repos_url":"https://api.github.com/users/chrisormandy/repos","events_url":"https://api.github.com/users/chrisormandy/events{/privacy}","received_events_url":"https://api.github.com/users/chrisormandy/received_events","type":"User","site_admin":false},"created_at":"2016-11-16T21:57:41Z","updated_at":"2016-11-16T21:57:41Z","body":"~/python/scikit-learn/build/lib.linux-x86_64-3.5/sklearn/svm$ ldd libsvm.cpython-35m-x86_64-linux-gnu.so\r\n\tlinux-vdso.so.1 =>  (0x00007ffdab59a000)\r\n\tlibpython3.5m.so.1.0 => /home/chris/anaconda2/envs/pthree/lib/libpython3.5m.so.1.0 (0x00007fd865b41000)\r\n\tlibstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007fd8657a5000)\r\n\tlibm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fd86549b000)\r\n\tlibgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007fd865285000)\r\n\tlibpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fd865068000)\r\n\tlibc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fd864c9e000)\r\n\tlibdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fd864a9a000)\r\n\tlibutil.so.1 => /lib/x86_64-linux-gnu/libutil.so.1 (0x00007fd864897000)\r\n\tlibrt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007fd86468e000)\r\n\t/lib64/ld-linux-x86-64.so.2 (0x00005585cbb21000)"}}
{"actor":{"display_login":"chrisormandy"}}