[EXIM] exim 2.053 doesn't compile on Debian/GNU Linux 2.0

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Marc Haber
Date:  
À: exim-users
Sujet: [EXIM] exim 2.053 doesn't compile on Debian/GNU Linux 2.0
Hi!

When I try to compile exim 2.053 on my Debian/GNU Linux 2.0 system,
make fails:
|gcc -o exim accept.o child.o daemon.o dbfn.o debug.o deliver.o direct.o directory.o dns.o drtables.o exim.o expand.o filter.o globals.o header.o host.o log.o match.o moan.o os.o parse.o queue.o readconf.o retry.o rewrite.o route.o search.o smtp_in.o spool_in.o spool_out.o store.o string.o tod.o transport.o tree.o verify.o perl.o version.o \
| libident/libident.a pcre/libpcre.a directors/directors.a \
| routers/routers.a transports/transports.a lookups/lookups.a \
| -lnsl -ldb -lresolv \
| -rdynamic -L/usr/local/lib /usr/lib/perl5/i386-linux/5.004/auto/DynaLoader/DynaLoader.a -L/usr/lib/perl5/i386-linux/5.004/CORE -lperl -lnsl -lndbm -lgdbm -ldb -ldl -lm -lc -lposix -lcrypt

|ld: cannot open -lgdbm: No such file or directory
|make[1]: *** [exim] Error 1
|make[1]: Leaving directory `/mnt/maindisk/home/mh/exim-2.053/build-Linux-i386'
|make: *** [go] Error 2
|mh@torres:/home/mh/exim-2.053 >

If I understand things correctly, -lgdbm looks for libgdbm, which is
present:
|=>ROOT<=@torres:/home/mh/exim-2.053 # locate libgdbm
|/mnt/maindisk/usr/lib/libgdbm.so.1
|/mnt/maindisk/usr/lib/libgdbm.so.1.7.3
|/mnt/maindisk/usr/lib/libgdbm.so.2
|=>ROOT<=@torres:/home/mh/exim-2.053 # locate libdb
|/lib/libdb-2.0.7.so
|/lib/libdb.so.2
|/mnt/maindisk/usr/lib/libdb.a
|/mnt/maindisk/usr/lib/libdb.so
|/mnt/maindisk/usr/lib/libdb2.so.2
|/mnt/maindisk/usr/lib/libdb2.so.2.3.16
|=>ROOT<=@torres:/home/mh/exim-2.053 # locate libndbm
|/mnt/maindisk/usr/lib/libndbm.a
|/mnt/maindisk/usr/lib/libndbm.so
|=>ROOT<=@torres:/home/mh/exim-2.053 #

I can't find where the makefile sets the search path for libraries
though.

The same Local/Makefile works fine with the exim-2.05 distribution.

What am I doing wrong?

Greetings
Marc

-- 
-------------------------------------- !! No courtesy copies, please !! -----
Marc Haber          |   " Questions are the         | Mailadresse im Header
Karlsruhe, Germany  |     Beginning of Wisdom "     | Fon: *49 721 966 32 15
Nordisch by Nature  | Lt. Worf, TNG "Rightful Heir" | Fax: *49 721 966 31 29


--
*** Exim information can be found at http://www.exim.org/ ***