Hi,

 

May be someone has tried compiling monetdb as a static binary please? I tried compiling the binary using –static flag but the resulting binary is still ‘Dynamically linked’ binary. I think it is due to glibc and dl libraries. If I pass libglibc.a and libdl.a statically then I get errors like:

 

=============

/tmp/mserver5-rkIbiC.o: In function `mdlopen':

/data/ahmad/test/MonetDB/gdk/gdk_posix.c:454: warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking

/usr/lib/x86_64-linux-gnu/libreadline.a(complete.o): In function `rl_username_completion_function':

(.text+0x2bc9): warning: Using 'getpwent' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking

/data/ahmad/test/MonetDB/common/stream/stream.c:1765: warning: Using 'gethostbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking

=============

 

 

Does anyone know the workaround of creating static binary of monetdb executable please?

 

Cheers, Ahmad