The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
Google UNIX.COM


UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
static and shared libraries JamesByars UNIX for Advanced & Expert Users 2 01-13-2008 11:29 AM
Shared Libraries wojtyla Linux 1 09-15-2005 09:14 PM
Clarification about shared Libraries ramkumar_gr UNIX for Dummies Questions & Answers 3 11-17-2003 04:59 AM
shared libraries thalex High Level Programming 2 11-29-2001 06:32 AM
Shared libraries Micky High Level Programming 0 11-12-2001 01:25 AM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 06-30-2008
Registered User
 

Join Date: Jun 2008
Posts: 1
Unhappy Shared Libraries- CRITICAL !!

Hi,

I am trying to create a shared library from a .c file using
gcc -c -fpic -I/usr/local/include Chksum.C -o Chksum.o
gcc -shared -o libtclcksum.so Chksum.o

when i try to load this shared library libtclcksum.so in tclsh
% load libtclcksum.so

I get the following error:

couldn't load file "libtclcksum.so": ld.so.1: tclsh8.4: fatal: libtclcksum.so: open failed: No such file or directory


If anyone knows what the mistake please reply asap.

Also how to create a shared library in a linux box?
Reply With Quote
Forum Sponsor
  #2  
Old 06-30-2008
Moderator
 

Join Date: Dec 2003
Location: /dev/fl
Posts: 1,061
Check your LD_LIBRARY_PATH is correct for the location of your .so
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




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


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

Content Relevant URLs by vBSEO 3.2.0