[Coldstuff] Re: Cold-Coldstuff digest, Vol 1 #75 - 1 msg

horza coldstuff@cold.org
Sun, 21 Apr 2002 16:27:58 -0500


> From: "Robert Bradley" <bradleyr41@adelphia.net>
>
> For Mandrake, the simplest solution for this is to create a symbolic
> link of the ndbm.h header file.  Try the following command as root:
>
> Ln -s /usr/include/db1/ndbm.h /usr/include/ndbm.h

hm...  well, that definitely changed it, but it's still breaking.  the 
undefined references are in the same places, to the same things, but the 
output is different now, for example:
-----
lookup.o: In function `lookup_open':
lookup.o(.text+0x24a): undefined reference to `dbm_open'
----- instead of -----
lookup.o: In function `lookup_open':
/home/horza/Downloads/Genesis-1.1.10-STABLE/src/lookup.c:60: undefined
reference to `dbm_open'
-----

I made the symlink as root, resulting in this:
-----
$ ls /usr/include/ndbm.h
lrwxrwxrwx    1 root     root           23 Apr 21 16:11 
/usr/include/ndbm.h -> /usr/include/db1/ndbm.h
-----

which looks right to me.

however, in the configure segment, I still get:
-----
   Checking for <ndbm.h>... no
   Checking for <db1/ndbm.h>... yes
   Checking for <gdbm-ndbm.h>... no
** working around odd placement of ndbm.h file
-----
which looks like it didn't find that symlink,  but did find the actual 
file...

so I'm still stuck.


thanks!


Love,
Ira