Hi Jonas,

yes, the libmysqlclient.so.10 exists and is in
/usr/local/mysql/current/lib/mysql

here is what strace returns:
[root@dc4 bin]# strace ./vadddomain mydomain.de
execve("./vadddomain", ["./vadddomain", "mydomain.de"],[/* 31 vars */]) = 0
uname({sys="Linux", node="dc4", ...})   = 0
brk(0)= 0x8057728
open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY)= 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=86544, ...}) = 0
old_mmap(NULL, 86544, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40014000
close(3)
= 0
open("/lib/i686/mmx/libmysqlclient.so.10", O_RDONLY) = -1 ENOENT (No such
file or directory)
stat64("/lib/i686/mmx", 0xbfffebb0)     = -1 ENOENT (No such file or
directory)
open("/lib/i686/libmysqlclient.so.10", O_RDONLY) = -1 ENOENT (No such file
or directory)
stat64("/lib/i686", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
open("/lib/mmx/libmysqlclient.so.10", O_RDONLY) = -1 ENOENT (No such file or
directory)
stat64("/lib/mmx", 0xbfffebb0)          = -1 ENOENT (No such file or
directory)
open("/lib/libmysqlclient.so.10", O_RDONLY) = -1 ENOENT (No such file or
directory)
stat64("/lib", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
open("/usr/lib/i686/mmx/libmysqlclient.so.10", O_RDONLY) = -1 ENOENT (No
such file or directory)
stat64("/usr/lib/i686/mmx", 0xbfffebb0) = -1 ENOENT (No such file or
directory)
open("/usr/lib/i686/libmysqlclient.so.10", O_RDONLY) = -1 ENOENT (No such
file or directory)
stat64("/usr/lib/i686", 0xbfffebb0)     = -1 ENOENT (No such file or
directory)
open("/usr/lib/mmx/libmysqlclient.so.10", O_RDONLY) = -1 ENOENT (No such
file or directory)
stat64("/usr/lib/mmx", 0xbfffebb0)      = -1 ENOENT (No such file or
directory)
open("/usr/lib/libmysqlclient.so.10", O_RDONLY) = -1 ENOENT (No such file or
directory)
stat64("/usr/lib", {st_mode=S_IFDIR|0755, st_size=49152, ...}) = 0
writev(2, [{"./vadddomain", 12}, {": ", 2}, {"error while loading shared
libra"..., 36}, {": ", 2},
 {"libmysqlclient.so.10", 20}, {": ", 2}, {"cannot open shared object file",
30},
 {": ", 2}, {"No such file or directory", 25}, {"\n", 1}],
 10./vadddomain: error while loading shared libraries: libmysqlclient.so.10:
 cannot open shared object file: No such file or directory
) = 132
_exit(127)


This is the ./configure command I used:
./configure
--prefix=/var/qmail/vpopmail
--enable-roaming-users=y
--enable-clear-passwd=y
--enable-valias=y
--enable-mysql-replication=y
--enable-mysql=y
--enable-incdir=/usr/local/mysql/current/include/mysql
--enable-libdir=/usr/local/mysql/current/lib/mysql

Thank you for your help.

Best regards,
Roland


> -----Original Message-----
> From: Jonas Pasche [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, February 11, 2003 3:11 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [vchkpw] libmysqlclient not found
>
>
> Hi Roland,
>
> > so far the installion worked.
> > I now want to add a new domain to vpopmail.
> > But I get an error message, that libmysqlclient file could not be found.
> > Original message:
> > [root@dc4 bin]# ./vadddomain mydomain.de
> > ./vadddomain: error while loading shared libraries:
> > libmysqlclient.so.10: cannot open shared object file: No such file or
> > directory
> >
> > The libmysqlclient file is in the path I gave to configure command.
>
> Obviously not, otherwise vadddomain wouldn't have said "No such file or
> directory". :-)
>
> Is the version number of the .so file correct?
>
> Use strace to see which file vadddomain is really looking for.
>
> Show us your full ./configure line as well as the output from "ls -l"
> within your lib directory which you specified at compile time.
>
> Jonas
>
>
>


Reply via email to