From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nikola Milutinovic Newsgroups: gmane.os.tru64.managers Subject: How to get shlib version number? Date: Thu, 24 Nov 2005 15:11:33 +0100 Message-ID: <4385CA15.4060306@ev.co.yu> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1132841649 32574 80.91.229.2 (24 Nov 2005 14:14:09 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 24 Nov 2005 14:14:09 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Thu Nov 24 15:14:01 2005 Return-path: Original-Received: from sws1.ornl.gov ([160.91.1.101]) by ciao.gmane.org with smtp (Exim 4.43) id 1EfHqU-00032L-ER for gotm-tru64-unix-managers@gmane.org; Thu, 24 Nov 2005 15:13:06 +0100 Original-Received: (qmail 15881 invoked by uid 49509); 24 Nov 2005 14:12:52 -0000 Original-Sender: tru64-unix-managers-owner@ornl.gov Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 15866 invoked by uid 49501); 24 Nov 2005 14:12:52 -0000 Original-Received: from 160.91.86.17 by sws1 (envelope-from , uid 49491) with qmail-scanner-1.25 (clamdscan: 0.83/743. spamassassin: 3.0.2. Clear:RC:0(160.91.86.17):SA:0(-2.6/5.0):. Processed in 4.433633 secs); 24 Nov 2005 14:12:52 -0000 X-Spam-Status: No, hits=-2.6 required=5.0 Original-Received: from emroute2.cind.ornl.gov (160.91.86.17) by sws1.ornl.gov with SMTP; 24 Nov 2005 14:12:47 -0000 Original-Received: from emroute2.cind.ornl.gov (localhost [127.0.0.1]) by emroute2.cind.ornl.gov (PMDF V6.2-1x9 #31038) with ESMTP id <0IQG0063GQ5B9N@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Thu, 24 Nov 2005 09:12:47 -0500 (EST) Original-Received: from VIRUSCAN-DAEMON.emroute2.cind.ornl.gov by emroute2.cind.ornl.gov (PMDF V6.2-1x9 #31038) id <0IQG00702Q4U8U@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Thu, 24 Nov 2005 09:12:46 -0500 (EST) Original-Received: from Firewall.ev.co.yu (gateway.ev.co.yu [194.247.214.130]) by emroute2.cind.ornl.gov (PMDF V6.2-1x9 #31038) with SMTP id <0IQG0053XQ3QE6@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Thu, 24 Nov 2005 09:12:30 -0500 (EST) Original-Received: by Firewall.ev.co.yu; (5.65v4.0/1.3/10May95) id AA12096; Wed, 24 Nov 1999 15:30:13 +0100 Original-Received: from [192.168.61.128] (brigitte.up.ev.co.yu [192.168.61.128]) by Uprava.ev.co.yu (8.13.1/8.13.1) with ESMTP id jAOEFbH1011073 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 24 Nov 2005 15:15:39 +0100 (MET) Original-To: Tru64 Unix Managers X-Envelope-from: Nikola.Milutinovic@ev.co.yu X-Accept-Language: en-us, en User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.11) Gecko/20050728 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on spam2.ornl.gov X-Spam-Level: X-Qmail-Scanner-MOVED-X-Spam-Status: No, score=-0.8 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.1.0 X-Virus-Scanned: by amavisd-new Xref: news.gmane.org gmane.os.tru64.managers:8665 Archived-At: Hi all. I must say I'm a bit puzzled with this one. This is my problem. I'm building OpenSSL 0.9.8a on Tru64 UNIX 4.0D. I'm using native CC and GNU Make. Everything builds fine, haven't run test, yet, because I noticed one pecauliarity. When I listed dynamic libraries linket into "openssl" binary, this is what I got: Legba:/home/r/root/build/openssl-0.9.8a# odump -Dl apps/openssl ***LIBRARY LIST SECTION*** Name Time-Stamp CheckSum Flags Version apps/openssl: libssl.so Nov 24 14:24:18 2005 0xdf8c8e84 0 0.9.8" libcrypto.so Nov 24 14:24:14 2005 0x3f2adb08 0 0.9.8" libpthread.so Jun 25 21:19:35 2001 0xb751ba06 0 osf.1 libmach.so Dec 30 00:16:41 1997 0xe151181d 0 osf.1 libexc.so Jun 26 23:06:59 1998 0xbf6e7df3 0 osf.1 libc.so Jun 25 21:14:05 2001 0x5cbd50dd 0 osf.1 Notice that the version of the OpenSSL libraries is 0.9.8". The quotation mark at the end is what puzzles me. It would appear that "libssl.so" and "libcrypto.so" were built with that string for version. I have verified that "openssl" utility works with these libraries, so no mistake there (and there couldn't be any, since linker writes it). I could live with it, I guess, but I hate it when something is (is it?) obviously out of place. Can someone shed some light on this? How can I inspect the version written in the library file itself? Nix.