[exim] Re: FreeBSD trouble with compiling in either tdb or g…

Góra strony
Delete this message
Reply to this message
Autor: Evgeniy Berdnikov
Data:  
Dla: exim-users
Temat: [exim] Re: FreeBSD trouble with compiling in either tdb or gdbm
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.

> ccache clang -g -O0 exim_dbmbuild.c
> ccache clang -g -O0 -c -O -I/usr/local/include -I/usr/local/include
> -DCOMPILE_UTILITY -o exim_dbmbuild.o exim_dbmbuild.c
> ccache clang -g -O0 -o exim_dbmbuild
> ccache clang -g -O0 -O -I/usr/local/include -I/usr/local/include -o
> exim_dbmbuild exim_dbmbuild.o -lcrypt -lm -lutil -lexecinfo -ltdb
> ld: error: unable to find library -ltdb

--
Eugene Berdnikov

--
## subscription configuration (requires account):
## https://lists.exim.org/mailman3/postorius/lists/exim-users.lists.exim.org/
## unsubscribe (doesn't require an account):
## exim-users-unsubscribe@???
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/