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

Benjamin R. Haskell alpine at benizi.com
Sun Feb 17 09:41:27 PST 2008


On Sun, 17 Feb 2008, Jayakara Kini wrote:


> 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


You might also be interested in using 'crle'[1]. On our Solaris 8
machines, we generally installed stuff into /usr/csl. And eventually we
realized it was easier and better to set it system-wide than in
LD_LIBRARY_PATH. (google: LD_LIBRARY_PATH bad)

[1] crle - configure runtime linking environment

Best,
Ben


More information about the Alpine-info mailing list