Re: [vchkpw] libmysqlclient not found

2003-02-12 Thread Nelson D. Guerrero
On [11/02/2003], Roland Schmid wrote:
 Hello,
 
 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.
 Any idea what went wrong?


export LD_LIBRARY_PATH='$LD_LIBRARY_PATH:/usr/local/lib/mysql'
ldconfig -m /usr/local/lib/mysql 

It happened to me a couple of days ago.




[vchkpw] libmysqlclient not found

2003-02-11 Thread Roland Schmid
Hello,

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.
Any idea what went wrong?


Best regards,
Roland







Re: [vchkpw] libmysqlclient not found

2003-02-11 Thread Jonas Pasche
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






Re: [vchkpw] libmysqlclient not found

2003-02-11 Thread vol
Are you running Linux?
Be sure to add the directory your MySQL libraries are located in,
to /etc/ld.so.conf, and run /sbin/ldconfig.

Roland Schmid wrote:

Hello,

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.
Any idea what went wrong?


Best regards,
Roland









--
mailto:[EMAIL PROTECTED]
Matt Brookings - Chief Technical Officer
Inter7 Internet Technologies, Inc.
www.inter7.com - 847-492-0470
Prices at http://www.inter7.com/prices





RE: [vchkpw] libmysqlclient not found

2003-02-11 Thread Roland Schmid
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








RE: [vchkpw] libmysqlclient not found

2003-02-11 Thread Jonas Pasche
Hi Roland,

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

Ok, compare that with your strace output (I grep'ped for
libmysqlclient.so.10):

 open(/lib/i686/mmx/libmysqlclient.so.10, O_RDONLY) = -1 ENOENT (No such
 file or directory)
 open(/lib/i686/libmysqlclient.so.10, O_RDONLY) = -1 ENOENT (No such file
 or directory)
 open(/lib/mmx/libmysqlclient.so.10, O_RDONLY) = -1 ENOENT (No such file or
 directory)
 open(/lib/libmysqlclient.so.10, O_RDONLY) = -1 ENOENT (No such file or
 directory)
 open(/usr/lib/i686/mmx/libmysqlclient.so.10, O_RDONLY) = -1 ENOENT (No
 such file or directory)
 open(/usr/lib/i686/libmysqlclient.so.10, O_RDONLY) = -1 ENOENT (No such
 file or directory)
 open(/usr/lib/mmx/libmysqlclient.so.10, O_RDONLY) = -1 ENOENT (No such
 file or directory)
 open(/usr/lib/libmysqlclient.so.10, O_RDONLY) = -1 ENOENT (No such file or
 directory)

As you see, /usr/local/mysql/current/lib is not checked for that file,
so I suggest you put this directory into /etc/ld.so.conf and run
ldconfig to update the list of shared objects.

Use ldconfig -v | grep libmysqlclient to see if it's listed. Then try
vadddomain again.

Jonas






RE: [vchkpw] libmysqlclient not found

2003-02-11 Thread Roland Schmid
Hi Jonas,

yes, now it works!!
So if I add /home-dir-to-vpopmail to /etc/profile
I can type the vpopmail-commands from everywhere on the commandline.

Thank you for help.

Best regards,
Roland

 
 As you see, /usr/local/mysql/current/lib is not checked for that file,
 so I suggest you put this directory into /etc/ld.so.conf and run
 ldconfig to update the list of shared objects.
 
 Use ldconfig -v | grep libmysqlclient to see if it's listed. Then try
 vadddomain again.
 
 Jonas