![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert. |
|
|
||||
| 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 |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
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? |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
Check your LD_LIBRARY_PATH is correct for the location of your .so
|
|||
| Google The UNIX and Linux Forums |