linking in solaris9


 
Thread Tools Search this Thread
Operating Systems Solaris linking in solaris9
# 1  
Old 05-22-2008
Error 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"
# 2  
Old 05-22-2008
Have you set LD_LIBRARY_PATH ?
Tornado
# 3  
Old 05-22-2008
LD_LIBRARY_PATH shows both /usr/lib as well as /usr/local/lib
# 4  
Old 05-22-2008
Quote:
Originally Posted by biswajithit
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?
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Which FC HBA card support Solaris9

I have JNI FCE-6460-N fc card , it is detected in OK prompt.....I connected Sun StorEDGE A5000 FC storage. in OK prompt, PROBE-SCSI-ALL showing A5000 fc hdds details in ok prompt..... but in OS level.....not showing the hdd, i tried in DEVFSADM command and FORMAT command not showing A5000... (3 Replies)
Discussion started by: anysystem
3 Replies

2. UNIX for Dummies Questions & Answers

cut output on solaris9 and redhat

Hello, A file called test2 contains passwd entries from various servers. - On solaris9 host : > cat test1 | cut -d ":" -f3 | wc -l 18229 - The same file copied with scp to a redhat host (same cksum) : $ cat test1 | cut -d ":" -f3 | wc -l 39411 - A perl script running on the... (1 Reply)
Discussion started by: Krafton
1 Replies

3. Solaris

How to disable LDAP server on solaris9/10?

hi, I found /etc/rc2.d/S**ldap.client, while it's just the client of LDAP, where can I found the ldap server? when/where/how did it start on solaris 9/10? Could anyone help me? Best Wishes. (1 Reply)
Discussion started by: a2156z
1 Replies

4. Solaris

Cant boot solaris9 after October patches

Hello! I applied the solaris9 "recomended and sequrity"-bundle Oktober release last night, and after that the system will not boot. I missed to reboot the system using "reboot -r", but I am able to mount the root disk by booting from cdrom "cdrom -s". Please advise! These are the last... (3 Replies)
Discussion started by: sap4ever
3 Replies

5. UNIX for Dummies Questions & Answers

how to get disks info in solaris9

hi: I know its a dummy question do you have any idea how i can get information about the HDs I have on my solaris server?? like how many disks and the size of each?? the prtdiag doesnt tell about disks. Thanks (8 Replies)
Discussion started by: aladdin
8 Replies

6. Solaris

Samba 3.0.22 on Solaris9

Hello all, I have successfully installed samba 3.0.22 on my sol 9 e250 machine. I created my share but when i try to get to my share from my windows machine, it prompts me for my username and passwd, i enter it and it just comes back prompting me for my username and passwd agai,. Has anyone been... (8 Replies)
Discussion started by: Gegestic
8 Replies

7. Solaris

install solaris9-how to !

hi all ... I'm new in solaris i want install it, i need the good steps . my Pc is Intel i have 4 CDs for solaris9 . Can u help me plz by some websites or lessons ? I made search in the docs.sun.com but i need another websites. thanks. (1 Reply)
Discussion started by: memo
1 Replies

8. Programming

Linking problem while linking to shared library

Hi I'm getting ld: fatal: option -h and building a dynamic executable are incompatible ld: fatal: Flags processing errors When I run ld -shared -L/usr/dt/lib -lDtSvc -o builtin.so Workspace.o after running gcc -fPIC -I/usr/X11R6/include -I/usr/dt/include -c Workspace.c I'm... (6 Replies)
Discussion started by: laho
6 Replies

9. UNIX for Dummies Questions & Answers

Solaris9 on Proliant 1850r

I am attempting to install solaris 9 for intel on a Proliant 1850r with a SmartArray 221 RAID controller. The setup program's detection routine seems to find all the required hardware and informs me that no changes are needed. However, once setup begins the GUI portion, it successfully passes the... (1 Reply)
Discussion started by: Brentetn
1 Replies

10. UNIX for Dummies Questions & Answers

Solaris9

Hi.. I was woundring something... I have a computer which has an Nvidia GeForce 2 MX card and i'm thinking of to download Solaris 9 but i don't know if this card supports of the operating system...can someone help me please...is there anything else i can do...Thanks (3 Replies)
Discussion started by: CreamHarry
3 Replies
Login or Register to Ask a Question