Installing Nginx prompts requires a pcre library, which needs to be specified by parameter--with-pcre, and the RPM-QL command to see that the system has Pcre installed, as shown in the following illustration:
When you configure the Nginx option through Configurer, you specify that the Pcre directory is/usr/share/doc/pcre-8.32, and there is no error, but make is an error as shown. The reason for this error is through the--with-pcre need to specify t
As mentioned earlier, I found many external commands on my Mac that have the same name as the Bash internal commands, and in those 24 external commands I found a strange phenomenon: 15 of them were shell scripts, and, oddly enough, they were hard links to the same shell script:
$ find/usr/bin-inum 376183/usr/bin/alias/usr/bin/bg/
The following error occurs when installing mysql: the installation command is: rpm-ivhMySQL-server-5.0.96-1.glibc23.x86_64.rpm.0.96-1.glibc23.x86_64conflictswithfilefrompackagemysql-libs-5.1.61-4.el6.x86_64fileusrsharemysqlcharsetshp8.xmlfrominstallofMySQL
The following error occurs when installing mysql: the installation command is: rpm-ivh MySQL-server-5.0.96-1.glibc23.x86_64.rpm. 0.96-1. glibc23.x86 _ 64 conflicts with file from package mysql-libs-5.1.61-4.el6.x86_64 file/
the success of loading through the php.ini to see, we initially judged on both sides is not using a different php.ini?
Down we'll be in different places output phpinfo () to view the basic information of PHP, sure enough,
Linux Environment:
Configuration File (php.ini) Path =>/etcLoaded Configuration File =>/etc/php.ini
In the Web environment:
Configuration File (php.ini) Path =>/usr/local/php/etcLoaded Configuration File =>/
In the Linux system, there is a very important directory--/usr directory. On the origin of the name of this directory, there are several main online statements:
User's abbreviation
User shareable read-only abbreviation
Unix/user abbreviation for System resources
Abbreviation for Unix/user software resources
Most versions of Linux/USR are currently located in the executable and firs
about how to connect to the library, here only to record some of the problems you encounter
Write makefile
compile-time-C to generate an. o file: followed by-I (indicates the included header file)
- o build executable file at link time:-L (indicates location of library)-L (indicates the name of the library)
There is also a problem referencing the JSON library:There are two folder include and Lib folders under Lib fileThere is a folder JSON in the Include folder, which contains the JSON heade
I wrote a simple hello.c.
#include "stdio.h"
void
Hello (const char * name)
{
printf ("Hello,%s!/n", name);
}
$GCC hello.c
There will be/usr/lib/gcc/x86_64-linux-gnu/4.4.5/. /.. /.. /.. /lib/crt1.o:in function ' _start '
:
(. text+0x20): Undefined reference to ' main '
Collect2:ld returned 1 exit status
Workaround: Just change the Hello function name to main! The best main function name is main
#include "stdio.h"
void
Today in the project, with make command appeared/usr/bin/ld:skipping incompatible ... Problem.
This problem is essentially a problem where the library file version does not correspond to the platform version when the library file is linked.
Solution: Objdump-p LIBMYLIB.A to see the version of the library is 32 or 64, or arm version or. Wait a minute. Analyze it carefully. You'll suddenly be foggy. (My problem is: The compiler chose version 64, but t
Cause: The above problem is usually caused by a script running hive under the bin/directory.
Explanation: assume that the hive source check out to the local hive-trunk directory, and compile the source without specifying the "Target.dir" attribute, if the hive_home variable points to the Hive-trunk directory, $hive_ After the Home/bin is added to the path variable. Execute hive
$ hive
Missing hive execution Jar:/usr/local/hive/lib/hive-exec-*.jar
The first line of the scripting language is to point out that you want the code in your file to run it with what executable program.For example, the first line of the PHP script can be written in the following formats#!/usr/bin/php#!/usr/bin/env PHP#!/usr/bin/env-s-p/usr/local/bin:/
./filezilla:/usr/lib/libstdc++.so.6:version ' glibcxx_3.4.15 ' not found (required by./filezilla)If the 64-bit system error message is as follows:./filezilla:/usr/lib64/libstdc++.so.6:version ' glibcxx_3.4.15 ' not found (required by./filezilla)The reason is that there is no glibcxx_3.4.15 version, or a higher version.Enter the command to query the results:[Root@localhost ~]# strings/
ERROR: Unable to globalize '/usr/local/NONE/etc/php-fpm.d/*. conf' troubleshooting, globalizephp-fpm.d
Today, we continue to die, and we are stuck in php7 configuration.
As shown in the preceding example, after various extensions are installed yesterday, decompress the php7 compressed file to/usr/local /.
Then configure the config extension:
./Configure -- prefix =/usr
This article is loaded to http://www.fwolf.com/blog/post/292 and thanks to bloggers for sharing their personal experience.
This seems to be upgraded to edgy after the problem, has been good, and now start vncserver after the connection is not: VNC Viewer version 3.3.7–built June 4 2006 10:04:48 Copyright (C) 2002-200 3 RealVNC Ltd. Copyright (C) 1994-2000 att Laboratories Cambridge. Http://www.realvnc.com for information on VNC. Vncviewer:ConnectToTcpAddr:connect:Connection refused unable to con
Original URL: http://eminzhang.blog.51cto.com/5292425/1285705/usr/bin/ld:cannot find-lxxx Problem Summary Linux The following error is often found in compiled applications:/usr/bin/ld:cannot find-lxxx means that the compilation process cannot find the corresponding library file. Where-lxxx represents the link library file libxxx.so. Note: Sometimes, because the library file is generated temporarily by t
This article is from: http://blog.chinaunix.net/uid-354915-id-3573647.html
Today compiled program encountered:/USR/LIB64/GCC/X86_64-SUSE-LINUX/4.3/. /.. /.. /.. /x86_64-suse-linux/bin/ld:cannot find-lxml2 Online Inquiry, recorded as follows:Solve the problem of/usr/bin/ld:cannot find-lxxxProblem:The source code that compiles the application or LIB in the Linux environment often appears with the following e
/Usr/local/lib/libneon. A (ne_xml.o) (. Text + 0x53e): In function 'ne _ xml_create ':/Root/neon-0.25.5/src/ne_xml.c: 438: Undefined reference to 'xml _ parsercreate'/Usr/local/lib/libneon. A (ne_xml.o )(. text + 0x559):/root/neon-0.25.5/src/ne_xml.c: 442: Undefined reference to 'xml _ setelementhandler'/Usr/local/lib/libneon. A (ne_xml.o )(. text + 0x568):/root/
These two days have been plagued by the following mistakes:
Ap13:lb-m Ccmscell uptime ld.so.1:uname:fatal:/usr/lib/secure/0@0.so.1:open failed:no file or directory such 6]: 4412 killed ld.so.1:uptime:fatal:/usr/lib/secure/0@0.so.1:open failed:no such file or directory
LB is a script that invokes Rsh, Ccmscell is a server pool,uname is invoked in lb.
Careful study of n-time related scripts, Google the N-Tim
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.