Linux installation Unixodbc to resolve libodbc.so.2 missing issues

Source: Internet
Author: User

Background:

Today I am in the new Linux system, compile the previous code, found Libobdc.so.2 missing. By looking for discoveries just install UNIXODBC. So I started the installation tour

I first through the "Yum Search ODBC" command to find an ODBC-related installation package, but Yum search no results, so I remember to need to mount the system installation image, there is.


1. Mount the installation image

I upload the image of Linux Redhat 6.5 to the/ext/bak file directory (directory does not matter)

Mount Step See http://www.cnblogs.com/tinysun/p/7661287.html

Now we can see things in the/mnt/rheliso/directory.

2. Modify the search scope of Yum

Yum search scope specified, need to modify "/etc/yum.repos.d/rhel-source.repo" file

The author added the red box shown in the code, where name can start himself, other means to guess, I believe you understand

3. Re-search ODBC

This way, the command is re-executed

Yum Search ODBC

You can see the results when you're done.

4. Installing UNIXODBC

Execute the command yum install UnixODBC and yum install Unixodbc-devel, complete the installation

Linux installation Unixodbc to resolve libodbc.so.2 missing issues

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.