Install the mysql-connector-odbc rpm package under LinuxAS5.0

Source: Internet
Author: User
LinuxAS5.0 install mysql-ctor-odbc when prompted: # rpm-ivhmysql-connector-odbc-3.51.12-2.2.i386.rpmwarning: mysql-c

When installing mysql-connector-odbc under Linux AS5.0, the prompt is as follows: # rpm-ivh mysql-connector-odbc-3.51.12-2.2.i386.rpm warning: mysql-c

Homepage → Database Technology

Background:

Read News

Install the mysql-connector-odbc rpm package in Linux AS5.0

[Date:] Source: Linux community Author: Linux editor [Font:]

When installing mysql-connector-odbc in Linux AS5.0, the following message is displayed:

# Rpm-ivh mysql-connector-odbc-3.51.12-2.2.i386.rpm
Warning: mysql-connector-odbc-3.51.12-2.2.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186
Error: Failed dependencies:
Libltdl. so.3 is needed by mysql-connector-odbc-3.51.12-2.2.i386
Libodbcinst. so.1 is needed by mysql-connector-odbc-3.51.12-2.2.i386
UnixODBC is needed by mysql-connector-odbc-3.51.12-2.2.i386

This indicates that some dependent libraries are required for installing mysql-connector-odbc. Therefore, we need to install these libraries by installing the rpm file.

How do I know the rpm files of these dependent libraries?

Search related rpm files

You can also run commands on other Linux versions.

# Locate libltdl. so.3
/Usr/lib/libltdl. so.3
/Usr/lib/libltdl. so.3.1.0
[Root @ localhost ~] # Rpm-qf/usr/lib/libltdl. so.3
Libtool-libs-1.5.6-4.EL4.1

Ldd can be used to view the library on which the command depends

For example, the library to which the ls command depends

Ldd/bin/ls.

  • 0
  • Key points for installing PostgreSQL 8.04 in Ubuntu 8.3

    Modify MySQL encoding to utf8 in Linux

    MySQL tutorial Linux AS5.0

    Image Information

    View All comments in this article (0)

    Comments

    Latest Information

    Popular this week

    Introduction to Linux community-advertisement service-website map-help Info-contact us
    The articles published on this site (LinuxIDC) do not mean that they agree with the statement or description. They only provide more information and do not constitute any suggestions.


    Copyright©2006-2011 Linux community All rights reserved Zhejiang ICP backup No. 06018118

    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.