Re: [Exim] ld.so.1

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: sanjay
Ημερομηνία:  
Προς: Jeremy C. Reed, exim list
Αντικείμενο: Re: [Exim] ld.so.1
yes, you are right. it says "file not found" for libmysqlclient.so.10. I set
the path for LD_LIBRARY_PATH and then started exim daemon and it runs. but,
during mail delivery it is producing same error. I even tried to recompile
using LOOKUP_LIBS=-L/usr/local/mysql/lib/mysql -lmysqlclient -R , which
gives me following error:

-lresolv -L/usr/local/mysql/lib/mysql -lmysqlclient -R
gcc: argument to `-R' is missing

~ sanjay


#root@mail:exim-3.32# ldd /usr/exim/bin/exim
        libsocket.so.1 =>        /usr/lib/libsocket.so.1
        libnsl.so.1 =>   /usr/lib/libnsl.so.1
        libkstat.so.1 =>         /usr/lib/libkstat.so.1
        libresolv.so.2 =>        /usr/lib/libresolv.so.2
        libmysqlclient.so.10 =>  (file not found)
        libc.so.1 =>     /usr/lib/libc.so.1
        libdl.so.1 =>    /usr/lib/libdl.so.1
        libmp.so.2 =>    /usr/lib/libmp.so.2
        /usr/platform/SUNW,UltraSPARC-IIi-cEngine/lib/libc_psr.so.1


----- Original Message -----
From: "Jeremy C. Reed" <reed@???>
To: "exim list" <exim-users@???>; "sanjay" <indianlinuxuser@???>
Sent: Thursday, October 04, 2001 2:27 PM
Subject: Re: [Exim] ld.so.1


> On Wed, 4 Jul 2001, sanjay wrote:
>
> > Thanks. But, I need mysql and I have installed it (3.23.42) also. I know

how
> > to correct this error on Linux but, don't know about solaris.
>
> But did your MySQL 3.23.42 install the libmysqlclient.so.10 library?
> Look under /usr/lib/ and /usr/local/lib/.
>
> What does "ldd /usr/exim/bin/exim" tell you?
> (I am guessing it says "(file not found) for libmysqlclient.so.10.)
>
> If you do have the library installed, then you may want to set the
> LD_LIBRARY_PATH variable to the path of your libraries before running
> exim. Or rebuild Exim by using ld's -R switch.
>
> You didn't mention what version of Solaris. Maybe have a look at the
> crle(1) manual page.
>
> On Thu, 4 Oct 2001, Sheldon Hearn wrote:
>
> > You're in luck -- Solaris is commercially supported. :-)
>
> And commercial support is available for Linux, BSDs, MySQL, Exim, and
> other free, non-proprietary, open source software.
>
>   Jeremy C. Reed
> .......................................................
>      ISP-FAQ.com -- find answers to your questions
>      http://www.isp-faq.com/

>
>



_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com