Okay. As of now I have installed postfix w/o mysql support. I will add that support later.
Thanks for your help. - Mayuresh On Sun, Feb 1, 2009 at 10:41 PM, Victor Duchovni < victor.ducho...@morganstanley.com> wrote: > On Sun, Feb 01, 2009 at 10:07:32PM -0500, Mayuresh Kasture wrote: > > > Thanks, Terry, for your reply. > > > > I am not sure if I am using SELinux, AppArmor. I didn't install any of > these > > explicitly. I am not sure if they run by default. > > > > While doing make, I used > > *make makefiles 'CCARGS=-DHAS_MYSQL ** -I/usr/local/mysql/include/mysql > > -DUSE_SASL_AUTH -I/usr/local/include/sasl -I/usr/local/bdb/include' > > 'AUXLIBS=-L/usr/local/mysql/lib/mysql -lmysqlclient -lz -lm > -L/usr/local/lib > > -lsasl2 -L/usr/local/bdb/lib' > > * > > And I got error during make install. > > > > But, when I removed mysql related arguments from the make command, > > everything worked fine. The make command I used now is, > > *make makefiles 'CCARGS=-DUSE_SASL_AUTH -I/usr/local/include/sasl > > -I/usr/local/bdb/include' 'AUXLIBS=-lz -lm -L/usr/local/lib -lsasl2 > > -L/usr/local/bdb/lib' > > > > *I am still not getting what the problem is. I am using the correct > library > > path */usr/local/mysql/lib/mysql *in the command which contains the file > * > > libmysqlclient.so.16 > > Don't confuse the "-L" flag which enables the linker to find the library > at compile-time, with the compiler-dependent flags that enable the > run-time shared-library linker to find the library at run-time. > > Add appropriate AUXLIBS flags to add the mysql library to the run-time > library path. > > -- > Viktor. > > Disclaimer: off-list followups get on-list replies or get ignored. > Please do not ignore the "Reply-To" header. > > To unsubscribe from the postfix-users list, visit > http://www.postfix.org/lists.html or click the link below: > <mailto:majord...@postfix.org?body=unsubscribe%20postfix-users> > > If my response solves your problem, the best way to thank me is to not > send an "it worked, thanks" follow-up. If you must respond, please put > "It worked, thanks" in the "Subject" so I can delete these quickly. >