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