Fabe, What is even stranger is that your install seems correct and mine seems incorrect according to the output of the following two rpm listings...
# rpm -q --list libvpopmail-devel # rpm -q --list vpopmail Now I have no idea why /home/vpopmail/lib exists on my two toasters. According to the output (from the above commands) it was put their by neither rpm, vpopmail nor libvpopmail-devel . EricB On 7/8/2015 6:21 PM, fsanti...@deviltracks.net wrote: > > > > > > I agree. i followed the instructions for a COS 6.x install with the > github scripted installation. so i have no clue...... strange. > > - Fabe > > > > On 2015-07-08 20:17, Eric Broch wrote: > >> Your install seems strange to me at this point as both my CentOS 5 >> and 6 (x86_64) installs have /home/vpopmail/lib/libvpopmail.a on the >> disk. >> >> On 7/8/2015 6:01 PM, fsanti...@deviltracks.net wrote: >>> >>> >>> >>> >>> >>> Tried that. no luck. >>> >>> same error. >>> >>> >>> >>> On 2015-07-08 19:51, Eric Broch wrote: >>> >>> I'm running the same architecture. Can you change the LIBS >>> option "-L$(VDIR)/lib" to "-L/usr/lib64/"? >>> >>> >>> On 7/8/2015 5:36 PM, fsanti...@deviltracks.net wrote: >>> >>> >>> >>> >>> >>> Eric, >>> >>> still doesn't work. i installed the rpm but my a file shows >>> under /usr/lib64. difference in architecture a problem? >>> >>> i am running centos 6.6 64-bit. >>> >>> - Fabe >>> >>> >>> >>> On 2015-07-08 19:20, Eric Broch wrote: >>> >>> Do you have this... >>> >>> >>> http://mirrors.qmailtoaster.com/current/CentOS/6/x86_64/libvpopmail-devel-5.4.33-0.qt.el6.x86_64.rpm >>> >>> installed? >>> >>> 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 >>> >>> >>>