mysql server and libmysqlclient in version 5.5.43.
It also provides libmysqlclient in version 5.0.96.
But the SDK only provides a devel rpm for libmysqlclient 5.0.96.
Is the devel rpm for 5.5.43 missing or can I use the 5.0.96 devel also
if building a client
based on libmysqlclient 5.5.43 ?[/color]
For libmysqlclient for MySQL 5.5.43 you need to install
libmysql55client_r18-32bit-5.5.43-0.7.3.x86_64.rpm
This would also suggest that your server is not fully patched as the
latest libmysql55client (to match latest MySQL available for SLES11 SP4)
is 5.5.60.
HTH.
Simon
SUSE Knowledge Partner
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below. Thanks.
yes the server is currently not fully patched.
I know that libmysql55client_r18-32bit-5.5.43-0.7.3.x86_64.rpm
needs to be installed for MySQL 5.5.43.
But the question was:
where is the related devel rpm?
Although SLES 11 SP4 provides libmysql55client_r18-32bit-5.5.43-0.7.3.x86_64.rpm,
the SLES 11 SP4 SDK does only provide a devel rpm for the 5.0.96 client lib,
but no devel rpm for the 5.5.43 client lib.
Perhaps you could help us understand what you see different about the
devel RPMs available for the different versions. While I agree that I do
not see any package filename with ‘devel’ in the name for MySQL 5.5, the
contents of the 5.0 one and the 5.5 package for libraries appears to be
identical in relevant ways. The following are checking the 5.5 and 5.0
packages available on the SDK x86_64 DVD1 ISO file that I just downloaded:
Going forward newer versions of the released product include the libraries
package (without ‘devel’ in its name) along with patches for the main
product, so everything should be downloaded, if applicable, at the same time.
Need to develop a client based on the 5.5.x client lib.
Because of this, I need the related “devel rpm”, which provides
the C header files, which are required for development.
The RPMs you are listing, only contain the libraries.
The RPM of interest is:
host:/media/SLE-11-SP4-SDK-DVD-x86_6408401/suse/x86_64 # ls mysqldev*
libmysqlclient-devel-5.0.96-0.6.1.x86_64.rpm
host:/media/SLE-11-SP4-SDK-DVD-x86_6408401/suse/x86_64 # rpm -qlp libmysqlclient-devel-5.0.96-0.6.1.x86_64.rpm
/usr/bin/comp_err
/usr/bin/mysql_config
/usr/include/mysql
/usr/include/mysql/decimal.h
/usr/include/mysql/errmsg.h
/usr/include/mysql/keycache.h
/usr/include/mysql/m_ctype.h
/usr/include/mysql/m_string.h
/usr/include/mysql/my_alloc.h
/usr/include/mysql/my_attribute.h
/usr/include/mysql/my_config.h
/usr/include/mysql/my_dbug.h
/usr/include/mysql/my_dir.h
/usr/include/mysql/my_getopt.h
/usr/include/mysql/my_global.h
/usr/include/mysql/my_list.h
/usr/include/mysql/my_net.h
/usr/include/mysql/my_no_pthread.h
/usr/include/mysql/my_pthread.h
/usr/include/mysql/my_sys.h
/usr/include/mysql/my_xml.h
/usr/include/mysql/mysql.h
[…]
However, the SDK only provides the above shown 5.0.x devel rpm, although the
OS provides both, the 5.0.x client lib and the 5.5.x client lib.
The minor release is not of interest. It does not matter if 5.5.43 or 5.5.60.
But the major release must not differ.
I cannot develop a client based on the lib provided by libmysql55client_r18-32bit-5.5.43-0.7.3.x86_64.rpm
using the C header files provided by libmysqlclient-devel-5.0.96-0.6.1.x86_64.rpm.
In fact the SDK misses to provide something like:
libmysql55client-devel-5.5.xx-x.x.x.x86_64.rpm
Had a support ticket in parallel.
Support confirmed that the devel rpm is missing in the SDK and suggested to install the
complete sources (mysql-5.5.60-0.39.12.1.src.rpm) instead.
However, we decided to use MySQL-devel-5.5.60-1.sles11.x86_64.rpm from mysql.com instead.
Had a support ticket in parallel.
Support confirmed that the devel rpm is missing in the SDK and suggested
to install the
complete sources (mysql-5.5.60-0.39.12.1.src.rpm) instead.
However, we decided to use MySQL-devel-5.5.60-1.sles11.x86_64.rpm from mysql.com instead.[/color]
Have you just used the MySQL-devel package from MySQL (with SUSE’s mysql
packages) or with other MySQL packages from MySQL?
[/QUOTE]
Yes, only downloaded the devel from https://dev.mysql.com/downloads/mysql/5.5.html#downloads
and using other MySQL packages from the SLES 11 DVD.