On Tue, Mar 21, 2000 at 04:39:40PM +0900, Hong Taeki wrote:
> I'm going to use qmail with MySQL.
>
> From http://www.softagency.co.jp/mysql/qmail.html, I'v got some patches.
>
> I used "qmail-1.03" and "mysql-3.22.32". They worked well.
>
> With "qmail-1.03-mysql-0.6.5.patch", I patched qmail and compile again.
>
> To check the path, I tried qmail-getpw. But it failed. It showed this error message.
>
> -----------------------------------------------------------------
> [root@selab5 /usr/source/qmail-1.03]# ./qmail-getpw
> ./qmail-getpw: error in loading shared libraries: libmysqlclient.so.6
> : cannot open shared object file: No such file or directory
> -----------------------------------------------------------------
>
> In the library directory, I have libmysqlclient.so.6.
>
> -----------------------------------------------------------------
> [root@selab5 /usr/local/mysql/lib/mysql]# ls
> libdbug.a libmysqlclient.a libmysqlclient.so.6@ libmysys.a
> libheap.a libmysqlclient.la* libmysqlclient.so.6.0.0* libnisam.a
> libmerge.a libmysqlclient.so@ libmystrings.a
> -----------------------------------------------------------------
>
> How can I find the library properly?
>
> Thank you.
>
>
Check your /etc/ld.so.conf so it include's the mysql library directory
(/usr/local/mysql/lib/mysql). After that you run ldconfig -v (this is
for Linux - you didn't include what OS you are running on).
Best regards
Michael Boman
--
W I Z O F F I C E . C O M P T E L T D - Your Online Office Wizard
16 Tannery Lane, Crystal Time Building, #04-00, Singapore 347778
Voice : (+65) 844 3228 [extension 118] Fax : (+65) 842 7228
Pager : (+65) 92 93 29 49 ICQ : 5566009
Mobile: (+65) 97 87 39 14
eMail : mailto:[EMAIL PROTECTED] URL : http://www.wizoffice.com