Göran Höglund writes:

Hi,
Well I tried:
./configure CPPFLAGS=-I/usr/local/BerkeleyDB/include CCLD=/usr/local/bin/ld
CXXLD=/usr/local/bin/ld

But ended up with the same result.
I guess BillT is on the track the configure script writes the following:
checking whether the gcc linker (/usr/ccs/bin/ld) supports shared
libraries... yes
checking whether -lc should be explicitly linked in... yes
checking dynamic linker characteristics... solaris2.8 ld.so

I guess its easier to change IMAP server than reinstalling/compiling my
entire OS tools....

In addition to CXXLD and CCLD, also try setting LD=



GH


-----Ursprungligt meddelande-----
Från: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] För Sam Varshavchik
Skickat: den 18 mars 2006 14:51
Till: [email protected]
Ämne: Re: [courier-users] Compiling

Bill Taroli writes:



Sam Varshavchik wrote:
It looks like your gcc is not using the binutils version of 'ld', GNU ld, it's trying to run Sun's native ld, which barfs.

Try to run "strings" on binutils' ld. I don't think that "Symbol referencing errors" is a GNU ld error message.

You need to use GNU ld for linking.

This may be more easily said than done. IIRC, the last time I struggled with this Gnu ld requirement I began by installing the new ld and attempting to use it in a build. But every which way I tried, the gcc build (which was built using Solaris ld) couldn't apparently be made to use the alternate linker. This sort of makes sense, seeing as this means glibc is also linked with Solaris ld. From what I gathered, this would mean that gcc, the libs, and anything built with them (pretty much everything I've compiled) would have to be rebuilt. Not a pretty proposition.

Unless of course you know of some way to force the choice of linker for the Courier build?

Try appending "CCLD=/path/to/gnu/ld" and "CXXLD=/path/to/gnu/ld" parameters
to the configure script.




-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmdlnk&kid0944&bid$1720&dat1642
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Attachment: pgpWm5Nr1hFQF.pgp
Description: PGP signature

Reply via email to