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