Re: Compiling gnome on Solaris 2.7



On Wed, Aug 09, 2000 at 08:22:04AM -0700, Aaron Ginn wrote:
> Rob Turknett wrote:
> > 
> > I just ran into this problem myself. You need to recompile Berkeley DB with
> > 1.85 compatibility turned on. Instructions on how to do this are at
> > http://www.clanger9.demon.co.uk/computer/gnome/
> > 
> > Cheers,
> > Rob Turknett
> > Sun Microsystems
> > 
> 
> Rob,
> 
> Thanks for the link.  I've successfully recompiled the Berkeley db and I
> was able to get through configure.  Now I'm having a problem during the
> actual compilation process.  Here's the error:
> 
> ======================================================
> make[2]: Entering directory
> `/home/ginn/gnu-tools/download/gnome/gnome-libs-1.2.3/libgnome'
> /bin/sh ../libtool --mode=link gcc -g -O2 -Wall -Wunused   -o
> gnome-dump-metadata -L/home/ginn/gnu-tools/lib -lglib gnome-dump.o
> libgnome.la ../support/libgnomesupport.la       
> -L/home/ginn/gnu-tools/lib -lesd -laudiofile -lm -lresolv -lrt -lnsl
> -lsocket -L/home/ginn/gnu-tools/lib -laudiofile -lm -ldb
> -L/home/ginn/gnu-tools/lib -lglib -ldl  -lz -lresolv -lm 
> gcc -g -O2 -Wall -Wunused -o .libs/gnome-dump-metadata
> -L/home/ginn/gnu-tools/lib -lglib gnome-dump.o .libs/libgnome.so -lglib
> -lm -ldl -lz -lresolv -lm ../support/.libs/libgnomesupport.so -lz
> -lresolv -lm -L/home/ginn/gnu-tools/lib -lesd -laudiofile -lm -lresolv
> -lrt -lnsl -lsocket -L/home/ginn/gnu-tools/lib -laudiofile -lm -ldb
> -L/home/ginn/gnu-tools/lib -lglib -ldl -lz -lresolv -lm
> -R/home/ginn/gnu-tools/lib
> Undefined                       first referenced
>  symbol                             in file
> __db185_open                        gnome-dump.o
> ld: fatal: Symbol referencing errors. No output written to
> .libs/gnome-dump-metadata
> collect2: ld returned 1 exit status
> make[2]: *** [gnome-dump-metadata] Error 1
> make[2]: Leaving directory
> `/home/ginn/gnu-tools/download/gnome/gnome-libs-1.2.3/libgnome'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory
> `/home/ginn/gnu-tools/download/gnome/gnome-libs-1.2.3'
> make: *** [all-recursive-am] Error 2
> ======================================================
> 
> This appears to be related to the db 1.85 package.  Is this telling me
> that it can't find the db_185.h header file where __db185_open is
> defined, or is there a problem with the library that I built?
> 

You will see that a lot more often also later on.
What u need to do is edit the generated makefiles
and add -ldb to the corresponding flags.

You also have to make sure your LD_LIBRARY_PATH and/or 
compiler -L switch points to the corresponding dir where the libdb.so 
can be found.

Its a crime! I am doing the same here! :-(

good luck!
jan




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