🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #244053

Re: OT: slrn for 64-bit Linux

#244053
From: rj
Date: Mon, 27 Dec 2010 08:08
67 lines
4143 bytes
On Mon, 27 Dec 2010 07:41:18 +0000 (UTC), Tim Harig <usernet@ilthio.net> wrote:
> Is this because you are afraid that your version isn't compiled as 64 bit
> or because you just want your version string to read 64 bit?

Both, actually.

> If the former, it is already 64bit if you are on a 64bit platform.

I'd figured as much, but it's always nice to be sure.


> If you have a dual library setup for 64 and 32, then check which
> libraries it is linked against:

> - 32bit$ ldd /usr/bin/slrn
> -         linux-gate.so.1 =>  (0xffffe000)
> -         libslang.so.2 => /usr/lib/libslang.so.2 (0xb77ab000)
> -         libssl.so.0 => /lib/libssl.so.0 (0xb7763000)
> -         libcrypto.so.0 => /lib/libcrypto.so.0 (0xb761a000)
> -         libc.so.6 => /lib/libc.so.6 (0xb74b7000)
> -         libdl.so.2 => /lib/libdl.so.2 (0xb74b2000)
> -         libm.so.6 => /lib/libm.so.6 (0xb748c000)
> -         /lib/ld-linux.so.2 (0xb78bd000)
> vs:
> - 64Bit$ ldd /usr/bin/slrn
> -         linux-vdso.so.1 =>  (0x00007fff27fff000)
> -         libslang.so.2 => /usr/lib64/libslang.so.2 (0x00007f698f5cc000)
> -         libssl.so.0 => /usr/lib64/libssl.so.0 (0x00007f698f37a000)
> -         libcrypto.so.0 => /usr/lib64/libcrypto.so.0 (0x00007f698eff4000)
> -         libc.so.6 => /lib64/libc.so.6 (0x00007f698ec7f000)
> -         libdl.so.2 => /lib64/libdl.so.2 (0x00007f698ea7b000)
> -         libm.so.6 => /lib64/libm.so.6 (0x00007f698e7f8000)
> -         /lib64/ld-linux-x86-64.so.2 (0x00007f698f931000)


$ ldd /usr/bin/slrn
	linux-vdso.so.1 =>  (0x00007fff7c1a7000)
	libslang.so.2 => /lib/libslang.so.2 (0x00007fd9f2ae7000)
	libuu.so.0 => /usr/lib/libuu.so.0 (0x00007fd9f28c6000)
	libcanlock.so.2 => /usr/lib/libcanlock.so.2 (0x00007fd9f26c1000)
	libgnutls-openssl.so.26 => /usr/lib/libgnutls-openssl.so.26 (0x00007fd9f24b6000)
	libc.so.6 => /lib/libc.so.6 (0x00007fd9f2146000)
	libdl.so.2 => /lib/libdl.so.2 (0x00007fd9f1f42000)
	libm.so.6 => /lib/libm.so.6 (0x00007fd9f1cbe000)
	libtasn1.so.3 => /usr/lib/libtasn1.so.3 (0x00007fd9f1aad000)
	libgnutls.so.26 => /usr/lib/libgnutls.so.26 (0x00007fd9f180b000)
	/lib64/ld-linux-x86-64.so.2 (0x00007fd9f2e3a000)
	libz.so.1 => /lib/libz.so.1 (0x00007fd9f15f4000)
	libgcrypt.so.11 => /lib/libgcrypt.so.11 (0x00007fd9f137c000)
	libgpg-error.so.0 => /lib/libgpg-error.so.0 (0x00007fd9f1178000)

Looks good.  I think.


> If you just want to advertise that you are using 64bit,

Was more about accuracy than advertising.


> then you change the version string version.h in the slrn source ...
> Or, you can change whatever defines utsname.sysname for uname() ...

Or I could apply the custom_os.patch, which I did.  But thanks, very good
info that I can use not just for slrn.

-- 
  Why you should never talk to cops:  <http://is.gd/iV74U>
Technical Details
Message-ID: <if9hhd$dfh$1@reader1.panix.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border1.nntp.ams2.giganews.com!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!news-out1.kabelfoon.nl!newsfeed.kabelfoon.nl!xindi.nntp.kabelfoon.nl!198.186.194.249.MISMATCH!news-out.readnews.com!transit3.readnews.com!panix!not-for-mail
References: <slrnig6i41.k2g.unruh@wormhole.physics.ubc.ca> <idvijq$2hi$1@n102.xanadu-bbs.net> <slrn20101211110603.301.twooffive@may.eternal-september.org> <if8eh8$s3o$1@reader1.panix.com> <if9fut$vl6$1@speranza.aioe.org>

Show Full Headers
Complete Article Headers
Message-ID: <if9hhd$dfh$1@reader1.panix.com>
Subject: Re: OT: slrn for 64-bit Linux
Date: Mon, 27 Dec 2010 03:08:07 -0500
From: rj <rj@panix.com.invalid>
References: <slrnig6i41.k2g.unruh@wormhole.physics.ubc.ca> <idvijq$2hi$1@n102.xanadu-bbs.net> <slrn20101211110603.301.twooffive@may.eternal-september.org> <if8eh8$s3o$1@reader1.panix.com> <if9fut$vl6$1@speranza.aioe.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border1.nntp.ams2.giganews.com!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!news-out1.kabelfoon.nl!newsfeed.kabelfoon.nl!xindi.nntp.kabelfoon.nl!198.186.194.249.MISMATCH!news-out.readnews.com!transit3.readnews.com!panix!not-for-mail
Newsgroups: news.software.readers
Organization: Disorganization
Lines: 67
Reply-To: rj <rj@panix.com>
NNTP-Posting-Host: ool-4351bbe2.dyn.optonline.net
X-Trace: reader1.panix.com 1293437293 13809 67.81.187.226 (27 Dec 2010
X-Complaints-To: abuse@panix.com
NNTP-Posting-Date: Mon, 27 Dec 2010 08:08:13 +0000 (UTC)
Mail-Copies-To: nobody
User-Agent: slrn/pre1.0.0-26/co (Ubuntu 9.10; 64bit)
X-Original-Bytes: 3850