Bug #1159 linux tar.gz distributions missing shared libs
Submitted: 28 Aug 2003 8:56 Modified: 22 Sep 2003 0:31
Reporter: Martin Mokrejs Email Updates:
Status: Not a Bug Impact on me:
Category:MySQL Server: Packaging Severity:S3 (Non-critical)
Version:4.0.14 OS:Linux (Linux)
Assigned to: Lenz Grimmer CPU Architecture:Any

[28 Aug 2003 8:56] Martin Mokrejs
It's nice the official binaries are statically compiled, but for Perl DBI for example one needs anyway shared library libmysqlclient.so. Where to get it?
Fortrunately I have rpm2targz script, but it would be really nice to have those files from MySQL-shared-4.0.14-0.i386.tar.gz have in mysql-debug-4.0.14-pc-linux-i686.tar.gz and mysql-standard-4.0.14-pc-linux-i686.tar.gz !

The documentation, espicially the configure doesn't say how to create shared libs.
Yes, there's

  --enable-shared=PKGS  build shared libraries default=yes
  --enable-static=PKGS  build static libraries default=yes

  but nowhere is explained what should one substitute for "PKGS". :)
Please improve the configure output to be self-explanatory.

How to repeat:
install_driver(mysql) failed: Can't load '/usr/lib/perl5/vendor_perl/5.8.0/i686-linux/auto/DBD/mysql/mysql.so' for module DBD::mysql: libmysqlclient.so.12: cannot open shared object file: No such file or directory at /usr/lib/perl5/5.8.0/i686-linux/DynaLoader.pm line 229.
 at (eval 54) line 3
Compilation failed in require at (eval 54) line 3.
Perhaps a required shared library or dll isn't installed where expected
[22 Sep 2003 0:31] Miguel Solorzano
The dynamic client libraries already are available at: