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