Hi Sanchet,
        Sorry for the delayed reply, but I was out of town for 3/4 days.
I forgot to mention this in my first post, but running /sbin/ldconfig was
the first thing I tried to solve this. Also as I mentioned there
libspell.so.2 _IS_ present in ld.so.cache, still I have this problem.
I have no clue.

        Thanks,

        Santosh Vadawale
        Research Student,
        Dept. of Astronomy & Astrophysics,
        TIFR, Mumbai, India.                     

On Thu, 22 Feb 2001, Sanchet Surendra Dighe wrote:

> ld.so.conf contains the list of directories that contain the libraries.
> ld.so.cache is the ordered list of libraries found in the ld.so.conf
> entries.
> 
> You can rebuild this cache by using /sbin/lconfig. Try it; this may
> work.
> 
> Sanchet
> --
> Santosh Vadawale <[EMAIL PROTECTED]> wrote:
> >Hi Sanchet,
> >      I thought the variable LD_LIBRARY_PATH is needed only for the
> >library paths not present in the file 'ld.so.conf' and also '/lib' and
> >'/usr/lib' are the trusted paths and need not be present in this variable.
> 
> >      Anyway, I tried adding /usr/lib to LD_LIBRARY_PATH but 'configure'
> 
> >still gives the same error.
> >
> >      Thanks,
> >
> >      Santosh Vadawale
> >      Research Student,
> >      Dept. of Astronomy & Astrophysics,
> >      TIFR, Mumbai, India.
> >
> >
> >On Tue, 20 Feb 2001, Sanchet Surendra Dighe wrote:
> >
> >> Seems like the environment variable LD_LIBRARY_PATH is getting changed
> >> somewhere.
> >> 
> >> It should be updated as -
> >> 
> >> export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/new/path/to/add
> >> 
> >> Is /usr/lib getting removed from this environ variable ? Just check.
> >> 
> >> --
> >> Santosh Vadawale <[EMAIL PROTECTED]> wrote:
> >> >Hello all,
> >> >  I have a problem in configuring the gnome mail client 'balsa'. I
> >> >had similar problem earlier with 'configure' for other software also
> but
> >> >at that time I did not have time to go into the details.
> >> >  
> >> >  I am trying to compile 'balsa 1.0.0' on a standard RH 7.0 system.
> >> >But 'configure' exits with the message that....
> >> >
> >> >configure: error: *** libpspell not found.        Pleas check
> >> >http://www.balsa.net for information on the required files.
> >> >
> >> >  I checked that 'libpspell.so.2' is there in /usr/lib and is sym
> >> >link to 'libpspell.so.2.0.2'. I also checked that 'ldconfig -p' does
> show
> >> >this particular library.
> >> >
> >> >  Further, I tried to compile the small program that 'configure'
> >> >tries to compile to check -lpspell (shown at the end of the
> config.log),
> >> >manually. It gives the same error. It requires the function
> >> >"new_pspell_manager()" which is present in the so file as shown by 'nm'
> 
> >> >(nm - list symbols from object files). So when I compile it with
> >> >libpspell.so.2 as another argument to gcc it compiles smoothly.
> >> >  
> >> >  What is the problem here. It seems that the library and the
> >> >required function both are present on the system but ld does not find
> it.
> >> >Why? In past I had the same problem with some other libraries also.
> >> >Has anybody encountered similar problem? What can be the solution?
> >> >
> >> >  I am attaching a text file containing the exact commands and
> >> >outputs herewith.
> >> >  
> >> >  with regards,
> >> >
> >> >   Santosh Vadawale
> >> >   Research Student,
> >> >  Dept. of Astronomy & Astrophysics,
> >> >   TIFR, Mumbai, India.
> >> >  
> >> >
> >> >
> >> ><HR WIDTH=90% SIZE=4><BR>
> >> >-----------------------------------
> >> >[santoshv@cygnus balsa-1.0.0]$ tail -20 config.log 
> >> >configure:3309: gcc -o conftest -g -O2  -I/usr/lib/glib/include
> >> -I/usr/X11R6/include  -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic
> >> -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm conftest.c -lSM        -lICE  1>&5
> 
> >> >configure:3338: checking for X11/SM/SMlib.h
> >> >configure:3348: gcc -E  -I/usr/lib/glib/include -I/usr/X11R6/include
> >> conftest.c >/dev/null 2>conftest.out
> >> >configure:3386: checking for XpmFreeXpmImage in -lXpm
> >> >configure:3405: gcc -o conftest -g -O2  -I/usr/lib/glib/include
> >> -I/usr/X11R6/include  -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic
> >> -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm conftest.c -lXpm   1>&5
> >> >configure:3434: checking for new_pspell_manager in -lpspell
> >> >configure:3453: gcc -o conftest -g -O2  -I/usr/lib/glib/include
> >> -I/usr/X11R6/include  conftest.c -lpspell   1>&5
> >> >/usr/bin/ld: cannot find -lpspell
> >> >collect2: ld returned 1 exit status
> >> >configure: failed program was:
> >> >#line 3442 "configure"
> >> >#include "confdefs.h"
> >> >/* Override any gcc2 internal prototype to avoid an error.        */
> >> >/* We use char because int might match the return type of a gcc2
> >> >  builtin and then its argument prototype would still apply.  */
> >> >char new_pspell_manager();
> >> >
> >> >int main() {
> >> >new_pspell_manager()
> >> >; return 0; }
> >> >[santoshv@cygnus balsa-1.0.0]$ 
> >> >
> >> >------------------------------------
> >> >
> >> >[santoshv@cygnus balsa-1.0.0]$ ls -l /usr/lib |grep pspell
> >> >lrwxrwxrwx          1 root          root           23 Jan  9 04:12
> >> libpspell-impl.so.3 -> libpspell-impl.so.3.0.1
> >> >-rwxr-xr-x          1 root          root       108457 Aug 20  2000
> >> libpspell-impl.so.3.0.1lrwxrwxrwx  1 root  root           26 Jan  9
> >> 04:12 libpspell-modules.so.1 -> libpspell-modules.so.1.0.1
> >> >-rwxr-xr-x          1 root          root         5674 Aug 20  2000
> >> libpspell-modules.so.1.0.1
> >> >lrwxrwxrwx          1 root          root           18 Jan  9 04:12
> libpspell.so.2 ->
> >> libpspell.so.2.0.2
> >> >-rwxr-xr-x          1 root          root       146274 Aug 20  2000
> libpspell.so.2.0.2
> >> 
> >> >lrwxrwxrwx          1 root          root           25 Jan  9 04:01
> >> libpspell_aspell.so.1 -> libpspell_aspell.so.1.0.4
> >> >-rwxr-xr-x          1 root          root        78298 Aug 20  2000
> >> libpspell_aspell.so.1.0.4
> >> >[santoshv@cygnus balsa-1.0.0]$ 
> >> >
> >> >--------------------------------------
> >> >
> >> >[santoshv@cygnus balsa-1.0.0]$ /sbin/ldconfig -p |grep pspell
> >> >  libpspell_aspell.so.1 (libc6) => /usr/lib/libpspell_aspell.so.1
> >> >  libpspell.so.2 (libc6) => /usr/lib/libpspell.so.2
> >> >  libpspell-modules.so.1 (libc6) => /usr/lib/libpspell-modules.so.1
> >> >  libpspell-impl.so.3 (libc6) => /usr/lib/libpspell-impl.so.3
> >> >[santoshv@cygnus balsa-1.0.0]$ 
> >> >
> >> >-------------------------------------
> >> >
> >> >[santoshv@cygnus balsa-1.0.0]$ cat pspell.c 
> >> >#line 3442 "configure"
> >> >/* Override any gcc2 internal prototype to avoid an error.        */
> >> >/* We use char because int might match the return type of a gcc2
> >> >  builtin and then its argument prototype would still apply.  */
> >> >  char new_pspell_manager();
> >> >
> >> >  int main() {
> >> >  new_pspell_manager()
> >> >  ; return 0; }
> >> >  
> >> >[santoshv@cygnus balsa-1.0.0]$ 
> >> >
> >> >--------------------------------------
> >> >
> >> >[santoshv@cygnus balsa-1.0.0]$ gcc pspell.c -lspell
> >> >/usr/bin/ld: cannot find -lspell
> >> >collect2: ld returned 1 exit status
> >> >[santoshv@cygnus balsa-1.0.0]$ 
> >> >
> >> >--------------------------------------
> >> >
> >> >[santoshv@cygnus balsa-1.0.0]$ gcc pspell.c /usr/lib/libpspell.so.2
> >> >[santoshv@cygnus balsa-1.0.0]$ 
> >> >
> >> >--------------------------------------
> >> >
> >> >[santoshv@cygnus balsa-1.0.0]$ nm /usr/lib/libpspell.so.2 |grep manager
> 
> >> >00010e50 T delete_pspell_manager
> >> >0000f840 T new_pspell_manager
> >> >0000f400 T new_pspell_manager_class__FP12PspellConfig
> >> >0000f140 T pspell_manager_add_to_personal
> >> >0000f160 T pspell_manager_add_to_session
> >> >0000f120 T pspell_manager_check
> >> >0000f200 T pspell_manager_clear_session
> >> >0000f100 T pspell_manager_config
> >> >0000f0e0 T pspell_manager_error_extra_info
> >> >0000f0c0 T pspell_manager_error_message
> >> >0000f0a0 T pspell_manager_error_number
> >> >    U pspell_manager_funs
> >> >    U pspell_manager_funs_size
> >> >0000f180 T pspell_manager_master_word_list
> >> >0000f1a0 T pspell_manager_personal_word_list
> >> >0000f1e0 T pspell_manager_save_all_word_lists
> >> >0000f1c0 T pspell_manager_session_word_list
> >> >0000f240 T pspell_manager_store_replacement
> >> >0000f220 T pspell_manager_suggest
> >> >0000f090 T to_pspell_manager
> >> >[santoshv@cygnus balsa-1.0.0]$ 
> >> >--------------------------------------
> >> >
> >> 
> >> 
> >
> >
> 
> 

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs

Reply via email to