Original URL: http://blog.csdn.net/mzwang123/article/details/6702889Problem:Compiling the source code for the application or LIB in the Linux environment often comes with the following error message:
/usr/bin/ld:cannot find-lxxx
These messages will have different results as you compile different types of source code, such as:
/usr/bin/ld:cannot FIND-LC
/
problem: Compiling the source code for the application or LIB in the Linux environment often comes with the following error message:/usr/bin/ld:cannot Find-LXXX These messages will have different results as you compile different types of source code, such as:/usr/bin/ld:cannot Find-LC/usr/bin/ld:cannot Find-Lltdl/usr/b
Linux under Build code, to do-lssl,-lcrypto link, a similar error appears:
/usr/bin/ld:cannot Find-lcrypto
/usr/bin/ld:cannot Find-lssl
The reason is no libssl.so found
Yum Info OpenSSL, found that the OpenSSL 1.0.0 has been installed
ll/usr/lib64/libssl*, get
-rwxr-xr-x. 1 root root 242112 Jul 2012/usr/lib64/l
What are the differences between opt and usr in linux partition?-General Linux technology-Linux technology and application information. For more information, see the following. 1. Why partition/boot,/var,/usr, and so on when linux is installed for partitioning, if you do not separate/AND/home, will the/var and/usr folders not exist in the/partition after installa
Linux under compile defend you must specify a valid--WITH-APXS pathThis is due to the fact that Apache was installed without installing Prel.Workaround:[[email protected] bin]# VI/USR/LOCAL/APACHE/BIN/APXS Modify the first line below#!/usr/bin/perl-w## Licensed to the Apache software Foundation (ASF) under one or more# Contributor license agreements. See the NOTICE file distributed with# This work for addit
Title
Experiment, found useless, or can only be run with the python+ file name.
Or did I open the wrong way? I entered the folder in PowerShell and then entered the file name directly, prompting Add. \ after the file is opened directly, not in PowerShell running.
Reply content:You can use the shell in the Cygwin, if you really need it.
Or use the method here Unix-use Shebang/hashbang in Windows Command Prompt
。
Google search "Windows Shebang" has the truth. Is. You can run it in git bash. Power
Command/develedevelopment/platforms/iphonesimulator. Platform/developer/usr/bin/llvm-gcc-4.2 failed with exit code 1
The reason is as follows: (1) check whether the file is referenced by each other. For example, a has improt B. # Improt A is in h B. H (2) repeatedly defines two identical files, that is, there are two A in the project. H (3) mistakenly
Class Name. M
Class Name. H
Solution: (Others) enter in the terminal:
Sudo ln-S/developer/plat
After an experiment, I found that it was useless. I still can only run it with python + file names. Or how can I open it? In powershell, I enter the folder where the file is located and enter the file name directly. After the file is added, the file is opened directly instead of running in powershell. Example
After an experiment, I found it useless. I still can only run it with python + file names.
Or how can I open it? In powershell, I enter the folder where the file is located, and enter the f
background:The management of the Yum package is written in Python with a corresponding Python versionthe errors encountered are as follows:File "/usr/bin/yum", Lineexcept Keyboardinterrupt, E:by reading the wrong can be learned to use the Python2 syntax, so understand the current Yum use of Python2, because I installed the Python3, and Python3 set as the default version, so the syntax problemWorkaround:Use python2.6 yum install xxx to use the yum comm
This is a created
article in which the information may have evolved or changed.
The installation path is/usr/local
First, Ubuntu configuration Nodejs Environment
export NODE_HOME=/usr/local/nodeexport NODE_PATH=$NODE_HOME/lib/node_modulesexport PATH=$PATH:$NODE_HOME/bin
Note:
NPM installation error, switch to CNPN: npm install-g cnpm--registry=https://registry.npm.taobao.org
Second, Linux with
. Check the version number again, it is not consistent and requires a reboot.[Root@dbmz dbmz]# uname-r2.6.35.6-45.fc14.i686[Root@dbmz dbmz]# rpm-q kernel kernel-devel-2.6.35.14-106.fc14.i6866. After rebooting, the version number is the same.[Root@dbmz dbmz]# reboot[Root@dbmz dbmz]# uname-r kernel-devel-2.6.35.14-106.fc14.i686[Root@dbmz dbmz]# rpm-q kernel kernel-devel-2.6.35.14-106.fc14.i6867. Use the LS command to view the path to the header of the C compiler that matches kernells-d/
packages. The official website only offered this method, and found that the method offered on its GitHub homepage was: curl -L https://npmjs.com/install.sh | sh success.Still not available:npm -vbash: /usr/bin/npm: No such file or directoryA random search, to a variety of solutions to the trial, also did not really solve, that only their own thinking about:
NPM is loaded, so where to go (found)
Direct to installation directory execution
Install pdo_oci. in this step, the following warning appears in usrlocalphpbinphpize: config. m4: 179: warning: AC_CACHE_VAL (pdo_inc_path ,...): suspiciouscache-id, mustcontain_cv_tobecached .... libautoconfgeneral install pdo_oci in this step/usr/local/php/bin/phpize this warning appears
Config. m4: 179: warning: AC_CACHE_VAL (pdo_inc_path,...): suspicious cache-id, must contain _ cv _ to be cached
.../../Lib/autoconf/general. m4: 1974: AC_CACHE_VAL
Install in MavenTo configure the system environment variables:VI + profilem2_home=/usr/local/develop-tools/apache-maven-3.3. 9 export m2_homePATH = $PATH; $M 2_home/ //Just change the delimiter between path and path to: ":"/etc/profile/usr/local/develop-tools/apache-maven-3.3. 9/bin: is a directoryThe operating habits of windows are ingrained, and many video tutorials are based on windows, and it's no surp
In Linux, the/usr/bin directory of the server was accidentally deleted the day before yesterday ~ I have solved the problem today and summarize the solution. System: Red Hat Enterprise Linux Server 6.3 1. First, find the system CD of Red Hat, enter Rescue mode, and copy the missing/usr/bin directory to the system, this ensures that some basic commands are used. For example, scp command 2. Use the tar comman
For some time did not use Pod, suddenly reported a mistake, checked the next, the original is not updated pod,1, update gem:sudo gem update--system2. See if the gem source is up to date: Gem Sources-l3, upgrade Cocoapods:sudo gem install-n/usr/local/bin cocoapods--pre4. View the upgraded Cocoapods version: Pod--versionI was directly updated under, and then can be used, as for the use of no replacement mirror, this I have not tried, the above steps hav
As if the system has been upgraded to Maverick and there is no/usr/include folder, which contains the compilation of C/D + + files, Apple naturally does not think that every person who bought a Mac is developed, so by default remove it, there are two ways to install it:1) Open the terminal and enter:xcode-Select --installThe prompt to install the command-line development tool will pop up, and you can click "Install" to install a separate tool, and/
"The path"/USR/BIN/GCC "isn't valid path to the GCC binary" when installing VMWare tools
Environment: Vmware 8.0+redhat 9.0
Question: When installing VMWare tools, ask GCC installation location, "The path"/USR/BIN/GCC "is not valid path to the GCC binary". The query is installed with GCC, and the display is indeed installed. Using which GCC, the display installation location is
Install Oracle cannot use command/usr/bin/xdpyinfo to automatically check display colors
Install Oracle cannot use command/usr/bin/xdpyinfo to automatically check display colors
With the root user
[Root@dev ~]# Xhost +
It's okay.
When you install Oracle on Linux, you often report the following error: You cannot use the command/usr/bin/xdpyinfo to automatical
Tags: root not save the upd not found/usr nbsp usrThis problem occurs after installation if you have not set it. When you turn on your computer, MySQL will start it on its own. (Click on the MySQL logo at the bottom of System preferences to view it). It should be the latest version of MySQL that does not support previous login commands.Just installed MySQL if input MySQL order will prompt no commod not foundAt this point we need to add MySQL to the sy
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.