Well I have made the change to /etc/ld.so.conf and ran ldconfig. [EMAIL PROTECTED] qmailadmin-1.0.6]# cat /etc/ld.so.conf /usr/X11R6/lib /usr/lib/qt3/lib /usr/lib/mysql /var/lib/mysql /var/lib/mysql/mysql
I still get: [EMAIL PROTECTED] qmailadmin-1.0.6]# make make all-recursive make[1]: Entering directory `/usr/src/qmailadmin-1.0.6' make[2]: Entering directory `/usr/src/qmailadmin-1.0.6' gcc -g -O2 -o qmailadmin qmailadmin.o alias.o autorespond.o forward.o mailinglist.o user.o util.o auth.o template.o command.o show.o cgi.o limits.o dotqmail.o -L/var/vpopmail/lib -lvpopmail -L/usr/lib/mysql -lmysqlclient -lz -lnsl -lm -lcrypt /usr/bin/ld: cannot find -lmysqlclient collect2: ld returned 1 exit status make[2]: *** [qmailadmin] Error 1 make[2]: Leaving directory `/usr/src/qmailadmin-1.0.6' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/qmailadmin-1.0.6' make: *** [all-recursive-am] Error 2 -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, September 04, 2003 5:27 PM To: [EMAIL PROTECTED] Subject: Re: [qmailadmin] 1.0.6 help "/usr/bin/ld: cannot find -lmysqlclient" make sure that you have mysql library path in /etc/ld.so.conf and run ldconfig to recompile the (I think its a hash) file > When I run the MAKE it gets to this line: > > gcc -g -O2 -o qmailadmin qmailadmin.o alias.o autorespond.o forward.o > mailinglist.o user.o util.o auth.o template.o command.o show.o cgi.o > limits.o dotqmail.o -L/var/vpopmail/lib -lvpopmail -L/usr/lib/mysql > -lmysqlclient -lz -lnsl -lm -lcrypt > > then I get: > > /usr/bin/ld: cannot find -lmysqlclient > collect2: ld returned 1 exit status > make[2]: *** [qmailadmin] Error 1 > > > I am not sure what the error means or how to go about fixing it. > > Thank you for your help! > > -Matt
