64-bit Ubuntu installation TLBB Server environment

Source: Internet
Author: User

The differences from the previous article are:

Compile unixodbc to be compiled to 32-bit, in addition to download MySQL CONNECTOR/ODBC must also choose the 32-bit version of the

Pre-compilation operations

Modify/USR/BIN/GCC,/USR/BIN/LD, force join M32 Information

Rename Gcc,ld to gcc.64,ld.64

mv /usr/bin/gcc /usr/bin/gcc.  - mv /usr/bin/ld /usr/bin/ld.  -

Create a new two files below

/usr/bin/gcc

#!/bin/shgcc.  –m32 [email protected]

/usr/bin/ld

#!/bin/shld.  –m elf_i386 [email protected]

Add Execute Permissions

chmod +x/usr/bin/gccchmod +x/usr/bin/ld

32-bit C compilation environment

Install libc6-dev-i386

Issues that may occur when you start a compilation

Add a soft link

Ln -s/usr/lib/libodbc.so. 2.0. 0 /usr/lib/libodbc.so. 1

Installing the 32-bit C + + Runtime Library

Install lib32z1 lib32stdc++6

64-bit Ubuntu installation TLBB Server environment

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.