In my attempt to use either tdb or gdbm, I edit Local/Makefile and add:
USE_TDB = yes
DBMLIB = -ltdb
or
USE_GDBM = yes
DBMLIB = -lgdbm
In both cases, the compilation fails with the error that it cannot find
tdb.h and gdbm.h are both in /usr/local/include/
ccache clang -g -O0 exim_dbmbuild.c
c
Have you tried LOOKUP_INCLUDE += -I/usr/local/include out of interest ?
(not an exim expert, so may be totally wrong!)
Ian
On Thu, Dec 21, 2023 at 1:35 PM Odhiambo Washington via Exim-users <
exim-users@lists.exim.org> wrote:
> In my attempt to use either tdb or gdbm, I edit Local/Makefile and
I have LOOKUP_INCLUDE= -I/usr/local/include
On Thu, Dec 21, 2023 at 4:54 PM Ian B wrote:
> Have you tried LOOKUP_INCLUDE += -I/usr/local/include out of interest ?
> (not an exim expert, so may be totally wrong!)
>
> Ian
>
> On Thu, Dec 21, 2023 at 1:35 PM Odhiambo Washington via Exim-users <
>
On 12/21/23 13:32, Odhiambo Washington via Exim-users wrote:
In both cases, the compilation fails with the error that it cannot find
tdb.h and gdbm.h are both in/usr/local/include/
Add "-I /usr/local/include/" to CFLAGS. A += at the top of the Makefile is
fine.
--
Cheers,
Jeremy
--
## su
On Thu, Dec 21, 2023 at 5:13 PM Jeremy Harris via Exim-users <
exim-users@lists.exim.org> wrote:
> On 12/21/23 13:32, Odhiambo Washington via Exim-users wrote:
> > In both cases, the compilation fails with the error that it cannot find
> > tdb.h and gdbm.h are both in/usr/local/include/
>
> Add "
On 12/21/23 15:06, Odhiambo Washington via Exim-users wrote:
I added that, but it doesn't change anything, I am afraid.
Possibly you are not building with the makefile you think you are.
Try "make distclean && make". If that does not work,
do "make distclean && make FULLECHO='' and check that
On Thu, Dec 21, 2023 at 6:28 PM Jeremy Harris via Exim-users <
exim-users@lists.exim.org> wrote:
> On 12/21/23 15:06, Odhiambo Washington via Exim-users wrote:
> > I added that, but it doesn't change anything, I am afraid.
>
> Possibly you are not building with the makefile you think you are.
>
>
On 12/21/23 15:35, Odhiambo Washington via Exim-users wrote:
ld: error: unable to find library -ltdb
Ah, right; it's not an include file issue
but a library file issue.
Find where libtdb.so is on your system;
install it if it really isn't there
and/or add a "-L " to LDFLAGS
--
Cheers,
Jeremy
On Thu, Dec 21, 2023 at 6:52 PM Jeremy Harris via Exim-users <
exim-users@lists.exim.org> wrote:
> On 12/21/23 15:35, Odhiambo Washington via Exim-users wrote:
> > ld: error: unable to find library -ltdb
>
> Ah, right; it's not an include file issue
> but a library file issue.
>
> Find where libtd
I'd be tempted to strace it, and look at the opens to see whats actually
looking where gives any tips. I often find this gets to the heart of whats
happening.
On Thu, Dec 21, 2023 at 4:28 PM Odhiambo Washington via Exim-users <
exim-users@lists.exim.org> wrote:
> On Thu, Dec 21, 2023 at 6:52 PM J
On 12/21/23 16:26, Odhiambo Washington via Exim-users wrote:
So I added this to the top of the Makefile:
LDFLAGS += -L/usr/local/lib
But still no joy.
Hmm. Seems LDFLAGS is used for something subtly distinct to LFLAGS.
Try the latter.
--
Cheers,
Jeremy
--
## subscription configuration (re
On Thu, Dec 21, 2023 at 07:26:09PM +0300, Odhiambo Washington via Exim-users
wrote:
> So I added this to the top of the Makefile:
> LDFLAGS += -L/usr/local/lib
>
> But still no joy.
Resulting log (below) has no "-L/usr/local/lib"...
Looks like this definition was not applied or was overwritten
On Thu, Dec 21, 2023 at 7:46 PM Jeremy Harris via Exim-users <
exim-users@lists.exim.org> wrote:
> On 12/21/23 16:26, Odhiambo Washington via Exim-users wrote:
> > So I added this to the top of the Makefile:
> > LDFLAGS += -L/usr/local/lib
> >
> > But still no joy.
>
> Hmm. Seems LDFLAGS is used
13 matches
Mail list logo