[Alpine-info] Building alpine on nevada (Solaris Express) gets library not found on resulting executable

Jayakara Kini jayakara.kini at gmail.com
Sun Feb 17 08:22:27 PST 2008


I too compile and use alpine on Solaris Express.
I even distribute the compiled version to all my colleagues every time
I build it.
Almost all of them use Thunderbird in office and alpine from home
(except me. I use alpine all the time).
Some of them are using Solaris 8/9/10. They are able to use alpine
just by using LD_LIBRARY_PATH
set to /opt/csw/lib where they have installed openssl from
blastwave.org. /usr/sfw/lib is not present on
earlier releases of Solaris by default.

That was an example. I find setting LD_LIBRARY_PATH and using it
makes it more portable than
hard linking it.

I wouldn't like to see -R being used while linking. Alpine is also
available through SFE packages for Solaris.
Which means it can be downloaded and installed over the net on Solaris
systems, with different
configurations and library files in different locations.

Compiling with -R will restrict its portability... :(

~Kini



On Feb 11, 2008 3:48 PM, Giacomo Tufano <g2fano at gmail.com> wrote:

> Hi, I don't know if this is the "right " mailing list, I'm hoping so.

>

> I just built alpine on my Solaris Express box (version 81, fyi). A ./

> configure ; make did the trick, but the resulting executable misses to

> load libssl and libcrypto.

> The executable runs by setting LD_LIBRARY_PATH to /usr/sfw/lib (where

> the libraries are located) but this is a "deprecated" workaround

> probably related to a problem with missing -R at link time. I can try

> to fix it myself, but some help will be very useful to narrow the

> needed time.

>

> Compiler in use was Sun Studio 11. The toolchain is the Sun one, not

> the GNU one (located in /usr/sfw and not in PATH).

>

> On a separate note, I tried also to compile alpine on a SPARC machine

> (standard Solaris 10) but I didn't find any mean to compile alpine

> with gcc. It tries always to compile with Sun compiler (that I do not

> have on the target machine). Any hint or reference is also appreciated.

>

> Thank you for the wonderful program... I could not live without it...

>

> gt

>

> _______________________________________________

> Alpine-info mailing list

> Alpine-info at u.washington.edu

> https://mailman1.u.washington.edu/mailman/listinfo/alpine-info

>




--
Jayakara Kini


More information about the Alpine-info mailing list