Reposting article removed by rogue canceller.
> What file am I missing and where can I get it when I get the following
> message from a make I ran on scotty from my Linux 2.0.0 (Slakware 3.1)
> cc -rdynamic -o scotty scotty.o -L/usr/lib -ltcl -lieee -ldl -lm
> /usr/i486-linux/bin/ld: cannot open -ldl: No such file or directory
> make: *** [scotty] Error 1
> Todd Stevens
It is possible that you aren't missing any files. The compiler command
line you post says the following:
link scotty.o to make an output file called scotty with shareable
library support. Use libraries you will find in /usr/lib (-L/usr/lib).
the namee of the libraries are libtcl (-ltcl) libieee (-liee) libdl
(-ldl) libm (-lm).
The second line is the linker (ld) complaining. The third line is make
passing on the error from ld.
The first step is to try and find out if the file exists elsewhere on
your system. You can do this with the following command:
find / -name libdl*
if anyfile that starts with libdl exists anywhere on your disk its path
will be printed.
If it's found you have 2 choices:
1 - make a softlink from /usr/lib to where the file is. Assuming that
the path is /gizmo/lib/libdl.so , you would do the following:
ln -s /gizmo/lib/libdl.so /usr/lib/libdl.so
then try running make again, it should work now
2 - Edit your ldconfig.conf file and add the following line (agian the
same assumption holds)
and then run ldconfig
There is also the possiblity that you upgraded something on your system
and the problem is caused by something broken. You neglected to give any
pertinent info on the various software items you have installed.