ubuntu-14.04

Porting App from Qt 4.8 to Qt 5.3 getting “ DSO missing from command line”

偶尔善良 提交于 2020-01-05 09:34:43
问题 I built this project on qt 4.8 ubuntu 12.04(working) and now building it on qt 5.3 ubuntu 14.04 . I am getting following error while compiling error: mainwindow.o: undefined reference to symbol '_ZN12QtConcurrent16ThreadEngineBase16setProgressValueEi' error: error adding symbols: DSO missing from command line /usr/lib/x86_64-linux-gnu/libQtCore.so.4: .pro file QT += serialport QT += widgets QT += network QT += core ... ... LIBS += "/usr/lib/x86_64-linux-gnu/libqjson.so.0" no Idea what to do .

Porting App from Qt 4.8 to Qt 5.3 getting “ DSO missing from command line”

时光总嘲笑我的痴心妄想 提交于 2020-01-05 09:31:45
问题 I built this project on qt 4.8 ubuntu 12.04(working) and now building it on qt 5.3 ubuntu 14.04 . I am getting following error while compiling error: mainwindow.o: undefined reference to symbol '_ZN12QtConcurrent16ThreadEngineBase16setProgressValueEi' error: error adding symbols: DSO missing from command line /usr/lib/x86_64-linux-gnu/libQtCore.so.4: .pro file QT += serialport QT += widgets QT += network QT += core ... ... LIBS += "/usr/lib/x86_64-linux-gnu/libqjson.so.0" no Idea what to do .

Rbenv permission denied issue

一个人想着一个人 提交于 2020-01-04 04:21:06
问题 I have trouble getting my Rails app running after I deployed this to my DO droplet. I deployed (and installed everything including rbenv ) following this guide. Rbenv seems to be installed properly but app is not running and nginx error log says " cannot execute /root/.rbenv/shims/ruby permission denied (13) " I can not get the sense of this error, hope anyone can help with that. 回答1: Looks like rbenv's installed under root. It should probably be installed under your (or your app user's) home

hadoop namenode not starting/formatting on Ubuntu

别说谁变了你拦得住时间么 提交于 2020-01-04 03:17:14
问题 am trying to set up a hadoop instance on Ubuntu. The namenode is not starting up. When i do jps command I can see all but namenode . Here is my hdfs-site.xml file. <configuration> <property> <name>dfs.datanode.data.dir</name> <value>/home/ac/hadoop/dfs</value> </property> <property> <name>dfs.namenode.name.dir</name> <value>/home/ac/hadoop/dfs</value> </property> <property> <name>dfs.replication</name> <value>1</value> </property> </configuration> and heres my core-site.xml <configuration>

GIT shared over HTTPS git-receive-pack fails

只愿长相守 提交于 2020-01-02 21:48:19
问题 I'm trying to configure my own private git server to make it available over HTTP, but I'm stuck and I need some help. I reviewed several tutorials on how to serve a git repository over HTTP and I think almost all the pieces are in the right places as currently I'm able to clone the remote repository from several clients on different workstations and I can also browse the repositories with the gitweb application. From the clients I'm able to run the git commit command, but I'm not able to push

Unable to compile “hello world” program with Swift on Ubuntu 14.04

本小妞迷上赌 提交于 2020-01-01 17:26:25
问题 Using Ubuntu 14.04 Distributor ID: Ubuntu Description: Ubuntu 14.04.3 LTS Release: 14.04 Codename: trusty and trying to compile a hello world Swift program. print("Hello World!") I have verified the download: gpg --verify swift-2.2-SNAPSHOT-2015-12-10-a-ubuntu14.04.tar.gz.sig gpg: Signature made Thu 10 Dec 2015 07:17:37 PM PST using RSA key ID 412B37AD gpg: Good signature from "Swift Automatic Signing Key #1 <swift-infrastructure@swift.org>" gpg: WARNING: This key is not certified with a

Unable to compile “hello world” program with Swift on Ubuntu 14.04

╄→гoц情女王★ 提交于 2020-01-01 17:26:14
问题 Using Ubuntu 14.04 Distributor ID: Ubuntu Description: Ubuntu 14.04.3 LTS Release: 14.04 Codename: trusty and trying to compile a hello world Swift program. print("Hello World!") I have verified the download: gpg --verify swift-2.2-SNAPSHOT-2015-12-10-a-ubuntu14.04.tar.gz.sig gpg: Signature made Thu 10 Dec 2015 07:17:37 PM PST using RSA key ID 412B37AD gpg: Good signature from "Swift Automatic Signing Key #1 <swift-infrastructure@swift.org>" gpg: WARNING: This key is not certified with a

Unicorn service upstart script throws “-su: bundle: command not found”

眉间皱痕 提交于 2020-01-01 14:36:09
问题 I recently created a VPS on DigitalOcean to host a rails app. I followed their guide to setup Unicorn with my application. https://www.digitalocean.com/community/tutorials/how-to-deploy-a-rails-app-with-unicorn-and-nginx-on-ubuntu-14-04 A problem occurred when I ran sudo service unicorn_appxyz start . The error given was -su: bundle: command not found I traced the init.d script and pasted the evaluated server start up command in terminal and it works fine when executed under the user joe (the

Unicorn service upstart script throws “-su: bundle: command not found”

偶尔善良 提交于 2020-01-01 14:36:09
问题 I recently created a VPS on DigitalOcean to host a rails app. I followed their guide to setup Unicorn with my application. https://www.digitalocean.com/community/tutorials/how-to-deploy-a-rails-app-with-unicorn-and-nginx-on-ubuntu-14-04 A problem occurred when I ran sudo service unicorn_appxyz start . The error given was -su: bundle: command not found I traced the init.d script and pasted the evaluated server start up command in terminal and it works fine when executed under the user joe (the

Installing R Packages Error in readRDS(file) : error reading from connection

这一生的挚爱 提交于 2020-01-01 07:53:41
问题 Whenever I try to install any package in R on Ubuntu 14.04, I'm getting the following error: Error in readRDS(file) : error reading from connection I already tried the methods given here but could not solve the problem. 回答1: 1- Install the latest version of R form the CRAN and try to install a package. 2- If it is possible check it with another user account. 3- Try to install the R package locally. 4- If there is an RDS file created by the old version of R you may have another sort of problem