Compiling to shared libraries

Guus Leeuw jr. guus.leeuw at guusleeuwit.com
Wed May 9 10:36:52 EDT 2007


Goran,

Can you send config.log please?
Is libtool in your $PATH?

glj

On Wed, May 9, 2007 14:52, Göran Höglund wrote:
> Well I have,
> root at apollo:/> echo $PATH
> /usr/local/bin:/usr/local/sbin:/usr/ccs/bin:/usr/local/mysql/bin:/usr/sbin:/us
> r/bin:/usr/lib/courier/bin:/usr/ucb:/sbin:
> \
> /etc:/usr/openwin/bin:/usr/dt/bin:/usr/lib/courier/bin:/usr/lib/courier/sbin
>
>
> I have also made a soft link from /usr/ccs/bin/ld to /usr/local/bin/ld
> as mentiond below to shortcut sun's ld infavor of GNU. The output of
> ./configure says that ld supports share libraries but not
> libtol.
>
> /GH
>
>
>
> Guus Leeuw jr. skrev:
>
>> The more supported way would be to make sure that /usr/local/bin is
>> mentioned first in your $PATH (as opposed to /usr/ccs). That way, you should
>> get GNU ld first...
>>
>> On Wed, May 9, 2007 12:40, Göran Höglund wrote:
>>
>>> Hi,
>>> I am trying to compile SASL (cyrus-sasl-2.1.22) into shared libriries on
>>> a SUN SPARC Solaris  8 machine.
>>>
>>> I only get .la files in /usr/local/lib no .so's
>>>
>>>
>>>
>>> I have down loaded gcc and some otheer tools from Sunfreeware
>>> (gcc_small-3.4.2, make-3.81, libtool-1.5, binutils-2.11.2 and
>>> coreutils-6.4) and are using them. I had problems with SUNs
>>> /usr/ccs/bin/ld
>>> because the linker chooses suns dito since gcc seems to be linked with it.
>>> My
>>> ./configure told me that ld did not support shared libraries.
>>> So I have linked /usr/ccs/ld to GNU ld in /usr/local/bin.
>>>
>>>
>>>
>>> My ./configure command:
>>> ./configure --enable-login --enable-plain --disable-gssapi
>>> --with-mysql=/usr/local/mysql/lib/mysql --without-pam
>>> --without-saslauthd --without-pwcheck --with-dblib=berkeley
>>> --with-bdb-libdir=/usr/local/BerkeleyDB/lib --with-bdb-incdir
>>> /usr/local/BerkeleyDB/include --with-openssl=/usr/local/ssl
>>> --with-plugindir=/usr/local/lib/sasl2
>>>
>>>
>>>
>>> This and make works just fine but the libs are:
>>> /usr/local/lib/libsasl2.a and /usr/local/lib/libsasl2.la*
>>>
>>>
>>>
>>> I am excpectin a /usr/local/lib/libsasl2.so.1 or similar.
>>>
>>>
>>>
>>> My goal is to compile postfix with sasl support
>>>
>>>
>>>
>>> I am suspecting the libtool to fool me.
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>
>>
>
> --
> Göran Höglund
> Telemar Scandinavia AB
> P O Box 9304
> SE-400 97 Gothenburg, Sweden
> Phone: +46 31 892807
> Fax: +46 31 892801
> www.telemar.se
>
>




More information about the Cyrus-sasl mailing list