lib

Can't install jdk on Fedora with yum nor with rpm

匿名 (未验证) 提交于 2019-12-03 02:28:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: Help! I can't figure out how to install a jdk! [/usr/lib/jvm]$ su -c "yum install java-1.7.0-openjdk-devel" Loaded plugins: langpacks, presto, refresh-packagekit No package java-1.7.0-openjdk-devel available. Error: Nothing to do [/usr/lib/jvm]$ su -c "yum install java-1.7.0-openjdk" Loaded plugins: langpacks, presto, refresh-packagekit No package java-1.7.0-openjdk available. Error: Nothing to do [/usr/lib/jvm]$ su -c "yum install java-1.6.0-openjdk-devel" Loaded plugins: langpacks, presto, refresh-packagekit No package java-1.6.0-openjdk

android crash /system/lib/libhwui.so

匿名 (未验证) 提交于 2019-12-03 02:26:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: there is a crash i have got sometimes , it seems a jni crash , but my application have not any jni code . it's is a graphic application , and will load some pictures . could anyone told me how to find the problem . what's the libhwui.so . I/DEBUG ( 141): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 000000e8 I/DEBUG ( 141): r0 ffffffff r1 000000e8 r2 00000000 r3 00000000 I/DEBUG ( 141): r4 ffffffff r5 000000e8 r6 018fea18 r7 018fe9c8 I/DEBUG ( 141): r8 40baa190 r9 018fea40 10 0000001c fp 0000001c I/DEBUG ( 141): ip 40bab590 sp

dlopen() failed to load a library: cairo / cairo-2

匿名 (未验证) 提交于 2019-12-03 02:24:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: This is my view: from django.conf import settings from django.http import HttpResponse from django.template.loader import render_to_string import weasyprint @staff_member_required def admin_order_pdf(request, order_id): order = get_object_or_404(Order, id=order_id) html = render_to_string('orders/order/pdf.html', {'order': order}) response = HttpResponse(content_type='application/pdf') response['Content-Disposition'] = 'filename="order_{}.pdf"'.format(order.id) weasyprint.HTML(string=html).write_pdf(response, stylesheets=[weasyprint.CSS

Linking error with `libopencv_highgui.so` under Ubuntu 14.04, strange result with `libtiff.so.5`

匿名 (未验证) 提交于 2019-12-03 02:24:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: Problem I'm compiling the deep learning library Caffe in Ubuntu 14.04(64 bit). OpenCV( Version: 2.4.8+dfsg1-2ubuntu1 ) is installed from ubuntu packages server with : sudo apt-get install libopencv-dev Compile Caffe with CMake 2.8. Linking error: Linking CXX executable caffe- /usr/lib/x86_64-linux-gnu/libopencv_highgui.so.2.4.8: undefined reference to `TIFFOpen@LIBTIFF_4.0' Infomation It seems some symbols of TIFF library were not found. I made some effort to find the reason(without luck). Here's some infomation about the libraries. TIFF

dyld not loaded Reason: image not found libopencv_core.2.4.dylib

匿名 (未验证) 提交于 2019-12-03 02:20:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I'm still quite new to Objective C and Xcode, but I just finished a small app that uses the openCV libopencv_core.2.4.2.dylib . When I went to open the final built app on another machine , OS X threw me this error: Dyld Error Message: Library not loaded: */libopencv_core.2.4.dylib Referenced from: /Users/USER/Desktop/my app.app/Contents/MacOS/my app Reason: image not found Why is my app looking for 2.4 instead of 2.4.2 here? What I already checked: I added a new build phase -> so that libopencv_core.2.4.2.dylib is copied to the app package

Tengine2.3+openssl1.1.1支持TLS1.3

你离开我真会死。 提交于 2019-12-03 02:18:30
安装zlib apt-get install zlib* 安装pcre 解压pcre包 ./configure --prefix=/usr/local/pcre make && make install echo "/usr/local/pcre/lib/" >> /etc/ld.so.conf ldconfig -v|grep pcre 安装openssl 1、查看openssl的库文件 ldconfig -v|grep openssl 2、编译安装 ./config --prefix=/usr/local/openssl make && make install 3、查看依赖文件 ldd /usr/bin/openssl echo "/usr/local/openssl/lib/" >> /etc/ld.so.conf cat /etc/ld.so.conf 4、备份文件替换变量 mv /usr/bin/openssl /usr/bin/openssl.old ln -s /usr/local/openssl/bin/openssl /usr/bin/openssl 5、查看版本 最后执行刷新: ldconfig -v|grep openssl openssl version 安装Tengine ./configure --prefix=/usr/local/tengine -

How to exclude files from distZip using Gradle?

匿名 (未验证) 提交于 2019-12-03 02:18:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I am using Gradle 1.3 and have it working for a small project. It creates the .JAR files exactly as I want them to. However, when I have it create a ZIP file using distZip, all JAR files are being included. The contents of my build.gradle file: apply plugin: 'java' apply plugin: 'maven' apply plugin: 'application' group = 'com.some.project' version = '1.0.2.0' description = 'Update Server' mainClassName = 'com.some.project.updateserver.client.Client' defaultTasks 'compileJava', 'jar' [compileJava, compileTestJava]*.options*.encoding = 'UTF-8

No supported color terminal library Python/Jupyter

匿名 (未验证) 提交于 2019-12-03 02:18:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I'm trying to start a Jupyter Notebook server on my Windows 7 machine, but I keep getting this odd, seemingly unsearchable error after typing: jupyter notebook into cmd.exe C:\Users\zfleeman>jupyter notebook Traceback (most recent call last): File "c:\python27\lib\runpy.py", line 174, in _run_module_as_main "__main__", fname, loader, pkg_name) File "c:\python27\lib\runpy.py", line 72, in _run_code exec code in run_globals File "C:\Python27\Scripts\jupyter-notebook.EXE\__main__.py", line 9, in <modul e> File "c:\python27\lib\site-packages

import .css file into .less file

匿名 (未验证) 提交于 2019-12-03 02:16:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: Can you import .css files into .less files...? I'm pretty familiar with less and use it for all my development. I regularly use a structure as follows: @import "normalize"; //styles here @import "mixins"; @import "media-queries"; @import "print"; All imports are other .less files and all works as it should. My current issue is this: I want to import a .css file into .less that references styles used in the .css file as follows: @import "../style.css"; .small { font-size:60%; .type; } // other styles here The .css file contains a class called

warning: constant ::Fixnum is deprecated When generating new model

匿名 (未验证) 提交于 2019-12-03 02:14:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I've tried to find some solution for this, but I really couldn't find anything related with the errors that is appearing to me when I run the rails command: rails generate model Book title:string summary:text isbn:string /home/vmu/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.0.1/lib/active_support/xml_mini.rb:51: warning: constant ::Fixnum is deprecated /home/vmu/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.0.1/lib/active_support/xml_mini.rb:52: warning: constant ::Bignum is deprecated /home/vmu/.rbenv