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, [email protected] 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, [email protected] 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, [email protected] 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: [email protected] >>>> For additional commands, e-mail: >>>> [email protected] >>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: [email protected] >>> For additional commands, e-mail: [email protected] > > >
