ubuntu-14.04

PHP Startup: Unable to load dynamic library `curl.so` Ubuntu

牧云@^-^@ 提交于 2019-12-01 15:07:35
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20131226/curl.so' - /usr/lib/php/20131226/curl.so: undefined symbol: zend_unset_property in Unknown on line 0 I am using Ubuntu 14.04 LTS and PHP v5.6 There are other versions in same machine php5 and php7 but php5.6 has been enabled. I tried to install cURL by sudo apt-get install php5.6-curl Now I am getting Unable to load dynamic library curl.so After running php -i | grep ini I get the following root@ubuntu:/etc/php/5.6/apache2# php -i | grep ini PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php

How do I register a new NuGet package source with dotnet CLI on Ubuntu 14.04?

﹥>﹥吖頭↗ 提交于 2019-12-01 15:03:34
I am running .NET Core 1.1.0 on Ubuntu 14.04, with the goal of hosting my Web APIs in Docker on Ubuntu. I want to build my packages on Ubuntu, but some of the NuGet references are hosted on an internal NuGet repository (Artifactory). This works fine in VS2015 on Windows after I add the package source, but when I run: dotnet restore on Ubuntu, the packages hosted on the public NuGet repo download fine, but those on Artifactory fail: error: Unable to resolve 'Mercury.BaseModel (>= 1.1.0)' for '.NETCoreApp,Version=v1.1'. I found a NuGet config file at \home\<user>\.nuget\NuGet\NuGet.Config and

Getting “django.core.exceptions.ImproperlyConfigured: GEOS is required and has not been detected.” although GEOS is installed

徘徊边缘 提交于 2019-12-01 14:32:25
问题 I'm running Django 1.8 and Python 3.4 on Ubuntu 14.04 LTS . Just recently, my Django app has been reporting that GEOS is not present. GEOS is installed and libgeos_c.so is where it's supposed to be ( /usr/lib/ ). My code seems fine. It is the source of a docker image which still works. This seems to indicate an os/incompatibility issue. Any help would be much appreciated. The full traceback is Traceback (most recent call last): File "<path/to/my/homedir>/pycharm-4.5.1/helpers/pydev/pydevd.py"

How do I go about installing ColdFusion 11 Trial on an Ubuntu 14.04?

╄→尐↘猪︶ㄣ 提交于 2019-12-01 13:36:16
问题 I want to try changing my development environment from Windows 8 to Ubuntu so I would like to know if it is possible to install CF11 Trial on an Ubuntu? It will be my first time working with Linux. I already know how to install Postgre 9.3 and pgAdmin. I'm clueless with CF though. Can anyone help me? 回答1: Ubuntu 13.04 and 13.10 are supported with ColdFusion 11. Here is the list of supported environments. You can download CF11 here. For installation instructions, see: Installing the Server

OpenCV linking problems with ROS

落爺英雄遲暮 提交于 2019-12-01 11:21:31
I'm trying to compile this project (following the instructions given). When building it with rosmake , I get a bunch of undefined reference to cv::String::deallocate() and undefined reference to cv::String::allocate(unsigned long) . I find curious that I'm getting an error just in those functions while the rest of the OpenCV functions seem to be working properly. I know this happens because the linker can't find the objects where these functions were compiled to, but I'm kind of new to the ROS build system and can't find what's wrong. I've tried using the CMakeLists.txt file provided, and also

OpenCV linking problems with ROS

懵懂的女人 提交于 2019-12-01 09:24:44
问题 I'm trying to compile this project (following the instructions given). When building it with rosmake , I get a bunch of undefined reference to cv::String::deallocate() and undefined reference to cv::String::allocate(unsigned long) . I find curious that I'm getting an error just in those functions while the rest of the OpenCV functions seem to be working properly. I know this happens because the linker can't find the objects where these functions were compiled to, but I'm kind of new to the

How to make an animated bash shell prompt for the terminal?

﹥>﹥吖頭↗ 提交于 2019-12-01 08:45:08
I want to make an animated curser prompt in the terminal(Ubuntu 14.04), so i make this script: while [ : ] do echo -ne '|\r' sleep 0.3 echo -ne '/\r' sleep 0.3 echo -ne '一\r' sleep 0.3 echo -ne '\\ \r' sleep 0.3 echo -ne '|\r' sleep 0.3 echo -ne '$\r' sleep 0.3 done But when i put it in the .bashrc ps1 ~/animated-prompt.sh & it make a text distortion and every thing i write is overridden by the \r character. so Is there anyway to make this work ? (IDK, like putting the script to another process thread other than the one that the terminal is working on) save and restore cursor position instead

wkhtmltopdf and chinese characters

元气小坏坏 提交于 2019-12-01 06:03:42
Trying to generate a PDF with wkhtmltopdf but it gives me a lot of trouble displaying all the characters. Some of characters work - e.g. when printing "Invoice No (付款编号)" Chinese character no 1, 2 and 4 are correctly printed but character no 3 just displays an empty space in the PDF. "Customer no (客户编号)" Chinese character no 1 and 4 are correctly displayed but character no 2 and 3 aren't displayed in the PDF. "Total (总额)" none of the Chinese characters are displayed in the generated PDF. I'm on a Ubuntu 14.04 desktop system with wkhtmltopdf version "wkhtmltopdf 0.12.1 (with patched qt)". I

How to make an animated bash shell prompt for the terminal?

假装没事ソ 提交于 2019-12-01 05:50:27
问题 I want to make an animated curser prompt in the terminal(Ubuntu 14.04), so i make this script: while [ : ] do echo -ne '|\r' sleep 0.3 echo -ne '/\r' sleep 0.3 echo -ne '一\r' sleep 0.3 echo -ne '\\ \r' sleep 0.3 echo -ne '|\r' sleep 0.3 echo -ne '$\r' sleep 0.3 done But when i put it in the .bashrc ps1 ~/animated-prompt.sh & it make a text distortion and every thing i write is overridden by the \r character. so Is there anyway to make this work ? (IDK, like putting the script to another

How can I install netcdf4-python to ubuntu14.04?

人盡茶涼 提交于 2019-12-01 04:39:54
问题 I would like to install netcdf4-python to my Ubuntu14.04. The libhdf5-dev_1.8.11_5ubuntu7_amd64.deb and libnetcdf-4.1.3-7ubuntu2_amd64.deb are installed. I downloaded netcdf4-1.1.8.tar.gz from https://pypi.python.org/pypi/netCDF4#downloads I tried configure it by ./configure --enable-netcdf-4 –with-hdf5=/usr/include/ --enable-share –prefix=/usr but I got the following message: bash: ./configure: No such file or directory I do not know how I can install netcdf4-python. I would appreciated if