[syslog-ng] Static compilation
    Balazs Scheidler 
    bazsi at balabit.hu
       
    Mon Jul  2 09:05:23 CEST 2007
    
    
  
On Fri, 2007-06-29 at 11:24 +0200, Nicolas de Marqué - Fromentin wrote:
> Hello, 
>  
> I have problems with compilation of syslog-ng on a solaris 5.8 :
>  
> After Syslog-ng Configuration :
>         ./configure --prefix=/tmp/local --disable-spoof-source
>         --enable-static-linking
> => i have this error :
>         checking for static GLib libraries... no
>         configure: error: static GLib libraries not found (a file
>         named libglib-2.0.a), either link GLib dynamically using the
>         --enable-dynamic-linking or install a static GLib
> => but i have the correct file :
>         ls -la /tmp/local/lib/libglib-2.0.a
>         -rw-r--r--   1 outils   dinb     2096104 Jun 28
>         15:51 /tmp/local/lib/libglib-2.0.a
> Have you an idea about this problem?
You need to pass an LDFLAGS environment variable which contains the
library path as a linker option like this:
-L/tmp/local/lib
-- 
Bazsi
    
    
More information about the syslog-ng
mailing list