>>>>> "Steve" == Steve Ridley <stever@stripped> writes:
Steve> MYSQLers
Steve> I am trying to build the myodbc package on HPUX 10.20. One of the
Steve> requirements is libmysqlclient installed as a shared library. I have built
Steve> mysql but have not got this. I have only the static library
Steve> libmysqlclient.a. I cannot find any notes in the INSTALL files about
Steve> building a shared library version of this. I am using mysql version 3.21.33
Steve> and myodbc version 2.50.24. Can you help me ?
Steve> Steve
Hi!
You actually don't need a shared libmysqlclient library; Only the
libmyodbc library needs to be shared; Why do you think you need a
shared libmysqlclient.
Anyway, how did you compile MySQL? configure should be default create
a shared client library. I just checked this:
./configure --without-server --with-thread-safe-client
and this created the shared library:
[monty@hp-tcx mysql-3.23.5-beta]$ ls -l client/.libs/
total 3154
-rwxrwxrwx 1 monty tcx 118920 Oct 11 12:47 insert_test
-rw-rw-rw- 1 monty tcx 171492 Oct 11 12:46 libmysqlclient.a
lrwxrwxrwx 1 monty tcx 20 Oct 11 12:46 libmysqlclient.la ->
../libmysqlclient.la
-rw-rw-rw- 1 monty tcx 700 Oct 11 12:46 libmysqlclient.lai
lrwxrwxrwx 1 monty tcx 21 Oct 11 12:46 libmysqlclient.sl ->
libmysqlclient.sl.7.0
lrwxrwxrwx 1 monty tcx 21 Oct 11 12:46 libmysqlclient.sl.7 ->
libmysqlclient.sl.7.0
-rwxrwxrwx 1 monty tcx 156305 Oct 11 12:46 libmysqlclient.sl.7.0
-rwxrwxrwx 1 monty tcx 383968 Oct 11 12:47 mysql
-rwxrwxrwx 1 monty tcx 139432 Oct 11 12:47 mysqladmin
-rwxrwxrwx 1 monty tcx 143516 Oct 11 12:47 mysqldump
-rwxrwxrwx 1 monty tcx 131224 Oct 11 12:47 mysqlimport
-rwxrwxrwx 1 monty tcx 131236 Oct 11 12:47 mysqlshow
-rwxrwxrwx 1 monty tcx 118920 Oct 11 12:47 select_test
Note that you should use the option --with-thread-safe-client when you
compile that library for use with myodbc !
Regards,
Monty