Today's compilation appears ld:0706-006 cannot find or open library file:-L Xerces-c_static,ld:open (): A file or directory in the path name does Es not exist. This is too familiar to
A familiar link error.
Very simply, the compiler opened XERCES-C_STATIC.A failed. This error often occurs because the catalog library file XERCES-C_STATIC.A is not compiled or does not exist.
So the first reaction, to see if the XERCES-C_STATIC.A file exists, found that the file is already there. Then check the makefile and the Library directory is set up correctly. Anyway clean compiled several times, the problem still, suddenly thought, opened
The file fails and does not necessarily exist, or it may be insufficient user rights. So hurriedly check out, sure enough to find that the user does not have XERCES-C_STATIC.A file Read permission. This project outside of the library, before I directly with the root user in
Other directories copied over, resulting in insufficient user rights, at compile time, cannot open the corresponding. A file, after modifying the xerces-c_static.a file, the problem is resolved. A small copy operation, most likely the key to the bug, the details
Determining success or failure is especially important in coding. pull away, record the problem, hope to give yourself a lesson, but also hope to help others.
The Linux compile link could not find a workaround for the library file.