[Evolution] evolution 0.11 / db3 problem on Solaris



Having evolution using db3 and gnome basics using db1 seems to have
hit a problem on Solaris. The linker refuses to link with both
libraries in wombat:

 : :Making all in wombat
 : :gmake[2]: Entering directory `/opt/scratch/GNU.DESK/evolution-0.11/wombat'
 : :gcc -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"wombat\"                          -I../e-util           
                          -I..                                            -I../addressbook/backend            
            -I../addressbook/backend                        -I../calendar                           
-I../calendar/pcs                               -I../calendar/pcs                               
-I../libical/src/libical                        -I../libical/src/libical                        
-I/usr/local/include -DNEED_GNOMESUPPORT_H -I/usr/local/lib/gnome-libs/include -I/usr/local/include/glib-1.2 
-I/usr/local/lib/glib/include -I/usr/local/include/gtk-1.2 -I/usr/openwin/include                             
     -I/usr/local/include -DNEED_GNOMESUPPORT_H -I/usr/local/lib/gnome-libs/include 
-I/usr/local/include/gtk-1.2 -I/usr/local/include/glib-1.2 -I/usr/local/lib/glib/include 
-I/usr/openwin/include -I/usr/local/include/gnome-xml -I/usr/local/lib/vfs/include -D_REENTRANT               
          -DEVOLUTION_DATADIR=\""/usr/local/share"\"              
-DEVOLUTION_LOCALEDIR=\""/usr/local/lib/locale"\"  -I/usr/local/include/gtk-1.2 -I/usr/local/include/glib-1.2 
-I/usr/local/lib/glib/include -I/usr/openwin/include  -O2 -Wall -Wunused  -c wombat-moniker.c
 : :gcc -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"wombat\"                          -I../e-util           
                          -I..                                            -I../addressbook/backend            
            -I../addressbook/backend                        -I../calendar                           
-I../calendar/pcs                               -I../calendar/pcs                               
-I../libical/src/libical                        -I../libical/src/libical                        
-I/usr/local/include -DNEED_GNOMESUPPORT_H -I/usr/local/lib/gnome-libs/include -I/usr/local/include/glib-1.2 
-I/usr/local/lib/glib/include -I/usr/local/include/gtk-1.2 -I/usr/openwin/include                             
     -I/usr/local/include -DNEED_GNOMESUPPORT_H -I/usr/local/lib/gnome-libs/include 
-I/usr/local/include/gtk-1.2 -I/usr/local/include/glib-1.2 -I/usr/local/lib/glib/include 
-I/usr/openwin/include -I/usr/local/include/gnome-xml -I/usr/local/lib/vfs/include -D_REENTRANT               
          -DEVOLUTION_DATADIR=\""/usr/local/share"\"              
-DEVOLUTION_LOCALEDIR=\""/usr/local/lib/locale"\"  -I/usr/local/include/gtk-1.2 -I/usr/local/include/glib-1.2 
-I/usr/local/lib/glib/include -I/usr/openwin/include  -O2 -Wall -Wunused  -c wombat.c
 : :/usr/local/bin/bash ../libtool --mode=link gcc  -O2 -Wall -Wunused   -o wombat  wombat-moniker.o wombat.o 
../addressbook/backend/pas/libpas.a               /usr/local/lib/libdb3.a                                     
            ../addressbook/backend/ebook/libebook.la                ../e-util/ename/libename.la               
      ../calendar/pcs/libpcs.a                                ../calendar/cal-util/libcal-util.la             
../libical/src/libical/libical.la                       ../libversit/libversit.la                             
  ../e-util/libedb3util.la                                ../e-util/libeutil.la                           
../libwombat/libwombat.la                                                                                     
  -L/usr/local/lib -L/usr/openwin/lib -R/usr/openwin/lib -R/usr/local/lib -lgal -lgnomeprint -lglade-gnome 
-lglade -lxml -lz -lgnomeui -lart_lgpl -lgdk_imlib -lSM -lICE -lgnome -lgnomesupport -lesd -lresolv -lrt 
-laudiofile -ldb -lgdk_pixbuf -lgtk -lgdk -lgmodule -lglib -ldl -lXext -lX11 -lsocket -lnsl -lm 
-lgnomecanvaspixbuf -liconv -lpthread -L/usr/local/lib -lgthread -lglib -lthread                              
                -L/usr/local/lib -L/usr/openwin/lib -R/usr/openwin/lib -R/usr/local/lib -lbonobo -loaf 
-lORBitCosNaming -lORBit -lIIOP -lORBitutil -lbonobox -lglade-gnome -lglade -lxml -lz -lgdk_pixbuf 
-lgnomecanvaspixbuf -lgnomevfs -lgthread -lthread -lgnomeui -lart_lgpl -lgdk_imlib -lSM -lICE -lgtk -lgdk 
-lgmodule -lXext -lX11 -lgnome -lgnomesupport -lesd -lresolv -lrt -lnsl -lsocket -laudiofile -lm -ldb -lglib 
-ldl 
 : :mkdir .libs
 : :gcc -O2 -Wall -Wunused -o .libs/wombat wombat-moniker.o wombat.o ../addressbook/backend/pas/libpas.a 
/usr/local/lib/libdb3.a ../addressbook/backend/ebook/.libs/libebook.so ../e-util/ename/.libs/libename.so 
../calendar/pcs/libpcs.a ../calendar/cal-util/.libs/libcal-util.so ../libical/src/libical/.libs/libical.so 
../libversit/.libs/libversit.al ../e-util/.libs/libedb3util.al ../e-util/.libs/libeutil.al -L/usr/local/lib 
-L/usr/openwin/lib -lgal -lgnomeprint -lglade-gnome -lglade -lxml -lz -lgnomeui -lart_lgpl -lgdk_imlib -lSM 
-lICE -lgnome -lgnomesupport -lesd -lresolv -lrt -laudiofile -ldb -lgdk_pixbuf -lgtk -lgdk -lgmodule -lglib 
-ldl -lXext -lX11 -lsocket -lnsl -lm -lgnomecanvaspixbuf -liconv ../libwombat/.libs/libwombat.so 
-L/usr/local/lib -L/usr/openwin/lib -lgal -lgnomeprint -lglade-gnome -lglade -lxml -lz -lgnomeui -lart_lgpl 
-lgdk_imlib -lSM -lICE -lgnome -lgnomesupport -lesd -lresolv -lrt -laudiofile -ldb -lgdk_pixbuf -lgtk -lgdk 
-lgmodule -lglib -ldl -lXext -lX11 -lsocket -lnsl -lm -lgnomecanvaspixbuf -liconv -lpthread -L/usr/local/lib 
-lgthread -lglib -lthread -L/usr/local/lib -L/usr/openwin/lib -lbonobo -loaf -lORBitCosNaming -lORBit -lIIOP 
-lORBitutil -lbonobox -lglade-gnome -lglade -lxml -lz -lgdk_pixbuf -lgnomecanvaspixbuf -lgnomevfs -lgthread 
-lthread -lgnomeui -lart_lgpl -lgdk_imlib -lSM -lICE -lgtk -lgdk -lgmodule -lXext -lX11 -lgnome 
-lgnomesupport -lesd -lresolv -lrt -lnsl -lsocket -laudiofile -lm -ldb -lglib -ldl -R/usr/local/lib 
-R/usr/openwin/lib
 :*:ld: fatal: symbol `__db_close' is multiply defined:
 :*:    (file /usr/local/lib/libdb3.a(db.o) and file /usr/local/lib/libdb.a(db.o));
 :*:ld: fatal: symbol `__db_c_destroy' is multiply defined:
 :*:    (file /usr/local/lib/libdb3.a(db_cam.o) and file /usr/local/lib/libdb.a(db_am.o));
 :*:ld: fatal: symbol `__db_sync' is multiply defined:
 :*:    (file /usr/local/lib/libdb3.a(db_am.o) and file /usr/local/lib/libdb.a(db_am.o));
 :*:ld: fatal: symbol `memp_register' is multiply defined:
 :*:    (file /usr/local/lib/libdb3.a(mp_register.o) and file /usr/local/lib/libdb.a(mp_open.o));
 :*:ld: fatal: symbol `__memp_alloc' is multiply defined:
 :*:    (file /usr/local/lib/libdb3.a(mp_alloc.o) and file /usr/local/lib/libdb.a(mp_region.o));
 :*:ld: fatal: symbol `memp_sync' is multiply defined:
 :*:    (file /usr/local/lib/libdb3.a(mp_sync.o) and file /usr/local/lib/libdb.a(mp_sync.o));
 :*:ld: fatal: symbol `memp_fsync' is multiply defined:
 :*:    (file /usr/local/lib/libdb3.a(mp_sync.o) and file /usr/local/lib/libdb.a(mp_sync.o));
 :*:ld: fatal: symbol `__os_open' is multiply defined:
 :*:    (file /usr/local/lib/libdb3.a(os_open.o) and file /usr/local/lib/libdb.a(os_open.o));
 :*:ld: fatal: symbol `__db_open' is multiply defined:
 :*:    (file /usr/local/lib/libdb3.a(db.o) and file /usr/local/lib/libdb.a(os_open.o));
 :*:ld: fatal: File processing errors. No output written to .libs/wombat
 :*:collect2: ld returned 1 exit status
 :*:gmake[2]: *** [wombat] Error 1
 : :gmake[2]: Leaving directory `/opt/scratch/GNU.DESK/evolution-0.11/wombat'
 :*:gmake[1]: *** [all-recursive] Error 1
 : :gmake[1]: Leaving directory `/opt/scratch/GNU.DESK/evolution-0.11'
 :*:gmake: *** [all-recursive-am] Error 2

Has anybody found a solution ? 

Thanks for your help
Amicalement.
Philippe.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]