When ucspi-TCP is installed, the following error occurs:/lib64/libc. so.6: cocould not read symbols: Bad value.

Source: Internet
Author: User

The following error occurs when make is in the ucspi-tcp-0.88 directory:

./Load tcpserver rules. O remoteinfo. O timeoutconn. o cdb. \
DNS. A time. A Unix. A byte. A 'cat socket. lib'
/Usr/bin/ld: errno: TLS definition in/lib64/libc. so.6 section. tbss mismatches non-TLS reference in tcpserver. o
/Lib64/libc. so.6: cocould not read symbols: Bad Value
Collect2: LD returned 1 exit status

 

Check whether the library file/lib64/libc. so.6 is available.

[Root @ xkwb3403 ucspi-tcp-0.88] # ls-L/lib64/libc. so.6
Lrwxrwxrwx 1 Root 11 Oct 27/lib64/libc. so.6-> libc-2.5.so

 

Solution:

Edit./ucspi-tcp-0.88./conf-CC

Change the original
Gcc-O2

Change
Gcc-O2-include/usr/include/errno. h

 

Then make it again.

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.