My compiling platform is an old FC5 with full install I have found a /usr/lib/libdb-4.3.a file it should be the static linked version of libdb. so I made a link "ln -s libdb-4.3.a libdb.a " makes me successful pass my last problem. but something new com up.
I got a lot of errors like /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 <ralf.hildebra...@charite.de> > * damian lee <damianjl...@gmail.com>: > > 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? > > Of course. Otherwise this lib would have non-static dependencies. > > -- > Ralf Hildebrandt > Geschäftsbereich IT | Abteilung Netzwerk > Charité - Universitätsmedizin Berlin > Campus Benjamin Franklin > Hindenburgdamm 30 | D-12203 Berlin > Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962 > ralf.hildebra...@charite.de | http://www.charite.de > >