Home » Infrastructure » Unix » Solaris version that uses libm.so.2 (Solaris 9-11)
Solaris version that uses libm.so.2 [message #644451] Fri, 06 November 2015 07:29 Go to next message
michcl
Messages: 3
Registered: November 2015
Location: Rochester, NY
Junior Member
I'm seeing a file, libm.so.2 in our SunOSsparc directory that holds a lot of .so files. I looked around, and it looks like it's used by the Solaris build. libm.so.2 and libm.so.2 Solaris 8. Is this used by just Solaris8? We support Solaris 9-11. Is it used by all Solaris versions?

We need to identify licenses we're using in our code for submission/release. I need to figure out what version of solaris uses that file, so I can identify the license.

Or, how can I find the version of libm.so.2?

So far I tried:
libm.so.2 ver
libm.so.2 ver
readelf d libm.so.2 | grep SONAME
ident libm.so.2

But they aren't giving me a library version.

[Updated on: Fri, 06 November 2015 08:30]

Report message to a moderator

Re: Solaris version that uses libm.so.2 [message #644452 is a reply to message #644451] Fri, 06 November 2015 08:17 Go to previous messageGo to next message
BlackSwan
Messages: 26766
Registered: January 2009
Location: SoCal
Senior Member
michcl wrote on Fri, 06 November 2015 05:29
I'm seeing a file, libm.so.2 in our SunOSsparc directory that holds a lot of .so files. I looked around, and it looks like it's used by the Solaris build. libm.so.2 and libm.so.2 Solaris 8. Is this used by just Solaris8? We support Solaris 9-11. Is it used by all Solaris versions?

We need to identify licenses we're using in our code for submission/release. I need to figure out what version of solaris uses that file, so I can identify the license.

Or, how can I find the version of libm.so.2?


Why out of the dozens & dozens of SO files are you fixated on libm.so?
Assume it is used by all version; unless you can prove otherwise.
Re: Solaris version that uses libm.so.2 [message #644453 is a reply to message #644452] Fri, 06 November 2015 08:32 Go to previous messageGo to next message
michcl
Messages: 3
Registered: November 2015
Location: Rochester, NY
Junior Member
Because that's the one I need to identify for licensing for my company. We can identify every other one. Oh, and it's libm.so.2, which is different than what you had there. BTW, if I can just identify the libm.so.2 version by itself, that's good too. See my edits above. I know, it's a weird question. Hope you have some suggestions!
Re: Solaris version that uses libm.so.2 [message #644454 is a reply to message #644453] Fri, 06 November 2015 09:12 Go to previous messageGo to next message
BlackSwan
Messages: 26766
Registered: January 2009
Location: SoCal
Senior Member
>BTW, if I can just identify the libm.so.2 version by itself, that's good too.

what exactly do you mean by "version" in line above?

Every Solaris system I worked on had only single OS version active at any point in time.

find / -name libm.so.2\* -ls 2>/dev/null
Re: Solaris version that uses libm.so.2 [message #644455 is a reply to message #644454] Fri, 06 November 2015 13:50 Go to previous messageGo to next message
michcl
Messages: 3
Registered: November 2015
Location: Rochester, NY
Junior Member
Our database says that libm valid versions are 1.1.1, 1.1.0, 0.9.6
Re: Solaris version that uses libm.so.2 [message #644456 is a reply to message #644455] Fri, 06 November 2015 13:55 Go to previous message
BlackSwan
Messages: 26766
Registered: January 2009
Location: SoCal
Senior Member
michcl wrote on Fri, 06 November 2015 11:50
Our database says that libm valid versions are 1.1.1, 1.1.0, 0.9.6


You can simply make softlink to give it what it expects
Previous Topic: How to test the firewall rules on SunOS
Next Topic: How to pass unix declared variable into SQL and PL SQL block
Goto Forum:
  


Current Time: Thu Mar 28 05:55:54 CDT 2024