Eric, 

there's something new....no .a file present on my system. in fact, i
don't have a /lib folder under my /home/vpopmail path. i also see i'm
missing /usr/lib64/ files & or links as well, compared to your results.
my search results are: 

/etc/dovecot/conf.d/auth-vpopmail.conf.ext
/usr/share/doc/dovecot-2.2.7/example-config/conf.d/auth-vpopmail.conf.ext
/usr/share/logwatch/default.conf/services/vpopmail.conf
/usr/share/logwatch/scripts/services/vpopmail
/usr/bin/qt-mysql-secure-vpopmail
/home/vpopmail
/home/vpopmail/doc/doc_html/vpopmail.html
/home/vpopmail/doc/doc_html/vpopmailapi.png
/home/vpopmail/doc/doc_html/vpopmail5.abw
/home/vpopmail/etc/vpopmail.mysql
/home/vpopmail/etc/vpopmail.mysql.dist
/home/vpopmail/bin/vpopmaild
/var/lib/yum/yumdb/v/a0c3b1b30420c55ae62c2e29044b7f6157268fc1-vpopmail-5.4.33-0.qt.el6-x86_64
/var/lib/mysql/vpopmail
/var/www/html/rc/plugins/password/drivers/vpopmaild.php
/opt/qmailtoaster-util/bin/qt-mysql-secure-vpopmail 

- Fabe 

PS excuse my lack of knowledge here but how did you deduce it's looking
for that file as it's not referenced in the makefile or in my error
output during "make all"? 

On 2015-07-08 19:05, Eric Broch wrote: 

> If I do a find of the vpopmail files, "find / -name "*vpopmail*" I get...
> 
> /usr/bin/qt-mysql-secure-vpopmail
> /usr/lib64/libvpopmail
> /usr/lib64/libvpopmail/libvpopmail.a
> /usr/include/libvpopmail
> /usr/include/libvpopmail/vpopmail.h
> /usr/include/libvpopmail/vpopmail_config.h
> /etc/dovecot/conf.d/auth-vpopmail.conf.ext
> /etc/libvpopmail
> /var/lib/mysql/vpopmail
> /opt/qmailtoaster-util/bin/qt-mysql-secure-vpopmail
> /home/vpopmail
> /home/vpopmail/include/vpopmail.h
> /home/vpopmail/include/vpopmail_config.h
> /home/vpopmail/etc/vpopmail.mysql.dist
> /home/vpopmail/etc/vpopmail.mysql
> /HOME/VPOPMAIL/LIB/LIBVPOPMAIL.A
> /home/vpopmail/doc/doc_html/vpopmail5.abw
> /home/vpopmail/doc/doc_html/vpopmailapi.png
> /home/vpopmail/doc/doc_html/vpopmail.html
> /home/vpopmail/bin/vpopmaild
> 
> do you get the same thing?
> 
> It should link against /HOME/VPOPMAIL/LIB/LIBVPOPMAIL.A
> 
> EricB.
> 
> On 7/8/2015 4:32 PM, fsanti...@deviltracks.net wrote: 
> 
> Eric, 
> 
> No dice: 
> 
> [root@mail vqregister-2.5]# make all
> gcc -o vqregister main.o cgi.o template.o global.o misc.o config.o register.o 
> password.o vpopmail.o db.o field.o badhosts.o -L/home/vpopmail/lib -lvpopmail 
> -lcrypt -L/usr/lib64/mysql -lmysqlclient
> /usr/bin/ld: cannot find -lvpopmail
> collect2: ld returned 1 exit status
> make: *** [vqregister] Error 1
> [root@mail vqregister-2.5]# 
> 
> what do you mean by 
> 
> "Why do you want a create vqregister with a partial install of vpopmail and 
> not the full install?" 
> 
> - Fabe 
> 
> On 2015-07-08 17:32, Eric Broch wrote: 
> Fabe,
> 
> I just compiled vqregister (make all), with no install or clean, on 
> CentOS6/QMT with the following settings ( minus the '-lz' at the end of the 
> LIBS line, which you had***):
> 
> <begin Makefile>
> 
> VDIR = /home/vpopmail
> CC = gcc
> BIN = vqregister
> DEFS = -I$(VDIR)/include -I/usr/include/mysql
> LINKDEFS =
> LIBS = -L$(VDIR)/lib -lvpopmail -lcrypt -L/usr/lib64/mysql -lmysqlclient
> OBJS = main.o cgi.o template.o global.o misc.o config.o register.o password.o 
> \
> vpopmail.o db.o field.o badhosts.o
> 
> INSTALL_DIR = /usr/local/apache/cgi-bin/vqregister
> INSTALL_BIN = vqregister.cgi
> INSTALL_UID = vpopmail
> INSTALL_GID = vchkpw
> 
> <end Makefile>
> 
> Why do you want a create vqregister with a partial install of vpopmail and 
> not the full install?
> 
> ***
> Your LIBS LINE: LIBS = -L$(VDIR)/lib -lvpopmail -lcrypt -L/usr/lib64/mysql 
> -lmysqlclient -lz
> My LIBS Line: LIBS = -L$(VDIR)/lib -lvpopmail -lcrypt -L/usr/lib64/mysql 
> -lmysqlclient
> 
> Eric
> 
> On 7/6/2015 9:22 AM, fsanti...@deviltracks.net wrote: I should add that the 
> reason I ask is I'm trying to make us of vqregister and at compile time I get 
> this error: 
> 
> /usr/bin/ld: cannot find -lvpopmail 
> 
> I installed my QMT using the latest github scripted method. 
> 
> Will vqregister simply not work for me or is there a way to tweak my Makefile 
> to make it work? 
> 
> Makefile attached. Thanks. 
> 
> - Fabe 
> 
> On 2015-07-06 11:09, fsanti...@deviltracks.net wrote: 
> Hello, 
> 
> Is there a way for me to take the vpopmail srpm file and run a 
> modified compilation / install sequence that will simply place the 
> vpopmail include and lib files in the correct locations for me but do 
> nothing else? or a manual way to do this correctly? 
> 
> - Fabe 
> 
> --------------------------------------------------------------------- 
> To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com 
> For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
> For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com

 

Reply via email to