Tonu,
Thanks a lot, I used the first option and it works.
I suppose most people have similar problems, so I suggest you write a
FAQ or manual for installing mySQL & mySQL++, to make things easier. (if
something like this already exists, please let me know).
regards,
Uri.
Tonu Samuel wrote:
>
> Uri Even-Chen wrote:
>
> > "error in loading shared libraries: libmysql++-1.6.so.0: cannot open
> > shared object file: No such file or directory"
>
> This is similar to this previous thing when compiler didn't found the
> libraries to link. Now you are running the program but he can't find the
> libraries. The paths to them aren't written to program binary (which is
> normal). There are different possibilities to get it work:
>
> For all of them you have to find, where this file libmysql++-1.6.so.0 is
> located on your disk.
>
> 1. add this path to /etc/ld.so.conf file and run ldconfig once after
> this. Now OS is able to find this library.
> 2. set the environment variable LD_LIBRARY_PATH= point to this directory
> 3. Copy file libmysql++-1.6.so* to some usual place for libraries like
> /usr/lib
>
> Just for education :). First option is preferable but others work too.
> Option 2 is good when you don't have root access on computer and can't
> modify ld.so.conf file. Third is not correct solution.
>
> --
> +----------------------------------------------------------------+
> | TcX ____ __ _____ _____ ___ |
> | /*/\*\/\*\ /*/ \*\ /*/ \*\ |*| Tõnu Samuel |
> | /*/ /*/ /*/ \*\_ |*| |*||*| tonu@stripped |
> | /*/ /*/ /*/\*\/*/ \*\|*| |*||*| Tallinn, Estonia |
> | /*/ /*/ /*/\*\_/*/ \*\_/*/ |*|____ |
> | ^^^^^^^^^^^^/*/^^^^^^^^^^^\*\^^^^^^^^^^^ |
> | /*/ \*\ Developers Team |
> +----------------------------------------------------------------+
--
--------------------------------------------------------
Uri Even-Chen
Speedy Software
Raanana, Israel.
E-mail: webmaster@stripped
ICQ Number: 7461268
Phone Number: 09-7715013
--------------------------------------------------------
Welcome to Speedy Net (In Hebrew):
http://www.speedy.co.il/
Speedy Dating (In Hebrew):
http://www.speedy.co.il/dating/
Speedy Composer (In English):
http://www.speedy.co.il/composer/
--------------------------------------------------------