{"action":"created","issue":{"url":"https://api.github.com/repos/potentialventures/cocotb/issues/244","labels_url":"https://api.github.com/repos/potentialventures/cocotb/issues/244/labels{/name}","comments_url":"https://api.github.com/repos/potentialventures/cocotb/issues/244/comments","events_url":"https://api.github.com/repos/potentialventures/cocotb/issues/244/events","html_url":"https://github.com/potentialventures/cocotb/issues/244","id":75369753,"number":244,"title":"Unable to open lib libpython3.4.so","user":{"login":"Snotzer","id":2738981,"avatar_url":"https://avatars.githubusercontent.com/u/2738981?v=3","gravatar_id":"","url":"https://api.github.com/users/Snotzer","html_url":"https://github.com/Snotzer","followers_url":"https://api.github.com/users/Snotzer/followers","following_url":"https://api.github.com/users/Snotzer/following{/other_user}","gists_url":"https://api.github.com/users/Snotzer/gists{/gist_id}","starred_url":"https://api.github.com/users/Snotzer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Snotzer/subscriptions","organizations_url":"https://api.github.com/users/Snotzer/orgs","repos_url":"https://api.github.com/users/Snotzer/repos","events_url":"https://api.github.com/users/Snotzer/events{/privacy}","received_events_url":"https://api.github.com/users/Snotzer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-05-11T21:45:54Z","updated_at":"2015-05-12T10:05:20Z","closed_at":null,"body":"Hi,\r\n\r\nI've just installed cocotb (11th May) on a ubuntu machine and I'm having trouble running the example testcase e.g. endian_swapper with Icarus (0.9.7). Im using v3.4 of python, make v3.81. Do I need to declare some additional environment variable with python v3.4? An earlier cocotb was working when I had python 2.7\r\n\r\nHere is the error from the `make` command\r\n> vvp -M /home/damian/Projects/Work/NXP/cocotb/build/libs/i686 -m gpivpi sim_build/sim.vvp   \r\nUnable to open lib libpython3.4.so (libpython3.4.so: cannot open shared object file: No such file or directory)\r\n>Failed to find python lib\r\n>     -.--ns INFO     cocotb.gpi                                GpiCommon.cpp:47   in >gpi_print_registered_impl       VPI registered\r\n>Traceback (most recent call last):\r\n>  File \"/home/damian/Projects/Work/NXP/cocotb/cocotb/__init__.py\", line 41, in <module>\r\n>    import cocotb.handle\r\n>  File \"/home/damian/Projects/Work/NXP/cocotb/cocotb/handle.py\", line 46, in <module>\r\n>   import simulator\r\n>ImportError: /home/damian/Projects/Work/NXP/cocotb/build/libs/i686/simulator.so: undefined symbol: PyModule_GetState\r\n>Failed to load \"cocotb\"\r\n\r\nGreat project any help appreciated.\r\n"},"comment":{"url":"https://api.github.com/repos/potentialventures/cocotb/issues/comments/101221011","html_url":"https://github.com/potentialventures/cocotb/issues/244#issuecomment-101221011","issue_url":"https://api.github.com/repos/potentialventures/cocotb/issues/244","id":101221011,"user":{"login":"chiggs","id":413627,"avatar_url":"https://avatars.githubusercontent.com/u/413627?v=3","gravatar_id":"","url":"https://api.github.com/users/chiggs","html_url":"https://github.com/chiggs","followers_url":"https://api.github.com/users/chiggs/followers","following_url":"https://api.github.com/users/chiggs/following{/other_user}","gists_url":"https://api.github.com/users/chiggs/gists{/gist_id}","starred_url":"https://api.github.com/users/chiggs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chiggs/subscriptions","organizations_url":"https://api.github.com/users/chiggs/orgs","repos_url":"https://api.github.com/users/chiggs/repos","events_url":"https://api.github.com/users/chiggs/events{/privacy}","received_events_url":"https://api.github.com/users/chiggs/received_events","type":"User","site_admin":false},"created_at":"2015-05-12T10:05:20Z","updated_at":"2015-05-12T10:05:20Z","body":"Have you tried setting both `PYTHONPATH` and `PYTHONHOME`?\r\n\r\nThere are a [few suggestions](http://unix.stackexchange.com/a/139869/82511) that this might do the trick."}}