libm missing in irix 6.2
#1
libm missing in irix 6.2
I recently installed some tgcware on my Challenge S running 6.2, but when I execute most applications I get:
Code:
8225:/usr/tgcware/bin/bash: rld: Fatal Error: Cannot Successfully map soname 'libm.so' under any of the filenames /usr/tgcware/lib/libm.so:/usr/lib32/libm.so:/usr/lib32/internal/libm.so:/lib32/libm.so:/opt/lib32/libm.so:/usr/tgcware/lib/libm.so.1:/usr/lib32/libm.so.1:/usr/lib32/internal/libm.so.1:/lib32/libm.so.1:/opt/lib32/libm.so.1:
Where can I find libm??

Octane Octane2 O2 Indigo Indigo Indigo2 Indigo2 Indigo2 (R8000) Indigo2 R10000/IMPACT Challenge S Indy Altix 350 Origin 350 SGI 1400L 
SUN: 3/50, SPARCstation IPC, IPX, 5, 20, Blade 2500, SPARCClassic, U2, U10, U45, U60, Netra T1, Tadpole Voyager IIi, SunFire V880
HP: RX2620, ZX6000, C8000, 712/80, 715
darkhelmet02
Octane

Trade Count: (0)
Posts: 47
Threads: 15
Joined: Aug 2018
Location: Michigan
Find Reply
08-11-2020, 10:44 PM
#2
RE: libm missing in irix 6.2
It's an LD_LIBRARYN32_PATH issue. You need to add /usr/tgcware to that variable

I'm the system admin of this site. Private security technician, licensed locksmith, hack of a c developer and vintage computer enthusiast. 

https://contrib.irixnet.org/raion/ -- contributions and pieces that I'm working on currently. 

https://codeberg.org/SolusRaion -- Code repos I control

Technical problems should be sent my way.
Raion
Chief IRIX Officer

Trade Count: (9)
Posts: 4,240
Threads: 533
Joined: Nov 2017
Location: Eastern Virginia
Website Find Reply
08-11-2020, 11:01 PM
#3
RE: libm missing in irix 6.2
It's not an issue with LD_LIBRARYN32_PATH.  The output clearly shows rld is looking in /usr/tgcware/lib already.  Besides that, libm is the standard math library -- a crucial part of the operating system.  As such, you'd expect it under /usr/lib32 rather than /usr/tgcware.

Can you show us the output of:
Code:
ls -l /usr/lib32/libm.so*
file /usr/lib32/libm.so*
file /usr/tgcware/bin/bash

SGI:  Indigo, Indigo2, Octane, Origin 300
Sun:  SPARCstation 20 (x4), Ultra 2, Blade 2500, T5240
HP:  9000/380, 425e, C8000
Digital: DECstation 5000/125, PWS 600au
jpstewart
Developer

Trade Count: (1)
Posts: 444
Threads: 6
Joined: May 2018
Location: SW Ontario, CA
Find Reply
08-11-2020, 11:17 PM
#4
RE: libm missing in irix 6.2
oh, well derp. I didn't think of that.

I'm the system admin of this site. Private security technician, licensed locksmith, hack of a c developer and vintage computer enthusiast. 

https://contrib.irixnet.org/raion/ -- contributions and pieces that I'm working on currently. 

https://codeberg.org/SolusRaion -- Code repos I control

Technical problems should be sent my way.
Raion
Chief IRIX Officer

Trade Count: (9)
Posts: 4,240
Threads: 533
Joined: Nov 2017
Location: Eastern Virginia
Website Find Reply
08-11-2020, 11:49 PM
#5
RE: libm missing in irix 6.2
ls -l /usr/lib32/libm.so* - Cannot access /usr/lib32/libm.so: No such file or directory
file /usr/lib32/libm.so* - No match
file /usr/tgcware/bin/bash - /usr/tgcware/bin/bash: ELF N32 MSB mips-3 dynamic executable MIPS - version 1

I reinstalled irix once because I thought something got screwed up, but libm is simply not on the system

Octane Octane2 O2 Indigo Indigo Indigo2 Indigo2 Indigo2 (R8000) Indigo2 R10000/IMPACT Challenge S Indy Altix 350 Origin 350 SGI 1400L 
SUN: 3/50, SPARCstation IPC, IPX, 5, 20, Blade 2500, SPARCClassic, U2, U10, U45, U60, Netra T1, Tadpole Voyager IIi, SunFire V880
HP: RX2620, ZX6000, C8000, 712/80, 715
darkhelmet02
Octane

Trade Count: (0)
Posts: 47
Threads: 15
Joined: Aug 2018
Location: Michigan
Find Reply
08-11-2020, 11:53 PM
#6
RE: libm missing in irix 6.2
Is there something I can install that would have libm?

Octane Octane2 O2 Indigo Indigo Indigo2 Indigo2 Indigo2 (R8000) Indigo2 R10000/IMPACT Challenge S Indy Altix 350 Origin 350 SGI 1400L 
SUN: 3/50, SPARCstation IPC, IPX, 5, 20, Blade 2500, SPARCClassic, U2, U10, U45, U60, Netra T1, Tadpole Voyager IIi, SunFire V880
HP: RX2620, ZX6000, C8000, 712/80, 715
darkhelmet02
Octane

Trade Count: (0)
Posts: 47
Threads: 15
Joined: Aug 2018
Location: Michigan
Find Reply
08-12-2020, 12:53 AM
#7
RE: libm missing in irix 6.2
No, not that I know of. You may be missing some development libraries or something, but I'm not familiar with 6.2. Something is wrong though.

I'm the system admin of this site. Private security technician, licensed locksmith, hack of a c developer and vintage computer enthusiast. 

https://contrib.irixnet.org/raion/ -- contributions and pieces that I'm working on currently. 

https://codeberg.org/SolusRaion -- Code repos I control

Technical problems should be sent my way.
Raion
Chief IRIX Officer

Trade Count: (9)
Posts: 4,240
Threads: 533
Joined: Nov 2017
Location: Eastern Virginia
Website Find Reply
08-12-2020, 01:46 AM
#8
RE: libm missing in irix 6.2
Hmm...I just looked at my 6.5.x discs and it seems that libm.so is actually distributed as part of the compiler_eoe packages.  (I don't have a 6.2 machine to check.)  I had assumed it was part of the base installation, but I was wrong.  I guess SGI must have statically linked libm into their applications instead of distributing the shared library. 

Since libm.so is part of the compiler_eoe package on 6.5, I'll assume it's there on 6.2 as well.  So you'll need to install, at a minimum, the corresponding package.  Or just install everything from the developer CDs if you have trouble locating the right package.

FWIW, if you don't have the developer CDs for 6.2, Raion has them mirrored here:  http://usftp.irixnet.org/sgi-irix/development/irix-6.2/

SGI:  Indigo, Indigo2, Octane, Origin 300
Sun:  SPARCstation 20 (x4), Ultra 2, Blade 2500, T5240
HP:  9000/380, 425e, C8000
Digital: DECstation 5000/125, PWS 600au
jpstewart
Developer

Trade Count: (1)
Posts: 444
Threads: 6
Joined: May 2018
Location: SW Ontario, CA
Find Reply
08-12-2020, 01:48 AM
#9
RE: libm missing in irix 6.2
Huh. Just reinstalled Development Foundations and made sure everything was checked off, and now everything works, libm is found and tgcware uses it properly. I must have missed a check box or something in software manager. I appreciate the suggestions Raion and jpstewart! Hopefully this thread will be useful to anyone else that encounters the same issue!

Octane Octane2 O2 Indigo Indigo Indigo2 Indigo2 Indigo2 (R8000) Indigo2 R10000/IMPACT Challenge S Indy Altix 350 Origin 350 SGI 1400L 
SUN: 3/50, SPARCstation IPC, IPX, 5, 20, Blade 2500, SPARCClassic, U2, U10, U45, U60, Netra T1, Tadpole Voyager IIi, SunFire V880
HP: RX2620, ZX6000, C8000, 712/80, 715
darkhelmet02
Octane

Trade Count: (0)
Posts: 47
Threads: 15
Joined: Aug 2018
Location: Michigan
Find Reply
08-12-2020, 03:07 AM


Forum Jump:


Users browsing this thread: 1 Guest(s)