{"action":"created","issue":{"url":"https://api.github.com/repos/probonopd/linuxdeployqt/issues/35","repository_url":"https://api.github.com/repos/probonopd/linuxdeployqt","labels_url":"https://api.github.com/repos/probonopd/linuxdeployqt/issues/35/labels{/name}","comments_url":"https://api.github.com/repos/probonopd/linuxdeployqt/issues/35/comments","events_url":"https://api.github.com/repos/probonopd/linuxdeployqt/issues/35/events","html_url":"https://github.com/probonopd/linuxdeployqt/issues/35","id":184628573,"number":35,"title":"libsoftokn3.so issue","user":{"login":"probonopd","id":2480569,"avatar_url":"https://avatars3.githubusercontent.com/u/2480569?v=4","gravatar_id":"","url":"https://api.github.com/users/probonopd","html_url":"https://github.com/probonopd","followers_url":"https://api.github.com/users/probonopd/followers","following_url":"https://api.github.com/users/probonopd/following{/other_user}","gists_url":"https://api.github.com/users/probonopd/gists{/gist_id}","starred_url":"https://api.github.com/users/probonopd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/probonopd/subscriptions","organizations_url":"https://api.github.com/users/probonopd/orgs","repos_url":"https://api.github.com/users/probonopd/repos","events_url":"https://api.github.com/users/probonopd/events{/privacy}","received_events_url":"https://api.github.com/users/probonopd/received_events","type":"User","site_admin":false},"labels":[{"id":437043062,"url":"https://api.github.com/repos/probonopd/linuxdeployqt/labels/bug","name":"bug","color":"ee0701","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2016-10-22T12:49:12Z","updated_at":"2018-04-07T15:41:17Z","closed_at":null,"author_association":"OWNER","body":"When I try to use `-bundle-non-qt-libs` on a working Otter AppDir or try to convert it to an AppImage, Otter fails to run with\n\n```\n[1022/144633:ERROR:nss_util.cc(740)] Error initializing NSS with a persistent database (sql:/home/me/.pki/nssdb): libsoftokn3.so: cannot open shared object file: No such file or directory\n[1022/144633:ERROR:nss_util.cc(211)] Error initializing NSS without a persistent database: NSS error code: -5925\n[1022/144633:FATAL:nss_util.cc(213)] nss_error=-5925, os_error=0\n```\n\nThe reason for this is to be investigated.\n\nWhen I delete `libnss3.so` from the AppDir, then it starts working again.\n"},"comment":{"url":"https://api.github.com/repos/probonopd/linuxdeployqt/issues/comments/379478450","html_url":"https://github.com/probonopd/linuxdeployqt/issues/35#issuecomment-379478450","issue_url":"https://api.github.com/repos/probonopd/linuxdeployqt/issues/35","id":379478450,"user":{"login":"tamlok","id":5763157,"avatar_url":"https://avatars2.githubusercontent.com/u/5763157?v=4","gravatar_id":"","url":"https://api.github.com/users/tamlok","html_url":"https://github.com/tamlok","followers_url":"https://api.github.com/users/tamlok/followers","following_url":"https://api.github.com/users/tamlok/following{/other_user}","gists_url":"https://api.github.com/users/tamlok/gists{/gist_id}","starred_url":"https://api.github.com/users/tamlok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tamlok/subscriptions","organizations_url":"https://api.github.com/users/tamlok/orgs","repos_url":"https://api.github.com/users/tamlok/repos","events_url":"https://api.github.com/users/tamlok/events{/privacy}","received_events_url":"https://api.github.com/users/tamlok/received_events","type":"User","site_admin":false},"created_at":"2018-04-07T15:41:17Z","updated_at":"2018-04-07T15:41:17Z","author_association":"NONE","body":"@probonopd \r\n\r\nHi,\r\n\r\nI also have this problem with VNote. After deleting the `libnss3.so` and `libnssutil3.so` in the extracted AppImage, it could run successfully. Then I change the script in travis CI like this:\r\n\r\n```\r\n# Get linuxdeployqt tool\r\nwget -c \"https://github.com/probonopd/linuxdeployqt/releases/download/continuous/linuxdeployqt-continuous-x86_64.AppImage\"\r\nchmod a+x linuxdeployqt*.AppImage\r\nunset QTDIR; unset QT_PLUGIN_PATH ; unset LD_LIBRARY_PATH\r\n./linuxdeployqt*.AppImage ./dist/usr/share/applications/*.desktop -bundle-non-qt-libs\r\n\r\n# Copy translations\r\ncp /opt/qt59/translations/*_zh_CN.qm ./dist/usr/translations/\r\n\r\n# Package it for the second time.\r\n./linuxdeployqt*.AppImage ./dist/usr/share/applications/*.desktop -appimage\r\n\r\ntree dist/\r\n\r\nls -l *.AppImage\r\n\r\nwget \"https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage\"\r\nchmod a+x appimagetool-x86_64.AppImage\r\n\r\nmv VNote-*.AppImage VNote-x86_64.AppImage\r\nchmod a+x VNote-x86_64.AppImage\r\n./VNote-x86_64.AppImage --appimage-extract\r\nrm VNote-x86_64.AppImage\r\n# Delete libnss3.so libnssutil3.so.\r\nrm ./squashfs-root/usr/lib/libnss3.so ./squashfs-root/usr/lib/libnssutil3.so\r\n\r\n./appimagetool-x86_64.AppImage squashfs-root\r\n\r\nmv VNote-*.AppImage VNote_x86_64_${version}.AppImage\r\n```\r\n\r\nHowever, the re-packaged AppImage lack the `libFcitxQt5DBusAddons.so.1`, which seems to exist in the `squashfs-root`. Append the travis log [here](https://travis-ci.org/tamlok/vnote/jobs/363510946).\r\n\r\nAny idea to remove the `libnss3.so` in the AppImage?\r\n\r\nThanks!"}}
{"actor":{"display_login":"tamlok"}}