It can't find the mysql libraries. Find libmysqlclient.so.10 (find / -name
"libmysqlclient.so.10" -print) and make sure the path to that file is in
/etc/ld.so.conf then run ldconfig.

> Hi I am running qmail and mysql 3.23.37.  Trying to compile
> vpopmail-4.9.10 on a RedHat 7.0 Server using mysql for authenticaion.
>
> Compiling seems to be fine (in other words there are no apparent errors
> using my options).
>
> Here is my problem:
>
> [root@jupitor vpopmail-4.9.10]# telnet localhost 110
> Trying 204.225.119.9...
> Connected to localhost.visinet.ca.
> Escape character is '^]'.
> +OK <23220.989199620@jupitor>
> user blue
> +OK
> pass blue
> /disk02/vpopmail/bin/vchkpw: error while loading shared libraries:
> libmysqlclient.so.10: cannot open shared object file: No such file or
> directory
> -ERR authorization failed
> Connection closed by foreign host.
>
> Here are my configure options:
>
> ./configure \
>   --enable-large-site=n \
>   --enable-apop=y \
>   --enable-passwd=y \
>   --enable-roaming-users=y \
>   --enable-mysql=y \
>   --enable-sqlincdir=/usr/local/mysql/include/mysql \
>   --enable-sqllibdir=/usr/local/mysql/lib/mysql
>
> I did edit the vmysql.h file with the appropriate settings.
>
> Any help would be appreciated.
> Tony

Reply via email to