On Fri, 2010-08-13 at 04:59:49 +0800, damian lee wrote:
> 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 lib
* damian lee :
> 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.
Yes, I would think so
> so I made a link "ln -s libdb-4.3.a libdb.a " makes me successful pass my
> last problem.
> but something ne
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
* 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?
Of course. Otherwise this lib would have non-static dependencies.
--
Ralf Hildebrandt
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:
>
> > recently I am trying to c
On Wed, 2010-08-11 at 11:10:31 +0800, damian lee wrote:
> 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'