{"action":"created","issue":{"url":"https://api.github.com/repos/OpenChemistry/avogadroapp/issues/21","labels_url":"https://api.github.com/repos/OpenChemistry/avogadroapp/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/OpenChemistry/avogadroapp/issues/21/comments","events_url":"https://api.github.com/repos/OpenChemistry/avogadroapp/issues/21/events","html_url":"https://github.com/OpenChemistry/avogadroapp/issues/21","id":98544817,"number":21,"title":"Segmentation fault on Arch Linux due to Qt 4 and 5","user":{"login":"berquist","id":727571,"avatar_url":"https://avatars.githubusercontent.com/u/727571?v=3","gravatar_id":"","url":"https://api.github.com/users/berquist","html_url":"https://github.com/berquist","followers_url":"https://api.github.com/users/berquist/followers","following_url":"https://api.github.com/users/berquist/following{/other_user}","gists_url":"https://api.github.com/users/berquist/gists{/gist_id}","starred_url":"https://api.github.com/users/berquist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/berquist/subscriptions","organizations_url":"https://api.github.com/users/berquist/orgs","repos_url":"https://api.github.com/users/berquist/repos","events_url":"https://api.github.com/users/berquist/events{/privacy}","received_events_url":"https://api.github.com/users/berquist/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"cryos","id":42214,"avatar_url":"https://avatars.githubusercontent.com/u/42214?v=3","gravatar_id":"","url":"https://api.github.com/users/cryos","html_url":"https://github.com/cryos","followers_url":"https://api.github.com/users/cryos/followers","following_url":"https://api.github.com/users/cryos/following{/other_user}","gists_url":"https://api.github.com/users/cryos/gists{/gist_id}","starred_url":"https://api.github.com/users/cryos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cryos/subscriptions","organizations_url":"https://api.github.com/users/cryos/orgs","repos_url":"https://api.github.com/users/cryos/repos","events_url":"https://api.github.com/users/cryos/events{/privacy}","received_events_url":"https://api.github.com/users/cryos/received_events","type":"User","site_admin":false},"milestone":null,"comments":11,"created_at":"2015-08-01T15:37:40Z","updated_at":"2015-08-13T21:23:42Z","closed_at":null,"body":"I'm writing PKGBUILDs for the different OpenChemistry components (MongoChem is still a WIP):\r\n\r\n* `molequeue`: https://aur4.archlinux.org/molequeue-git.git/\r\n* `avogadrolibs`: https://aur4.archlinux.org/avogadrolibs-git.git/\r\n* `avogadroapp`: https://aur4.archlinux.org/avogadro2-git.git/\r\n\r\nThere aren't any issues during compilation, but it segfaults immediately. GDB reveals:\r\n```\r\n(gdb) backtrace \r\n#0  0x00007fffe764fc34 in ?? () from /usr/lib/libQtGui.so.4\r\n#1  0x00007ffff7dea0ea in call_init.part () from /lib64/ld-linux-x86-64.so.2\r\n#2  0x00007ffff7dea1fb in _dl_init () from /lib64/ld-linux-x86-64.so.2\r\n#3  0x00007ffff7ddbdba in _dl_start_user () from /lib64/ld-linux-x86-64.so.2\r\n#4  0x0000000000000001 in ?? ()\r\n#5  0x00007fffffffe42a in ?? ()\r\n#6  0x0000000000000000 in ?? ()\r\n```\r\nIt looks like both Qt4 and Qt5 versions of the same library are getting linked in:\r\n```\r\n[eric@osmium]$ ldd avogadro2 | grep -i \"qt\"\r\n2:\tlibAvogadroQtOpenGL.so => /usr/lib/libAvogadroQtOpenGL.so (0x00007f7b796a4000)\r\n3:\tlibAvogadroQtPlugins.so => /usr/lib/libAvogadroQtPlugins.so (0x00007f7b79371000)\r\n7:\tlibQt5OpenGL.so.5 => /usr/lib/libQt5OpenGL.so.5 (0x00007f7b78ad9000)\r\n8:\tlibAvogadroQtGui.so => /usr/lib/libAvogadroQtGui.so (0x00007f7b7886a000)\r\n9:\tlibQt5Widgets.so.5 => /usr/lib/libQt5Widgets.so.5 (0x00007f7b77fb6000)\r\n10:\tlibQt5Gui.so.5 => /usr/lib/libQt5Gui.so.5 (0x00007f7b7784a000)\r\n11:\tlibQt5Core.so.5 => /usr/lib/libQt5Core.so.5 (0x00007f7b7715d000)\r\n15:\tlibQtNetwork.so.4 => /usr/lib/libQtNetwork.so.4 (0x00007f7b766fd000)\r\n23:\tlibQt5Concurrent.so.5 => /usr/lib/libQt5Concurrent.so.5 (0x00007f7b749a8000)\r\n26:\tlibQt5Network.so.5 => /usr/lib/libQt5Network.so.5 (0x00007f7b741de000)\r\n28:\tlibvtkGUISupportQtOpenGL-6.1.so.1 => /usr/lib/libvtkGUISupportQtOpenGL-6.1.so.1 (0x00007f7b73c97000)\r\n56:\tlibQtCore.so.4 => /usr/lib/libQtCore.so.4 (0x00007f7b6e438000)\r\n67:\tlibvtkGUISupportQt-6.1.so.1 => /usr/lib/libvtkGUISupportQt-6.1.so.1 (0x00007f7b69f72000)\r\n68:\tlibQtOpenGL.so.4 => /usr/lib/libQtOpenGL.so.4 (0x00007f7b69c6e000)\r\n69:\tlibQtGui.so.4 => /usr/lib/libQtGui.so.4 (0x00007f7b68f35000)\r\n```"},"comment":{"url":"https://api.github.com/repos/OpenChemistry/avogadroapp/issues/comments/130848702","html_url":"https://github.com/OpenChemistry/avogadroapp/issues/21#issuecomment-130848702","issue_url":"https://api.github.com/repos/OpenChemistry/avogadroapp/issues/21","id":130848702,"user":{"login":"berquist","id":727571,"avatar_url":"https://avatars.githubusercontent.com/u/727571?v=3","gravatar_id":"","url":"https://api.github.com/users/berquist","html_url":"https://github.com/berquist","followers_url":"https://api.github.com/users/berquist/followers","following_url":"https://api.github.com/users/berquist/following{/other_user}","gists_url":"https://api.github.com/users/berquist/gists{/gist_id}","starred_url":"https://api.github.com/users/berquist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/berquist/subscriptions","organizations_url":"https://api.github.com/users/berquist/orgs","repos_url":"https://api.github.com/users/berquist/repos","events_url":"https://api.github.com/users/berquist/events{/privacy}","received_events_url":"https://api.github.com/users/berquist/received_events","type":"User","site_admin":false},"created_at":"2015-08-13T21:23:42Z","updated_at":"2015-08-13T21:23:42Z","body":"That fixes it for me as well."}}