APLawrence - Information and Resources for Unix and Linux Systems, Bloggers and the self-employed
RSS Feeds Get APLawrence.com by RSS











(OLDER) <- More Stuff -> (NEWER) (NEWEST)
Home > News Posts > OSR5 ssh get proper libsocket for Caldera's OpenSSH 3.4p1package
Printer Friendly Version




News Group Posts

OSR5 ssh get proper libsocket for

Caldera's OpenSSH 3.4p1 package



Subject: libsocket.so.1
From: brian@aljex.com (Brian K. White)
Date: Mon, Feb 10, 2003 8:26 PM

I now have a script that will do everything for you to install
Caldera's build of OpenSSH 3.4p1 on Open Server, and it works on all
of 5.0.4, 5.0.5, and 5.0.6

In the case of 5.0.4, where you need to replace your libsocket.so.1
with one from a 5.0.5 box, The script downloads rs505a and extracts
the file from that. So you don't need to copy it from a 505 box. (And
I can make a script that anyone can use instead of having to keep it
to myself)






While was updating this script and searching for publicly downloadable
copies of libsocket.so.1
I found *2* different libsocket.so.1's in rs505a, and I was wondering
if anyone could tell me what the difference is (other than the obvious
size and path)

here is what I found:

mkdir -p /tmp/rs505a
cd /tmp/rs505a
URL=ftp://ftp.sco.com/pub/openserver5/rs505a



wget -q -O - ${URL}/VOL.002.000 |cpio -ivAdq */libsocket.so.1.Z
wget -q -O - ${URL}/VOL.003.000 |cpio -ivAdq */libsocket.so.1.Z

find . -name libsocket.so.1.Z -print |while read FILE
do uncompress $FILE ; done

find . -name libsocket.so.1 -print |while read FILE
do sum -l $FILE ; done

yields:

23284055 469
./opt/K/SCO/Unix/rs505a.Unix505.1.0a/DYNAMIC_LIBRARIES/libsocket.so.1

28580231 617
./opt/K/SCO/tcp/rs505a.tcp211.1.0a/usr/lib/libp/libsocket.so.1

on an ordinary 5.0.5 box with rs505a installed I see that:
sum -l /usr/lib/libsocket.so.1
23284055 469 /usr/lib/libsocket.so.1

so the file from the "002" vol is the one I have my script
automatically download and install. But what is that other file?

Are there going to be cases where downloading and overwriting the
users current libsocket.so.1 with the one from the "002" vol above
would not be OK on 5.0.4?



In the mean time, I would like to document a recipe, using only stock
commands, to get yourself a 5.0.5 version of libsocket.so.1 so that
Caldera's OpenSSH 3.4p1 package will work on Open Server 5.0.4 (other
than by copying from a 5.0.5 box) The other Requirements of the
package are documented and available in a more or less straightforward
manner already.


mkdir -p /tmp/rs505a
cd /tmp/rs505a
rftp -g -bh ftp.sco.com /pub/openserver5/rs505a VOL.002.000
zcat `cpio -ivAdq */libsocket.so.1.Z <VOL.002.000` >libsocket.so.1
cd /usr/lib
cp libsocket.so.1 libsocket.so.1_504
cp -f /tmp/rs505a/libsocket.so.1 .
chown bin:bin libsocket.so.1
chmod 555 libsocket.so.1
cd /
rm -rf /tmp/rs505a
 

If this page was useful to you, please click to help others find it:  

Your +1's can help friends, contacts, and others on the web find the best stuff when they search.

Comments?



Click here to add your comments



Don't miss responses! Subscribe to Comments by RSS or by Email

Click here to add your comments


If you want a picture to show with your comment, go get a Gravatar



LOD Communications, Inc.

Have you tried Searching this site?

Unix/Linux/Mac OS X support by phone, email or on-site: Support Rates

This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more. We appreciate comments and article submissions.

Publishing your articles here

Jump to Comments



Many of the products and books I review are things I purchased for my own use. Some were given to me specifically for the purpose of reviewing them. I resell or can earn commissions from the sale of some of these items. Links within these pages may be affiliate links that pay me for referring you to them. That's mostly insignificant amounts of money; whenever it is not I have made my relationship plain. I also may own stock in companies mentioned here. If you have any question, please do feel free to contact me.

Specific links that take you to pages that allow you to purchase the item I reviewed are very likely to pay me a commission. Many of the books I review were given to me by the publishers specifically for the purpose of writing a review. These gifts and referral fees do not affect my opinions; I often give bad reviews anyway.

We use Google third-party advertising companies to serve ads when you visit our website. These companies may use information (not including your name, address, email address, or telephone number) about your visits to this and other websites in order to provide advertisements about goods and services of interest to you. If you would like more information about this practice and to know your choices about not having this information used by these companies, click here.

g_face.jpg

This post tagged:

       - SCO_OSR5




Unix/Linux Consultants

Skills Tests

Guest Post Here