Re: Compiling to shared libraries

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.
>
>
>
>
>
>
>



[Index of Archives]     [Info Cyrus]     [Squirrel Mail]     [Linux Media]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux