The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > SUN Solaris
Google UNIX.COM


SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems .

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Samba 3.0.22 on Solaris9 Gegestic SUN Solaris 8 06-08-2006 07:58 AM
install solaris9-how to ! memo SUN Solaris 1 03-27-2005 09:54 AM
Linking problem while linking to shared library laho High Level Programming 6 03-16-2004 06:01 AM
how to set up user environment in Solaris9? simt UNIX for Dummies Questions & Answers 5 07-01-2003 10:37 AM
Solaris9 CreamHarry UNIX for Dummies Questions & Answers 3 05-28-2003 05:37 AM

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-22-2008
Registered User
 

Join Date: May 2008
Posts: 2
Exclamation linking in solaris9

at the end of the compilation in solaris 9. it is showing link error.

like.....

ld: fatal: library -lgthread-2.0 not found

failed to create the binary

the library is in /usr/lib and in /usr/local/lib the lib file is present

--->libgthread.2.0.so ......etc

if i remove -lgthread-2.0 flag from Makefile. It shows some undefinde symbols first time used in ------> libgthread.2.0.so.0 file.

what can be reason of this error ......and solution of it...

"have a good day"
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 05-22-2008
Tornado's Avatar
Registered User
 

Join Date: Nov 2006
Location: Melbourne
Posts: 240
Have you set LD_LIBRARY_PATH ?
Reply With Quote
  #3 (permalink)  
Old 05-22-2008
Registered User
 

Join Date: May 2008
Posts: 2
LD_LIBRARY_PATH shows both /usr/lib as well as /usr/local/lib
Reply With Quote
  #4 (permalink)  
Old 05-22-2008
Registered User
 

Join Date: May 2008
Location: s'pore
Posts: 465
Quote:
Originally Posted by biswajithit View Post
LD_LIBRARY_PATH shows both /usr/lib as well as /usr/local/lib
The path might be there. But how abt the lib files within? any missing? or any corrupted?any changes done to the system? did the system went through a filsystem check recently?
Reply With Quote
Google UNIX.COM
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 05:01 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0