Bug #18541 /usr/lib/libheap.a etc conflicts with other packages
Submitted: 27 Mar 2006 13:51 Modified: 28 Mar 2006 15:32
Reporter: Christian Hammers (Silver Quality Contributor) (OCA) Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server Severity:S3 (Non-critical)
Version:all OS:Linux (Linux)
Assigned to: CPU Architecture:Any

[27 Mar 2006 13:51] Christian Hammers
Description:
Hello

Next to the libmysql* or libndb* those three libs are installed under /usr/lib/. At least for libheap.a
there is another package in Debian now which provides a lib with the same name. As libheap is just
too generic as a name we want both MySQL and the other package to either rename the libs to
e.g. libmyheap or move them to /usr/lib/mysql/.

As far as I can see this is not just be done by changing --prefix or similar as the rest should stay
in /usr/lib/ of course (esp. libmysqlclient.so).

Any idea?

/usr/lib/libdbug.a
/usr/lib/libheap.a
/usr/lib/libvio.a

bye,

-christian- / maintainer of the Debian MySQL packages

How to repeat:
...

Suggested fix:
Move to /usr/lib/mysql/
[27 Mar 2006 16:11] Valeriy Kravchuk
Thank you for a problem report. Please, specify the exact configure command line used. I my case, with --prefix option only, I have these libraries installed under the directory set by --prefix, in lib/mysql subdirectory:

openxs@suse:~/dbs/5.0> ls lib/mysql/
libdbug.a         libmysqlclient.la         libmysys.a  libz.so.1
libheap.a         libmysqlclient.so         libvio.a    libz.so.1.2.3
libmyisam.a       libmysqlclient.so.15      libz.a
libmyisammrg.a    libmysqlclient.so.15.0.0  libz.la
libmysqlclient.a  libmystrings.a            libz.so

These were built with the following configure:

./configure --prefix=/home/openxs/dbs/5.0 --with-extra-charsets=all \
--with-readline --with-federated-storage-engine \
--with-archive-storage-engine
[28 Mar 2006 15:32] Christian Hammers
Sorry, this was a bogus report, I fear. It the Debian specific makefile that moved everything from
/usr/lib/mysql to /usr/lib although only libmysqlclient.so* was meant.

-christian-