[jdev] yahoo transport glib-config: not found

Chandan Teckchandani chandan at adobe.com
Mon Sep 27 09:12:48 CDT 2004


Hi Admins / Paul Curtis,
I am trying to build yahoo-trasnport on Jabberd1.4.3 on Solaris 8
Version: yahoo:2.3.2.

bash-2.03$ pkginfo |grep gcc
application SMCgcc         gcc
bash-2.03$ pkginfo -l SMCgcc
   PKGINST:  SMCgcc
      NAME:  gcc
  CATEGORY:  application
      ARCH:  sparc
   VERSION:  3.3
   BASEDIR:  /usr/local
    VENDOR:  Free Software Foundation
    PSTAMP:  Steve Christensen
  INSTDATE:  Sep 20 2004 14:57
     EMAIL:  steve at smc.vnet.net
    STATUS:  completely installed
     FILES:     2277 installed pathnames
                   9 shared pathnames
                   6 linked files
                 156 directories
                  58 executables
              777104 blocks used (approx)

bash-2.03$ pkginfo |grep glib
application SMCglib        glib
bash-2.03$ pkginfo -l SMCglib
   PKGINST:  SMCglib
      NAME:  glib
  CATEGORY:  application
      ARCH:  sparc
   VERSION:  2.2.3
   BASEDIR:  /usr/local
    VENDOR:  The GLib-2.0 Team
    PSTAMP:  Steve Christensen
  INSTDATE:  Sep 21 2004 16:44
     EMAIL:  steve at smc.vnet.net
    STATUS:  completely installed
     FILES:      608 installed pathnames
                   9 shared pathnames
                 139 directories
                  12 executables
               26054 blocks used (approx)


I have build yahoo.so file inspite of the error but yahoo crashes as soon as I start.
ld.so.1: ./jabberd/jabberd: fatal: relocation error: file ./yahoo-transport/yahoo-transport.so: symbol g_malloc0: referenced symbol 
not found

Enclosed please find the logs.
gcc -g -Wall -I. -I.. -I/usr/local/ssl/include/openssl -DHAVE_SSL -I/usr/local/include -fPIC -D_REENTRANT -I../jabberd  `glib-config --cflags` -I/usr/local/include -I/usr/local/ssl/include -I/usr/local/mysql/include/mysql -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include  -c -o yahoo-transport.o yahoo-transport.c
/bin/sh: glib-config: not found
gcc -g -Wall -I. -I.. -I/usr/local/ssl/include/openssl -DHAVE_SSL -I/usr/local/include -fPIC -D_REENTRANT -I../jabberd  `glib-config --cflags` -I/usr/local/include -I/usr/local/ssl/include -I/usr/local/mysql/include/mysql -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include  -c -o yahoo-session.o yahoo-session.c
/bin/sh: glib-config: not found

Can you please help.
FYI
I have these already set:
LDFLAGS='-L/usr/local/lib -L/usr/local/ssl/lib -L/usr/local/mysql/lib/mysql -L/usr/local/lib/glib-2.0/include -L/usr/local/include/glib-2.0'
CFLAGS='-I/usr/local/ssl/include -I/usr/local/mysql/include/mysql -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include'
CPPFLAGS='-I/usr/local/include -I/usr/local/ssl/include -I/usr/local/mysql/include/mysql -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include'
LD_LIBRARY_PATH=/usr/lib/:/usr/local/lib:/usr/local/ssl/lib:/usr/local/Berke
leyDB.4.2/lib:/usr/local/mysql/lib/mysql:/usr/local/incl
ude/glib-2.0:/usr/local/lib/glib-2.0/include:/etc/lib


Thanks a lot.
Chandan



More information about the JDev mailing list