Well, I think I know why my build fails, as I've patched vpopmail to alter the location of the includes and lib directories.

/home/vpopmail/etc (or /etc/vpopmail in my case) should have an include_deps and a lib_deps file.

What do you have in /home/vpopmail/etc/lib_deps ?
The first -L option there should be where your libvpopmail.a resides.

HTH.

--
-Eric 'shubes'

On 12/13/2013 01:08 PM, Marcello Lupo wrote:
Hi,
Thank you.

I tried in vpopmail-5.4.33 dir:

make distclean
autoreconf
automake
autoconf

./configure --enable-tcpserver-file=/home/vpopmail/etc/tcp.smtp  \
--disable-roaming-users \
--enable-onchange-script \
--enable-auth-module=mysql \
--enable-logging=p \
--disable-mysql-limits \
--enable-valias \
--disable-clear-passwd \
--enable-sql-logging \
--enable-auth-logging \
--enable-qmail-newu=/var/qmail/bin/qmail-newu \
--enable-qmail-inject=/var/qmail/bin/qmail-inject \
--enable-qmail-newmrh=/var/qmail/bin/qmail-newmrh

make
make install-strip
ldconfig

All compiled fine and installed.
When compile vusaged i get the same error both with or without the export 
LDFLAGS='-ldl’ command.
Other hints?
Thank you
Bye
Marcello

Il giorno 13/dic/2013, alle ore 20:11, Eric Shubert <e...@shubes.net> ha 
scritto:

For your reference, here's the .spec file I'm using for the QMailToaster 
version of vpopmail:
https://github.com/QMailToaster/vpopmail/blob/master/vpopmail.spec
This is building ok on CentOS 5 & 6, and both x86_64 and i386 arch's.

You might try running autoreconf && automake && autoconf before running the 
configure script, and see what that does for you.

HTH.
--
-Eric 'shubes'

On 12/13/2013 11:14 AM, Marcello Lupo wrote:
Hi,
yes all is correct:

the only libvpopmail.a found are:

/usr/src/vpopmail-5.4.33/libvpopmail.a
/home/vpopmail/lib/libvpopmail.a

and are identical files.

I think the issue can reside in the way the configure script make the check of 
vauth_getpw in the libvpopmail or depending on some configure option i used.
I tried to dig a little bit in the sources but was not able to understand so 
much. I’m not so skilled coder.
Thank you if you have any other suggestion.
Eventually i can give you access to the system of you need it. I really need to 
compile it otherwise the server will never start.
Thank you
Bye
Marcello

Il giorno 13/dic/2013, alle ore 18:58, Eric Shubert <e...@shubes.net> ha 
scritto:

Is the system finding the correct libvpopmail?
Perhaps search the entire system for all libvpopmail files to be sure there's 
not another one being picked up inadvertently?
--
-Eric 'shubes'

On 12/13/2013 04:38 AM, Marcello Lupo wrote:
Hello,
Yes i have done it but it is not woking.
Anyway the make distclean is useless in the vusaged directory. It doesn’t 
produce any effect since the Makefile have still to be created because 
./configure is not working.
The libvpopmail.a is correctly found and loaded in the LDCONFIG.
Any hint?
Thank you
Bye
Marcello

Il giorno 12/dic/2013, alle ore 19:09, Eric Shubert <e...@shubes.net> ha 
scritto:

Have you done as Matt suggested?

# make distclean
# export LDFLAGS='-ldl'
# ./configure && make.

On 12/12/2013 10:16 AM, Marcello Lupo wrote:
Hello,
any news on this issue?
I have exactly this issue on ubuntu server 12.04 LTS x86_64 .

checking for vauth_getpw in -lvpopmail... no
checking for vauth_getall in -lvpopmail... no
checking for get_domain_entries in -lvpopmail... no
checking for client_query_quick in -lvpopmail... yes
configure: error: No vauth_getpw in libvpopmail

I tried vpopmail version 5.4.32 and 5.4.33 .

This are the options:

./configure --enable-tcpserver-file=/home/vpopmail/etc/tcp.smtp \
--disable-roaming-users \
--enable-onchange-script \
--enable-auth-module=mysql \
--enable-logging=p \
--enable-mysql-limits \
--enable-valias \
--disable-clear-passwd \
--enable-sql-logging \
--enable-auth-logging \
--enable-qmail-newu=/var/qmail/bin/qmail-newu \
--enable-qmail-inject=/var/qmail/bin/qmail-inject \
--enable-qmail-newmrh=/var/qmail/bin/qmail-newmrh

I already tried all the solutions suggested in this thread with no success.

Thank you all for any help.
Bye
Marcello


Il giorno 05/mar/2013, alle ore 17:55, Remo Mattei <r...@italy1.com> ha scritto:

which version of vpop?

On Mar 5, 2013, at 07:45 , Franko Fang <dahuananhu1...@163.com> wrote:

Dear Matt:

Matt Brookings <matt <at> inter7.com> writes:



On 01/24/2011 10:22 AM, Qmail List wrote:
Hi,

For Vpopmail, i did this.

./configure --enable-logging=v \
make
make install-strip

Vpopmail config.log
http://pastebin.com/5xZT1EiH

Vpopmail config.h
http://pastebin.com/t6FQzp0U

For  Vusaged, i did this.
./configure
make

Vusaged config.log
http://pastebin.com/78MsKPjh

Vusaged config.h
http://pastebin.com/k9kk7Zff

In the vusaged source directory, run "make clean", then "export
LDFLAGS='-ldl'", then try to build again.

--I did the same compile on Ubuntu 12.04 32bit system,
and the error still exists.
checking for vauth_getpw in -lvpopmail... no
checking for vauth_getall in -lvpopmail... no
checking for get_domain_entries in -lvpopmail... no
checking for client_query_quick in -lvpopmail... yes
configure: error: No vauth_getpw in libvpopmail

--Any ideas for my issue?

Best Regards,
Franko Fang



















--
-Eric 'shubes'

































!DSPAM:52ab845434261615547718!

Reply via email to