[exim] Building exim manually on Freebsd 10.1 AMD 64 ld: can…

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Godfrey
Data:  
Para: exim-users
Assunto: [exim] Building exim manually on Freebsd 10.1 AMD 64 ld: cannot find -llber
Hello

I have had no problem building exim-4.85 manually. Before we get going I can install exim-mysql from the ports, no issues and from pkg install -y exim-mysql no issue

How ever I want to get exim working with spam assassin and get away from the troubles of bug 1533

To do this I downloaded and the tar.gz and etc etc etc patched the file etc etc the old story. I am doing it this way from instruction provided from a fellow member and it works on the freebsd 10.1 i386

How ever on the freebsd 10.1 amd 64 version the following happens

after running make clean ; make makefile; make

we get this

gcc dane.c
gcc version.c
gcc -o exim
/usr/local/bin/ld: cannot find -llber
collect2: error: ld returned 1 exit status
*** Error code 1

Stop.
make[1]: stopped in /root/Gd/exim-4.85/build-FreeBSD-amd64
*** Error code 1

Stop.
make: stopped in /root/Gd/exim-4.85

Scratching around on google others have had the same problem and I tried the following before coming asking for help.

root@204.149 / # /usr/bin/ld -lsasl2
/usr/bin/ld: warning: cannot find entry symbol _start; not setting start address
//lib/libc.so.7: undefined reference to `__progname'
//lib/libc.so.7: undefined reference to `environ'

Then checked to see if the following was installed

cyrus-sasl2
gdbm-1.11_2
gdbmods

The are

I have also done the following
ln -s /usr/local/lib/libsasl2.so /usr/lib/libsasl2.so
ln -s /usr/local/bin/gcc48 /usr/local/bin/gcc

Running the following gets me the following error.
root@204.149 / # /usr/bin/ld -lsasl2
/usr/bin/ld: warning: cannot find entry symbol _start; not setting start address
//lib/libc.so.7: undefined reference to `__progname'
//lib/libc.so.7: undefined reference to `environ'

That ends the helpful hints and tipd I found for others troubles.

Unfortunately I don't know what to do from here and would appreciate some assistance as this is beyond me.

Thank you in anticipation of your assistance

Kind regards

Godfrey