Doesn't this need to be in ld's path? /etc/ld.conf ? I'm not to sure.... Not on *nix at the moment, but I believe the proper way to add it would be through /etc/ld.conf and running ldconfig to update the paths.
Kind Regards, Chris Knipe MegaLAN Corporate Networking Services Tel: +27 21 854 7064 Cell: +27 72 434 7582 ----- Original Message ----- From: <[EMAIL PROTECTED]> To: "Charitha" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Friday, June 07, 2002 9:14 AM Subject: Re: Error in shared libraries > or aalternatively, u can also do a echo $PATH and put the library in one of > those path. eg: /usr/lib or someplave OR > do PATH=$PATH:/usr/lib/mysql, if it work, put that command in your > '.profile' so that it loads every time you log in. > ----- Original Message ----- > From: "Chris Knipe" <[EMAIL PROTECTED]> > To: "Charitha" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> > Sent: Thursday, June 06, 2002 9:00 PM > Subject: Re: Error in shared libraries > > > > It may be looking for the library in a different location, such as > > /usr/local/lib/mysql.... > > > > ldd <application binary> > > > > Should show you where exactly it is looking for the library, then you can > > try to symlink the library to that location. Alternatively, recompiling > the > > application may also help. > > > > Kind Regards, > > > > Chris Knipe > > MegaLAN Corporate Networking Services > > Tel: +27 21 854 7064 > > Cell: +27 72 434 7582 > > > > ----- Original Message ----- > > From: "Charitha" <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > Sent: Friday, June 07, 2002 5:46 AM > > Subject: Error in shared libraries > > > > > > > > > > > > > Hello all, > > > > > > I am having one application in which i am using mysql as database. > > > When i run my application it gives following error. > > > > > > "error:loading shared libraries libmysqlclient.so.10 (No such file or > > > directory)" > > > > > > I am having that library in /usr/lib/mysql/ > > > Still it gives this error.Why is it so......? > > > How to solve this problem? > > > > > > > > > Thanks and regards, > > > Charitha C. > > > > > > > > > > > > > > > -- > > > > > > > > > > > > --------------------------------------------------------------------- > > > Before posting, please check: > > > http://www.mysql.com/manual.php (the manual) > > > http://lists.mysql.com/ (the list archive) > > > > > > To request this thread, e-mail <[EMAIL PROTECTED]> > > > To unsubscribe, e-mail > > <[EMAIL PROTECTED]> > > > Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php > > > > > > > > > > > > --------------------------------------------------------------------- > > Before posting, please check: > > http://www.mysql.com/manual.php (the manual) > > http://lists.mysql.com/ (the list archive) > > > > To request this thread, e-mail <[EMAIL PROTECTED]> > > To unsubscribe, e-mail > <[EMAIL PROTECTED]> > > Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php > > > > > --------------------------------------------------------------------- > Before posting, please check: > http://www.mysql.com/manual.php (the manual) > http://lists.mysql.com/ (the list archive) > > To request this thread, e-mail <[EMAIL PROTECTED]> > To unsubscribe, e-mail <[EMAIL PROTECTED]> > Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php > > --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php