Re: gnome-libs and DB3



Drazen Kacar wrote:
> 
> Matthew Schalit wrote:
> > Christian Marillat wrote:
> 
> > > Somebody can tell me how to compile gnome-libs against libdb3 3.2.9 ?
> > >
> > > I got this error :
> > >
> > > gnome-dump.o: In function `main':
> > > /home/marillat/src/debian/gnome-libs-1.2.12/libgnome/gnome-dump.c:75:
> > > undefined reference to `__db185_open'
> >
> > Unless things have changed, the Gnome-Libs readme says to
> > use db-2.7.7 - because it's the only one that works :)
> > (Though I noticed some lidbb3 stuff, it never worked).
> 
> I'd be interested in knowing why the readme says that. It's not because
> __db185_open and friends don't exist.
> 
> > If you do an
> >         nm libdb.so | egrep open
> > you'll see there is no __db185_open in there, so how could
> > it work?
> 
> nm /usr/local/lib/libdb-3.2.so | grep __db185_open
> 
> [2509]  |     64740|    1596|FUNC |GLOB |0    |7      |__db185_open
> 
> I suppose that original poster just didn't pass --enable-compat185 to
> configure script and that's all.


Hi Drazen,

Well you found it on yours.  That was cool.  Unfortunately, during a few 
weeks of working on this with Sleepycat, I could never get __db185_open
to exist in my compile, even if I used --enable-compat185.  I'm running
i586-sco-sysv5uw7.1.1.

However, it did pass 99% of all it's testsuite, at which point I lost my 
temper with sleepycat because I spent all that time on it only to find that 
their testsuite doesn't test for __db185_open.

I tried both 3.1.17 and 3.2.3h from mysql.com.  Neither built the __db185_open
function when I used --enable-compat185.


 
> > I certainly can't solve that one.  2.7.7 is simple. It just works.
> 
> So should 3.2.9 if built appropriately. I hope.


My hope also.  Especially because I figured that whoever wrote gnome-libs 
configure was able to make it work.  However, it never worked for me, and the 
lower-level tech I was working with at sleepycat couldn't help.

My suggestion is to use the 2.7.7 like the readme says.  I thought that
the issue would continue to arise because other apps search for and use dbopen()
which definitely doesn't exist on any version above 2.7.7.

Thanks for the heads up Drazen :)
Matthew


 
> --
>  .-.   .-.    Sarcasm is just one more service we offer.
> (_  \ /  _)
>      |        dave arsdigita com
>      |




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