Re: [vchkpw] vpopmail-5.5.0-1239053335 issues
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 kengheng wrote: > # cd backend/mysql/ > # export LDFLAGS="-L/usr/local/mysql/lib/mysql/" > # ./configure > # make;make install > > and it is working :) Looks like I need to do some work on the library path selection in the backend modules, heh. - -- /* Matt BrookingsGnuPG Key D9414F70 Software developer Systems technician Inter7 Internet Technologies, Inc. (815)776-9465 */ -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkneJmkACgkQ6QgvSNlBT3CoeACfbc6snIH2hVh0wp8fQYR2OFGl DZAAmgM6J+H4RA+HATdox5KXZ+afVN7c =vmWx -END PGP SIGNATURE-
Re: [vchkpw] vpopmail-5.5.0-1239053335 issues
# cd backend/mysql/ # export LDFLAGS="-L/usr/local/mysql/lib/mysql/" # ./configure # make;make install and it is working :) Matt Brookings wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 kengheng wrote: Hi Matt, I checked the in backend/mysql/config.log, I found this, look like the linkage to libmysqlclient got problems I was wondering why it didn't show up in ldd :) Anyhow, I've submitted a change to the branch in svn that will report the failure. In the mean time, recompile the backend with --enable-libdir=/path where path is the full path to the directory that libmysqlclient.so is located. - -- /* Matt BrookingsGnuPG Key D9414F70 Software developer Systems technician Inter7 Internet Technologies, Inc. (815)776-9465 */ -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkneESMACgkQ6QgvSNlBT3DEQwCfdvQNeonU2+1PwVKPmd0tewTy zoYAoKbrF3kTfMl+JgTYIc9HrIoYTviE =Dqcu -END PGP SIGNATURE- -- Best regards, KengHeng. Chan Mobile : +6-016-717-0273 SQL Technology Sdn Bhd http://www.mysql.cc c...@mysql.cc !DSPAM:49de24ee32681281720437!
Re: [vchkpw] vpopmail-5.5.0-1239053335 issues
I've recompiled the backend/mysql with "--enable-libdir=/usr/local/mysql/lib/mysql --enable-incdir=/usr/local/mysql/include/mysql" and it show the same error in backend/mysql/config.log. Matt Brookings wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 kengheng wrote: Hi Matt, I checked the in backend/mysql/config.log, I found this, look like the linkage to libmysqlclient got problems I was wondering why it didn't show up in ldd :) Anyhow, I've submitted a change to the branch in svn that will report the failure. In the mean time, recompile the backend with --enable-libdir=/path where path is the full path to the directory that libmysqlclient.so is located. - -- /* Matt BrookingsGnuPG Key D9414F70 Software developer Systems technician Inter7 Internet Technologies, Inc. (815)776-9465 */ -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkneESMACgkQ6QgvSNlBT3DEQwCfdvQNeonU2+1PwVKPmd0tewTy zoYAoKbrF3kTfMl+JgTYIc9HrIoYTviE =Dqcu -END PGP SIGNATURE- -- Best regards, KengHeng. Chan Mobile : +6-016-717-0273 SQL Technology Sdn Bhd http://www.mysql.cc c...@mysql.cc !DSPAM:49de21fd32681469719179!
Re: [vchkpw] vpopmail-5.5.0-1239053335 issues
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 kengheng wrote: > Hi Matt, I checked the in backend/mysql/config.log, I found this, look > like the linkage to libmysqlclient got problems I was wondering why it didn't show up in ldd :) Anyhow, I've submitted a change to the branch in svn that will report the failure. In the mean time, recompile the backend with --enable-libdir=/path where path is the full path to the directory that libmysqlclient.so is located. - -- /* Matt BrookingsGnuPG Key D9414F70 Software developer Systems technician Inter7 Internet Technologies, Inc. (815)776-9465 */ -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkneESMACgkQ6QgvSNlBT3DEQwCfdvQNeonU2+1PwVKPmd0tewTy zoYAoKbrF3kTfMl+JgTYIc9HrIoYTviE =Dqcu -END PGP SIGNATURE-
Re: [vchkpw] vpopmail-5.5.0-1239053335 issues
Hi Matt, I checked the in backend/mysql/config.log, I found this, look like the linkage to libmysqlclient got problems .. ... configure:3041: checking for mysql_real_connect in -lmysqlclient configure:3076: gcc -o conftest -I../.. -fPIC conftest.c -lmysqlclient -lz -lm >&5 /usr/lib/gcc/i586-suse-linux/4.3/../../../../i586-suse-linux/bin/ld: cannot find -lmysqlclient collect2: ld returned 1 exit status configure:3082: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "vmysql" | #define PACKAGE_TARNAME "vmysql" | #define PACKAGE_VERSION "1.0.0" | #define PACKAGE_STRING "vmysql 1.0.0" | #define PACKAGE_BUGREPORT "" | #define HAVE_LIBM 1 | #define HAVE_LIBZ 1 | /* end confdefs.h. */ | | /* Override any GCC internal prototype to avoid an error. |Use char because int might match the return type of a GCC |builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char mysql_real_connect (); | int | main () | { | return mysql_real_connect (); | ; | return 0; | } configure:3100: result: no ... ... ... Matt Brookings wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 kengheng wrote: here the output # ldd /var/qmail/vpopmail/lib/vmysql.so linux-gate.so.1 => (0xe000) libz.so.1 => /lib/libz.so.1 (0xb8018000) libm.so.6 => /lib/libm.so.6 (0xb7fef000) libc.so.6 => /lib/libc.so.6 (0xb7e93000) /lib/ld-linux.so.2 (0xb805)* Add /usr/local/mysql/lib/mysql to your ldconfig and try again. - -- /* Matt BrookingsGnuPG Key D9414F70 Software developer Systems technician Inter7 Internet Technologies, Inc. (815)776-9465 */ -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkncsm4ACgkQ6QgvSNlBT3CqwwCeIEhbwdUpyZYN3Gw3H/B+PTcW 0HQAnAt1Uf28pAfD45V988LAt3bVAFWE =ysxv -END PGP SIGNATURE- -- Best regards, KengHeng. Chan Mobile : +6-016-717-0273 SQL Technology Sdn Bhd http://www.mysql.cc c...@mysql.cc !DSPAM:49dd85f532681852517504!
Re: [vchkpw] vpopmail-5.5.0-1239053335 issues
Matt Brookings wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 kengheng wrote: here the output # ldd /var/qmail/vpopmail/lib/vmysql.so linux-gate.so.1 => (0xe000) libz.so.1 => /lib/libz.so.1 (0xb8018000) libm.so.6 => /lib/libm.so.6 (0xb7fef000) libc.so.6 => /lib/libc.so.6 (0xb7e93000) /lib/ld-linux.so.2 (0xb805)* Add /usr/local/mysql/lib/mysql to your ldconfig and try again. It is added before the compiling. # ldconfig -p | grep mysql libmysqlclient_r.so.16 (libc6) => /usr/local/mysql/lib/mysql/libmysqlclient_r.so.16 libmysqlclient_r.so (libc6) => /usr/local/mysql/lib/mysql/libmysqlclient_r.so libmysqlclient.so.16 (libc6) => /usr/local/mysql/lib/mysql/libmysqlclient.so.16 libmysqlclient.so (libc6) => /usr/local/mysql/lib/mysql/libmysqlclient.so - -- /* Matt BrookingsGnuPG Key D9414F70 Software developer Systems technician Inter7 Internet Technologies, Inc. (815)776-9465 */ -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkncsm4ACgkQ6QgvSNlBT3CqwwCeIEhbwdUpyZYN3Gw3H/B+PTcW 0HQAnAt1Uf28pAfD45V988LAt3bVAFWE =ysxv -END PGP SIGNATURE- -- Best regards, KengHeng. Chan Mobile : +6-016-717-0273 SQL Technology Sdn Bhd http://www.mysql.cc c...@mysql.cc !DSPAM:49dd51cc32681314021405!
Re: [vchkpw] vpopmail-5.5.0-1239053335 issues
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 kengheng wrote: > here the output > # ldd /var/qmail/vpopmail/lib/vmysql.so >linux-gate.so.1 => (0xe000) >libz.so.1 => /lib/libz.so.1 (0xb8018000) >libm.so.6 => /lib/libm.so.6 (0xb7fef000) >libc.so.6 => /lib/libc.so.6 (0xb7e93000) >/lib/ld-linux.so.2 (0xb805)* Add /usr/local/mysql/lib/mysql to your ldconfig and try again. - -- /* Matt BrookingsGnuPG Key D9414F70 Software developer Systems technician Inter7 Internet Technologies, Inc. (815)776-9465 */ -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkncsm4ACgkQ6QgvSNlBT3CqwwCeIEhbwdUpyZYN3Gw3H/B+PTcW 0HQAnAt1Uf28pAfD45V988LAt3bVAFWE =ysxv -END PGP SIGNATURE-
Re: [vchkpw] vpopmail-5.5.0-1239053335 issues
here the output # ldd /var/qmail/vpopmail/lib/vmysql.so linux-gate.so.1 => (0xe000) libz.so.1 => /lib/libz.so.1 (0xb8018000) libm.so.6 => /lib/libm.so.6 (0xb7fef000) libc.so.6 => /lib/libc.so.6 (0xb7e93000) /lib/ld-linux.so.2 (0xb805)* * Matt Brookings wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 kengheng wrote: ln -s /var/qmail/vpopmail/lib/vmysql.so Please paste output of: ldd /var/qmail/vpopmail/lib/vmysql.so - -- /* Matt BrookingsGnuPG Key D9414F70 Software developer Systems technician Inter7 Internet Technologies, Inc. (815)776-9465 */ -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkncIPUACgkQ6QgvSNlBT3BxsQCfeo0lwo4vIctPAfnnRd1a5zR7 EV8AnR6H6JAuRHVTMCJrZVFGLb49YB0j =CsFs -END PGP SIGNATURE- -- Best regards, KengHeng. Chan Mobile : +6-016-717-0273 SQL Technology Sdn Bhd http://www.mysql.cc c...@mysql.cc !DSPAM:49dc38b432683322216282!
Re: [vchkpw] vpopmail-5.5.0-1239053335 issues
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 kengheng wrote: >> ln -s /var/qmail/vpopmail/lib/vmysql.so Please paste output of: ldd /var/qmail/vpopmail/lib/vmysql.so - -- /* Matt BrookingsGnuPG Key D9414F70 Software developer Systems technician Inter7 Internet Technologies, Inc. (815)776-9465 */ -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkncIPUACgkQ6QgvSNlBT3BxsQCfeo0lwo4vIctPAfnnRd1a5zR7 EV8AnR6H6JAuRHVTMCJrZVFGLb49YB0j =CsFs -END PGP SIGNATURE-
Re: [vchkpw] vpopmail-5.5.0-1239053335 issues
Matt Brookings wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 kengheng wrote: Dear All, I've installed vpopmail-5.5.0-1239053335 and compiled mysql backend successfully. However, whenever I try to run a vpopmail bin, it will generate a error msg to me as below: vpopmail/bin/vadddomain abc.mydomain.com vauth_load_module: dlopen(/var/qmail/vpopmail/etc/vpopmail.authmodule) failed: 0 Error - no authentication module loaded. could not load authentication module Notes: I've configured the vpopmail.mysql accordingly and follow my older vpopmail 5.4.25 which run perfectly Did you 'make install' in the backend directory? If so, please paste the commands the make install ran. Also, please provide 'uname -a' and also what configure options you used. Below are my configuration and output : # cd vpopmail-5.5.0/ # ./configure --enable-roaming-users=y --enable-logging=p --enable-ip-alias-domains=n --enable-passwd=n --enable-clear-passwd=y --enable-domain-quotas=y --enable-many-domains=n --enable-sql-logging=y --disable-mysql-limits # make;make install # cd vpopmail-5.5.0/backends/mysql # ./configure --enable-valias --enable-auth-module=mysql --enable-auth-logging=y # make gcc -DVAUTH_MODULE -I../.. -fPIC -I/usr/local/mysql/include/mysql -o vmysql.o -c vmysql.c gcc -DVAUTH_MODULE -shared -nostartfiles -o vmysql.so vmysql.o -L/usr/local/mysql/lib/mysql -lz -lm # make install /usr/bin/install -c vmysql.so /var/qmail/vpopmail/lib/vmysql.so rm -f /var/qmail/vpopmail/etc/vpopmail.authmodule ln -s /var/qmail/vpopmail/lib/vmysql.so /var/qmail/vpopmail/etc/vpopmail.authmodule if ! test -r /var/qmail/vpopmail/etc/vpopmail.mysql; then \ /usr/bin/install -c -m 0640 vpopmail.mysql /var/qmail/vpopmail/etc/vpopmail.mysql; \ if test "`id -u`" = "0"; then \ chown vpopmail:vchkpw /var/qmail/vpopmail/etc/vpopmail.mysql; \ fi; \ fi # uname -a Linux web05 2.6.27.19-3.2-pae #1 SMP 2009-02-25 15:40:44 +0100 i686 i686 i386 GNU/Linux Thanks. - -- /* Matt BrookingsGnuPG Key D9414F70 Software developer Systems technician Inter7 Internet Technologies, Inc. (815)776-9465 */ -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAknbStoACgkQ6QgvSNlBT3A4fACfdZukZ1r4jthi28fm5PCW0xqQ XhoAmgNnNF+kJ6WQmSqKaSnHI8H808Wr =d6KD -END PGP SIGNATURE- -- Best regards, KengHeng. Chan Mobile : +6-016-717-0273 SQL Technology Sdn Bhd http://www.mysql.cc c...@mysql.cc !DSPAM:49dc13b732681060811966!
Re: [vchkpw] vpopmail-5.5.0-1239053335 issues
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 kengheng wrote: > Dear All, I've installed vpopmail-5.5.0-1239053335 and compiled mysql > backend successfully. However, whenever I try to run a vpopmail bin, it > will generate a error msg to me as below: > > vpopmail/bin/vadddomain abc.mydomain.com > vauth_load_module: dlopen(/var/qmail/vpopmail/etc/vpopmail.authmodule) > failed: 0 > Error - no authentication module loaded. could not load authentication > module > > Notes: I've configured the vpopmail.mysql accordingly and follow my > older vpopmail 5.4.25 which run perfectly Did you 'make install' in the backend directory? If so, please paste the commands the make install ran. Also, please provide 'uname -a' and also what configure options you used. Thanks. - -- /* Matt BrookingsGnuPG Key D9414F70 Software developer Systems technician Inter7 Internet Technologies, Inc. (815)776-9465 */ -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAknbStoACgkQ6QgvSNlBT3A4fACfdZukZ1r4jthi28fm5PCW0xqQ XhoAmgNnNF+kJ6WQmSqKaSnHI8H808Wr =d6KD -END PGP SIGNATURE-
[vchkpw] vpopmail-5.5.0-1239053335 issues
Dear All, I've installed vpopmail-5.5.0-1239053335 and compiled mysql backend successfully. However, whenever I try to run a vpopmail bin, it will generate a error msg to me as below: vpopmail/bin/vadddomain abc.mydomain.com vauth_load_module: dlopen(/var/qmail/vpopmail/etc/vpopmail.authmodule) failed: 0 Error - no authentication module loaded. could not load authentication module Notes: I've configured the vpopmail.mysql accordingly and follow my older vpopmail 5.4.25 which run perfectly -- Best regards, KengHeng. Chan Mobile : +6-016-717-0273 SQL Technology Sdn Bhd http://www.mysql.cc c...@mysql.cc !DSPAM:49db380d32682267419082!