Category Archives: How to Fix

error while loading shared libraries: requires glibc 2.5 or later dynamic linker

C development environment under Linux setup process
– install glibc
 
Some software may require that your system’s Glibc be higher than a certain version to work, and if your Glibc is lower than the required version, you will have to upgrade your Glibc in order to run the software. Such as:
Error while loading Shared Libraries: Requires glibc 2.5 or later Dynamic Linker
 
You can look for compiled RPM packages or use source code to upgrade Glibc.
 
RPM package glibc
RPM is relatively easy to install, but the dependency problem is difficult to solve. Give a download address:
http://mirrors.jtlnet.com/centos/5.5/os/i386/CentOS/
$ RPM – the ivh glibc 2.5-49.. I386 RPM
 
But I’m using CentOS 4.8 and it doesn’t seem to be compatible…
error: Failed dependencies:
Glibc-common = 2.5-49 is needed by glibC-2.5-49. I386
glibc > 2.3.4 conflicts with glibc – common – 2.3.4-2.43 el4_8. 3. The i386
 
After the installation is complete, you can check whether you have upgraded:
$ ls -l /lib/libc.so.6
lrwxrwxrwx 1 root root 11 10-08 22:08 /lib/libc.so.6 -> Libc – 2.5. So
 
compile and install glibc
Download the glibc
[root@localhost test]# pwd
/test
[root @ localhost test] # wget http://ftp.gnu.org/gnu/glibc/glibc-2.9.tar.bz2
 
Download the glibc – linuxthreads
[root @ localhost test] # wget http://ftp.gnu.org/gnu/glibc/glibc-linuxthreads-2.5.tar.bz2
 
Unpack the
[root-@localhost test]# tar-jvxf glibc-2.9.tar.bz2
[root @ localhost test] # CD glibc 2.9
[root-@localhost glibc-2.9]# tar-jvxf../glibc – linuxthreads – 2.5. Tar..bz2
 
configuration
[root @ localhost glibc 2.9] # CD..
[root@localhost test]# exportCFLAGS=”-g -O2 -march=i486″
[root@localhost test]# mkdir glibc-build
[root@localhost test]# cd glibc-build
[root@localhost glibc-build]# .. /glibc-2.9/configure –prefix=/usr –disable-profile — enabling -add-ons –with-headers=/usr/include –with-binutils=/usr/bin
 
The installation
[root@localhost glibc-build]# make
[root@localhost glibc-build]# make install
 
Three points should be paid attention to during installation and compilation:
1. To unzip glibC-LinuxThreads into glibc directory.
2. Cannot run configure in glibc’s current directory.
Otherwise, if there is an error: error “Glibc cannot be Compiled without optimization”, please add the optimization switch: [root-@localhost test]# export CFLAGS=” -g-O2-March =i486″

Reproduced in: https://blog.51cto.com/rockhooray/787500

Error 2738. Could not access VBScript run time for custom action.

This error literally means that the VBScript runtime cannot be accessed. This error is common during the installation or uninstallation of various applications under Windows.
The installation/uninstallation of some applications USES VBScript as a procedure script, and the operation of VBScript depends on its runtime environment.
The solution is simple:
1. Make sure you have vbscript.DLL on your machine.
If so, skip this step. If not, you can make a copy from another Windows system that has the same version installed.
For 64-bit Windows, vbscript.dll appears in two paths, namely:
c:\windows\system32\
c:\windows\syswow64\
What’s missing, what’s missing.
2. Manually register vbscript.DLL components in the console using the regSVR32 command.
After entering, a window will pop up saying “DllRegisterServer has succeeded in vbscript.dll”, indicating that the registration was successful.
Basically, at this point, this error will be resolved.
Similarly, Error 2739 (meaning that the JavaScript runtime cannot be accessed, which corresponds to a jscript.dll file) can also be handled in this way.
There are also articles on the web where the solution is to start with a registry, to look up a particular registry key and include some risky actions such as deletion. The personal understanding is to determine whether the relevant components have been registered correctly. For general users, the individual does not recommend this approach, may not solve the problem, but also introduce other troubles.
It is important to note that many applications to install/uninstall program when encounter this problem, only gives an error code, or add a such as “internal error”, make people confused about the prefix, it is the mistake of Windows, but to mislead the user thought is to install/uninstall the program itself.

Error inflating class fragment error when loading custom fragment with fragment (valid)

Most of the ways that this error occurs online are
1. Check fragment package name, support.v4 is not the same as normal
Check your activity. If you are using a v4 fragment, you must inherit FragmentActivity (v4), or you can use CompatActivity(V7).
3. Static load fragment must give id
There may also be some other logic errors, such as whether the oncreateview fragment has loaded the correct layout, whether the parse is correct, whether the return is correct, etc.

If the above operation can not solve the error, then there is only one way, dynamic loading, it seems that the V4 package fragment does not support static loading, the specific reason has not been found, try dynamic loading can be used normally
V4 package dynamic loading: getSupportFragmentManager (). The beginTransaction (). The replace (layoutId, fragments, the tag). The commit ();
Non-v4 packages can load statically and dynamically.

Error: connect econnreused 127.0.0.1:7890 in postman

Description of the problem: I checked Consle and found Postman had been frantically trying to link to port 7890, which I didn’t use. Could not send request.
Solution: 1. I installed Postman on my computer and then used the same service port. Check conSLE and find no connection to local port 7890. The two Settings were compared and found the same.
2. However, I always thought it was the problem of setting. Later, I tried to remove the check of setting- proxy-use the system Proxy
 
I guess the local proxy set the pot.

Error 2104 Silverlight Could Not download the Silverlight Application

There are a number of online fixes for Error 2104, mostly because IIS doesn’t support Silverlight’s MIME type, but usually these don’t solve the problem. I hope you found this article helpful by listing how to fix the 2104 errors you encountered.
Recently, I have been working on a Silverlight + ASP.NET project. After the adoption of Sprint2, I found that my solution could not load Silverlight applications properly after Branch introduced the new Sprint3. The display error is:

Line: 56
Error: Unhandled Error in Silverlight Application
Code: 2104
Category: InitializeError
Message: Could not download the Silverlight Application.check Web Server Settings
It’s strange that the same Solution loaded and ran well the last time. Check the MIME type Settings for IIS following the online prompts and find definitions for.xAP,.xAML, and.xBAP. So why is that?I stumbled upon the fact that in Silverlight Web projects, the default location for the compiled.xAP ClientBin directory is empty, which means there are no source objects needed for the Siliverlight control. Suddenly, there would be an error initializing Silverlight objects without a.xAP file.
Solution: Right-click a Web Project and select Project Denpendents, and in the dialog that opens, place the Silverlight Project as a dependent on the Web Project, so that each time it is compiled, the Silverlight Project is first compiled and the.xAP file is copied to the Web Project’s ClientBin(default) directory:


Of course, for some environments that haven’t run Silverlight projects, try adding MIME types first.

Talking about the errors encountered in installing MySQL ODBC (error 1918)

Today, when I was doing the database configuration of mysql with the packaging tool, I found that the target machine was always reporting an error when installing ODBC driver.
Error notification: Error 1918. Error driver MySQL ODBC5.3 ANSI driver,ODBC Error 13: unable to load the installation routines of MySQL ODBC5.3 ANSI driver ODBC driver,
Because there is a system error code 126: The specified module cannot be found.
The error report figure is as follows:

This error is very confusing, I have been thinking that it is a permission problem, checked for a long time, finally, after searching, found that the VC2010 library has not been installed…
After installing the libraries for the corresponding system version, install the ODBC driver again and you are ready to install correctly.
The official download address of the VC2010 library of the corresponding system is attached:
Microsoft Visual C++ 2010 redistributable component package (x64)
Microsoft Visual C++ 2010 redistributable component package (x86)

PS: MYSQL officially provides the command line version of the ODBC driver installation, this version is very strange, if you are a 64-bit system, after the installation of the 32-bit version of the VC2010 library, use the green version of the installation, in the system ODBC inside the driver column to see is no version, release company driver, but still can be used.
This is not recommended, but use the corresponding version of the library to install.

Cannot find module ‘lodash’

The scenarios in which this problem occurs vary, but the solutions are basically the same. This article takes lodash module as an example

    if Cannot find module lodash appears after the pull code is run, usually someone else USES a plug-in lodash, but you do not have it in your local environment, you can directly go to the package. Json to check if there is lodash, if there is, that proves that you do not install the lodash, use CNPM install to install it. Json package.json not found, Cannot find module lodash, global search under the file lodash, if the file is not used, then delete node_module, re-use CNPM install can be installed; Json . Just ask the relevant person to submit it, and then refer to step 1. Json, node_module package-lock. Use NPM cache clean --force to clear the cache. Then use NPM install to install.

Json copy a copy of packing-lock-. jsoncopy a copy of packing-lock. jsoncopy a copy of packing-lock. json copy a copy of packing-lock-. (Of course, if the file is u update status, then don't bother, check the update content, and then submit it)

Solution to msxml3.dll error ‘800c0008’ the system cannot locate the resource specified

msxml3.dll ?펳 ‘800 c0005’

The system always locate The resource specified.

/plugins. Asp??А 165

this is usually used when collecting information or statically updating a web page with XMLHTTP, and I’ve used similar errors before

set objXmlHttp = server.createobject (” microsoft.xmlhttp “) ‘is generally used in versions below msxml2.6

‘ set objXmlHttp = server.createobject (” msxml2.xmlhttp “) ‘supported by msxml3.dll+

is used instead of
, but now every error is reported.

has searched all the technical forums and search engines I know on the Internet, and there may be a variety of situations that could cause such a problem. Here is a summary:

(a) that is the most basic, your server does not support XMLHTTP or component version low, you need to download the corresponding component. This is not required by the average server, and XMLHTTP is supported in most cases, so this is a rare case.

(2) msxml3.dll file may be corrupted or the file is not authorized enough (this case is less likely), if the file is corrupted, you can download the corresponding system environment’s msxml3.dll file to replace (2003 system seems to be under c:// Windows /system32), need to close the corresponding service such as iis and so on to overwrite.

(three) fireproof or anti-virus software has disabled the corresponding port, the specific how to set it depends on different software, you can try to close the firewall or anti-virus software and then test to determine whether it is the problem.

(4) try re-registering the component. Start & gt; > Run: RegsvR32 MSxml3.DLL

(5) DNS resolution error, check your network Settings or correct DNS access

(6) check your IP filter Settings (this is not very clear)

(7) resource failure of the other party. For example, when collecting some information, the other party does not have the error that leads to program termination, which may also be the case. This error occurs when the XMLHTTP component’s Open method is called, followed by the Send method. An 8000005 error occurs when the URL parameter of the open method is not accessible. And if such an error occurs, the application terminates and cannot continue. Most programs are written like this:

Function functionName(pararm …)

Dim Http

= Set Http Server. CreateObject (” MSXML2. XMLHTTP. 4.0 “)

With Http

.open “GET”,HttpUrl,False

.Send

End With

If Http.Readystate< > 4 then

Set Http=Nothing

……

Exit function

End if

End Function

most programs use the XMLHTTP Readystate property to determine the return status from the server. This is not always the case, and many times using the ReadyState property does not actually detect errors in the program flow. When an error is encountered, the program will still be terminated. In fact, modify the above code, it is possible to achieve the process of skipping the execution of the program encountered errors, so that the program continues to run. The modified code is as follows:

Function functionName(pararm …)

Dim Http

= Set Http Server. CreateObject (” MSXML2. XMLHTTP. 4.0 “)

With Http

.open “GET”,HttpUrl,False

.Send

End With

On Error Resume Next

If Http.Status< > 200 then

Set Http=Nothing

……

Exit function

End if

End Function
When the
Send method produces an error, the ReadyState value may be 4, but the Status value must not be 200. Well, I’ve tracked ReadyState and Status’s worth to previous results many times. There may be mistakes. I haven’t found them so far.

hope the above program solution can help you!! If you have a better solution, please let me know.

, which I illustrate with msxml2.xmlhttp.4.0, is also suitable for other versions of the XMLHTTP component. To check which versions of the XMLHTTP component you have installed on your system, look under HKEY_CLASSES_ROOT in the registry.

(8) go to the server and set your IE security options (try setting the level to medium or low). Just add the domain name you want in the trusted website.

(9) I have tried all of the above methods after looking at them, but none of them worked out. So I went to Microsoft and downloaded MSXML4.0 Service Pack 2 (Microsoft XML Core Services) and Hotfix for MSXML4.0 Service Pack 2 – KB832414 – Simplified Chinese (KB832414_MSxml4.0_x86.exe) and installed it. The problem was finally solved!!

(10) if your case, I can solve the above methods, it is back, you continue to look for other possible to online, if you don’t want to continue to find you reinstall your iis or simply reshipment system (do this before you can try to restart the system to see, may probably as if lucky can use again

Google payment error prompt: error retrieving information from server [df-aa-20]

Google in-purchase payment test, released the beta version for testing, download and install after payment error prompt: error when retrieving information from the server [df-aa-20]
The reasons may be:
1. This product does not create in-purchase goods. (It takes time for the creation to take effect, so you can wait 10 minutes to try again)
2. The app was not released in the Google Play store, at least in alpha.
3. The app or developer account is blocked.