Aiuto vpopmail + courier-authlib

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Aiuto vpopmail + courier-authlib

Marco Spiga-2
Ciao a tutti!!!


Mentre avvio la compilazione courier-authlib ottengo i seguenti errori:

Compiling authvchkpw.c
 authvchkpw.c: In function `auth_vchkpw_changepass':
 authvchkpw.c:142: warning: passing arg 1 of `parse_email' discards qualifiers from pointer target type
 Compiling authvchkpwlib.c
 Compiling preauthvchkpw.c
 preauthvchkpw.c: In function `auth_vchkpw_pre':
 preauthvchkpw.c:67: warning: passing arg 1 of `parse_email' discards qualifiers from pointer target type
 preauthvchkpw.c:141: warning: passing arg 3 of `vset_lastauth' discards qualifiers from pointer target type
 linking libauthvchkpw.la

 *** Warning: linker path does not have real file for library -lvpopmail.
 *** I have the capability to make that library automatically link in when
 *** you link to this library. But I can only do this if you have a
 *** shared version of the library, which you do not appear to have
 *** because I did check the linker path looking for a file starting
 *** with libvpopmail and none of the candidates passed a file format test
 *** using a file magic. Last file checked: /home/vpopmail/lib/libvpopmail.a

 *** Warning: libtool could not satisfy all declared inter-library
 *** dependencies of module libauthvchkpw. Therefore, libtool will create
 *** a static module, that should work as long as the dlopening
 *** application is linked with the -dlopen flag.

Le opzioni di compilazione per vpopmail sono le seguenti:

./configure \
--disable-roaming-users \
--enable-logging=p \
--disable-ip-alias-domains \
--disable-passwd \
--enable-clear-passwd \
--disable-domain-quotas \
--enable-auth-module=pgsql \
--disable-many-domains \
--enable-auth-logging \
--enable-sql-logging

make && make install-strip

e per courier-authlib sono:

./configure --prefix=/usr/courier-authlib --without-authpam \
--without-authldap --without-authpwd --without-authmysql \
--without-authpgsql --without-authshadow --without-authuserdb \
--without-authcustom --without-authcram --without-authdaemon --with-authvchkpw \
--with-mailuser=vpopmail --with-mailgroup=vchkpw
gmake
gmake install
gmake install-configure

Alla fine di queste operazioni mi manca il file libauthvchkpw.so.0.0 nella directory delle librerie
di courier-authlib.
Le versioni dei sorgenti sono: vpopmail-5.4.2.tar.gz e courier-authlib-0.58.tar.bz2!!!!!!!!!

Qualcuno sa dirmi quale può essere il problema???????
--
                                !!!!! Messaggio da Marco !!!!!
________________________________________________________
http://www.sikurezza.org - Italian Security Mailing List
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Aiuto vpopmail + courier-authlib

Viper67
Controlla i permessi su /home/vpopmail/lib dovrebbero essere vpopmail:vchkpw e non root.
Un 'chown vpopmail:vchkpw /home/vpopmail/lib/libvpopmail.a ' dovrebbe risolvere il problema.


Sempre in attesa che prima o poi venga fuori una release di vpopmail con shared libraries, se vuoi puoi provarci (a me ha funzionato bene) anche perché ricompilarselo goni volta è una gran rottura.

http://sourceforge.net/tracker/index.php?func=detail&aid=912972&group_id=85937&atid=577801
Loading...