Error:: libm.so.2:open failed | Unix Linux Forums | Solaris

  Go Back    


Solaris The Solaris Operating System, usually known simply as Solaris, is a Unix-based operating system introduced by Sun Microsystems. The Solaris OS is now owned by Oracle.

Error:: libm.so.2:open failed

Solaris


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 09-10-2008
smartgupta smartgupta is offline
Registered User
 
Join Date: Sep 2008
Last Activity: 26 November 2012, 5:19 AM EST
Posts: 125
Thanks: 0
Thanked 0 Times in 0 Posts
Error:: libm.so.2:open failed

Hi,

I am working with solaris 9 and I want to install perforce on that,so I downloaded the p4v.bin file and try to install it by the command

./p4v

after that it is giving the error---

ld.so.1: ./p4v.bin: fatal: libm.so.2: open failed: No such file or directory
Killed[/B]



I am not getting it why it is there?

Please help me to solve this problem?

Thanks in advance...

Last edited by smartgupta; 09-10-2008 at 08:55 AM..
Sponsored Links
    #2  
Old 09-10-2008
fpmurphy's Avatar
fpmurphy fpmurphy is offline Forum Staff  
who?
 
Join Date: Dec 2003
Last Activity: 21 September 2014, 8:23 AM EDT
Location: /dev/ph
Posts: 4,809
Thanks: 63
Thanked 425 Times in 394 Posts
It seems that the dynamic linker (ld.so.1) cannot find the file libm.so.2. Check in /usr/lib to see if it exists. libm.so is probablly a symbolic link to libm.so.2.
Sponsored Links
    #3  
Old 09-11-2008
smartgupta smartgupta is offline
Registered User
 
Join Date: Sep 2008
Last Activity: 26 November 2012, 5:19 AM EST
Posts: 125
Thanks: 0
Thanked 0 Times in 0 Posts
I didn't find it there libm.so.2, so what I have to do for that or where I can get it.Please help me to resolve it.

Thanks in advance ....
    #4  
Old 09-11-2008
Perderabo's Avatar
Perderabo Perderabo is offline Forum Staff  
Unix Daemon (Administrator Emeritus)
 
Join Date: Aug 2001
Last Activity: 19 September 2014, 2:05 PM EDT
Location: Ashburn, Virginia
Posts: 9,925
Thanks: 60
Thanked 435 Times in 260 Posts
That is the math library and you have not installed the math shared library package or maybe you did install it and someone deleted that file. The package is called SUNWlibms and either way I guess you need to install it. Put the OS cds in the cd drive and look around on the CD until you find a directory called SUNWlibms. cd to the parent of SUNWlibm and run
pkgadd -d . SUNWlibms
to install the package.
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
NDM: Source file open failed. Error= 2 krbala1985 UNIX for Dummies Questions & Answers 1 04-29-2011 02:31 PM
Cygwin X Server error: xdmcp fatal error session failed session 23 failed for display HarishKumarM Solaris 3 12-02-2010 03:44 PM
Error- ld.so.1: expr: fatal: libgmp.so.3: open failed:No such file or directory Hari_Ganesh Solaris 2 07-16-2009 05:52 AM
libm.so.1 (SUNW_1.1) error while building shafi2all Solaris 1 12-08-2008 05:46 PM
Failed to open output file Error Anji Shell Programming and Scripting 0 01-16-2008 06:33 AM



All times are GMT -4. The time now is 04:12 AM.