[csw-users] solaris 9 pkgs on solaris 10
Neal A. Lucier
nlucier at math.purdue.edu
Wed Feb 1 04:11:15 CET 2006
James Lee wrote:
> On 27/01/06, 18:42:28, Neal "A." Lucier <nlucier at math.purdue.edu> wrote
> regarding [csw-users] solaris 9 pkgs on solaris 10:
>
>> My NFS server, where I install all the CSW packages, is running Solaris
>> 10; however, all my clients are running Solaris 9.
>
>> This is causing some apps to fail in weird ways and others are failing
>> in perfectly normal ways, like not being able to find the correct
>> version of zlib.
>
>> So, I want to install all the 5.9 packages on my NFS server instead of
>> the 5.10 packages. It looks like I could just change the following line
>> in /opt/csw/bin/pkg-get:
>> OSREV=`uname -r`
>> to:
>> OSREV=5.9
>
>> Is this all I have to do and everything will "just work"?
>
> No. The OSREV is where pkg-get looks for the packages to download.
> It forms a URL like $MIRROR/$CPU/$OSREV/$PACKAGE. This allows for it
> to download packages specifically for your arch. Currently there are
> no differences between 5.8, 5.9 and 5.10 and if you look closely you
> will see that for stable the directories are symbolic links to 5.8,
> (warning, this might change in the future). The reason for your
> problems must be something else.
>
> Some packages compensate for the one file suits all arches by having a
> postinstall or classes that do different things depending on the osrev,
> sendmail is one example. I expect most of these are doing things in
> /etc/ which you are not exporting anyway. I can see no reason why zlib
> would have problems.
>
> Running ldd sometimes shows programs looking for a zlib version that
> it can't find but this doesn't matter, ignore this:
>
> libz.so.1 (SUNW_1.1) => (version not found)
>
James,
Thank you for your response. In checking unstable/sparc/5.10/ again I
see that there are only 2 pkgs built for 5.10 (flightgear_base and
tkdiff), neither of which I use, and I was unaware that the libz message
didn't matter.
The problem I was having was with:
/opt/csw/bin/convert filename.ps filename.jpg
producing bad jpg files.
The user reported it working on 5.10 but not 5.9 when in reality
'/usr/sfw/bin/convert' works on 5.10 and '/opt/csw/bin/convert' fails on
both.
I will see if I can get some test .ps files and perhaps file a bug
report once I figure out more.
Thanks,
Neal
More information about the users
mailing list