/Usr/bin/ld: cannot find, usrld

Source: Internet
Author: User

/Usr/bin/ld: cannot find, usrld
/Usr/bin/ld: cannot find-lltdl
Collect2: ld returned 1 exit status

Make: *** [sapi/cgi/php-cgi] Error 1


Solution:

Yum install * ltdl *


I reported an error when installing rcssmonitor:/usr/bin/ld: cannot find-lXrender!

Didn't you get a soft link or didn't install the necessary libraries? I will send you an installation file. I don't understand it if it is not installed properly. You can see that sudo is not used for installation, I can install it without sudo. It would be nice if I could help, because at that time I had a lot of trouble with this system, and I had very little online information. Could you please send me some useful information, is the latest can use the above ideas, my mailbox: 852601244@qq.com
(1) system preparation
Sudo apt-get install nautilus-gksu // Add "Administrator open option" to the context menu
Sudo apt-get install nautilus-open-terminal // Add the terminal to the right-click menu
Sudo apt-get install rar unrar p7zip // install the decompression program. These programs must be canceled before they take effect.

(2) Installation of the competition platform
Download the server and client packages from here. My files are rcssserver-14.0.3.tar.gz, rcssmonitor-14.1.0.tar.gz, which are the most important. In addition, I also got a rcsslogplayer-14.0.1.tar.gz and rcssbase-12.1.3.tar.gz.

(3) Early Installation
Enter the following command in the terminal:
Sudo apt-get install build-essential // compiler Installation
Sudo apt-get install xorg-dev // xorg Gui
Sudo apt-get install flex bison // lexical analyzer generator syntax analyzer
Sudo apt-get install libboost-dev libboost-all-dev // libboost-all-dev is added when the boost library 10.04 is installed.
Sudo apt-get install libqt4-dev libqt4-gui qt4-dev-tools qt4-doc qt4-designer qt4-qtconfig // qt4 Application
Sudo apt-get install libglpng-dev // ubuntu10.04 this is not installed by default
Sudo apt-get install libglib2.0-dev // ubuntu10.04 the glibc library is not installed by default.

(4) After preparation
Decompress the rcssserver rcssmonitor folder, right-click the folder, and choose terminal. Enter the following commands in sequence

Sudo./configure // configuration Library and other things
Sudo make
Sudo make install // must be installed as root
Sudo ldconfig // modify the software database cache

Note: the/usr/bin/ld error may be prompted during the make process. Because shared library files in/usr/lib cannot be used, find. -name "strings" is used to search for the desired file, and then create a soft link sudo ln-s example1.so. 1 example1.so.

For example, make prompts that words like laudio cannot be found, that is, the laudio library cannot be used. In this case, switch to the/usr/lib folder and run the find ....... remaining full text>
 
Linux compilation error/usr/bin/ld: cannot find libmkl_solver_lp64a

I made several mistakes.
1. How do you use the root account to compile the program?
2. PATH is used to specify the executable program location. Do you want to directly execute this static library when you put the library file location in it?
3. You only need one export and source.
Solution: echo "/home/power/mkllib">/etc/ld. so. conf. d/mkllib. conf; ldconfig
From the above, we found libmkl_solver_lp64.a during the compilation process, but it is ignored due to compatibility issues. I think this is the direction you need to work on.

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.