Re: compile Postfix in static linking

2010-08-12 Thread damian lee
/usr/lib/gcc/i386-redhat-linux/4.1.0/../../../libdb.a(mut_pthread.o): In function `__db_pthread_mutex_destroy': undefined reference to `pthread_mutex_destroy' It seems my static linked version of libdb doesn't work. Any suggestions? Damian Lee 2010/8/11 Ralf Hildebrandt >

Re: compile Postfix in static linking

2010-08-10 Thread damian lee
Thank you for your answer Sahil. In fact I don't fully understand the problem. Do you mean I have to have a "*static* libdb library" inorder to compile my Postfix in static linking? 2010/8/11 Sahil Tandon > On Wed, 2010-08-11 at 11:10:31 +0800, damian lee wrote: > > &

compile Postfix in static linking

2010-08-10 Thread damian lee
Hello everyone, recently I am trying to compile postfix in static linking so I can move around the server without any dependency. I tried to pass the -static to the gcc compiler with make makefiles CC='gcc -Wmissing-prototypes' OPT='-static -O' DEBUG='-g' when I do make command, it always jump