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? Nicolas
--On Friday, June 29, 2007 11:24 AM +0200 Nicolas de Marqué - Fromentin <nicolas.demarque@gmail.com> 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
Solaris does not generally support static linking (there are exceptions, but they don't apply here). Use dynamic linking instead. -- Carson
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
participants (3)
-
Balazs Scheidler
-
Carson Gaspar
-
Nicolas de Marqué - Fromentin