[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Search]

Re: libtcl.so.0?



Stephen,

Those .so (shared object) files are dynamically loadable modules analogous
to DLLs on windows. The linux shared object loader program (called ld.so)
needs to know where to find those .so files. There are two ways that ld.so
can be told where to look:

1) There is a file called ld.so.conf in the /etc directory. This is where
    "standard" library locations are listed. There are some standard places
    where libraries reside such as /lib, /usr/lib, and /usr/local/lib.

    Sometimes third party applications install their shared objects in the
    /usr/local/lib directory but its not listed in /etc/ld.so.conf, so the
    running programs can't find them.

    I suggest that you put those .so files back to wherever dectalk put
    them, then add that directory location to /etc/ld.so.conf. Edit the
    file and add a new line listing the directory. Note: after you change
    /etc/ld.so.conf, you have run the program ldconfig to make the change
    active. Just type ldconfig [enter] on the command line.

2) There is an environment variable called "LD_LIBRARY_PATH" that tells
    ld.so additional places to look for shared objects. You can add a
    search path to this. To make the change "global" to the system (ie
    accessible to all users) you can specify it in /etc/profile. If you
    add a line to /etc/profile like this:

    export LD_LIBRARY_PATH=/usr/local/dectalk

    Then ld.so would know to look there. Note: you need to log out and
    back in to get the change in /etc/profile, or alternatively you can
    type source /etc/profile [enter]

The above might be a solution for libtts.so. However, libtcl.so is a
tcl language shared object. Dectalk shouldn't be providing that, your
system has to have tcl installed. You mentioned that you successfully
installed the tcltk.so in the /usr/share/emacs .... don't put it there.
tcl should automaticaly get installed in one of the standard places
like /usr/lib or /usr/local/lib. Note also that there are two tcl
things you mentioned, libtcl.so and tcltk.so. These are from two
different packages: the tcl language, and the tcl/tk toolkit.

If you still can't figure it out, send me an email directly mailto
wearable@xxxxxxxxxxx

Cheers,
Doug

-----------------------------------------------------------------------------
To unsubscribe from the emacspeak list or change your address on the
emacspeak list send mail to "emacspeak-request@xxxxxxxxxxx" with a
subject of "unsubscribe" or "help"