Loading mysql library error..


 
Thread Tools Search this Thread
Top Forums Programming Loading mysql library error..
# 1  
Old 10-17-2008
error while loading shared libraries: libmysqlclient.so.15

I am making cpp application with mysql databases. I m able to compile my application, but when i m executing the program, i m getting the loading errror as -


error while loading shared libraries: libmysqlclient.so.15: cannot open shared object file: No such file or directory

can any one give me the reason & solution to this error...

Thanks in adv.

Last edited by ps_sach; 10-17-2008 at 07:13 AM..
# 2  
Old 10-17-2008
If you are on linux, try running ldconfig. OTherwise your process will have to define LD_LIBRARY_PATH to define the location of the library with a complete (not relative) path.
# 3  
Old 10-17-2008
Quote:
Originally Posted by jim mcnamara
If you are on linux, try running ldconfig. OTherwise your process will have to define LD_LIBRARY_PATH to define the location of the library with a complete (not relative) path.
Hey it's ldconfig. Its working for me with ldconfig. Thanks for the suggestion.
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. AIX

Loading a shared library in AIX

Hi, I have an application running on AIX. The app is deployed on Webspshere server. Due to some reason, i have to make use of a third party library (Sigar API's) from my application. This library requires an .so file as well. Is there any location where i can put this *.so file and it will... (1 Reply)
Discussion started by: user_guest
1 Replies

2. Programming

Loading the shared library I want

Hi All I have been given by someone else header file and a shared library to be used by my C++ application. Compilation is fine but when I try to executes the application I receive the following error. ./first: error while loading shared libraries: libMyLib.so.9: cannot open shared object file:... (2 Replies)
Discussion started by: manustone
2 Replies

3. Red Hat

RHEL5 reboot - error loading shared library

Hi All, I have RHEL 5 installed in my system. Something must has happened because when i reboot the server, it came with many error.. /usr/bin/rhgb-client -- error while loading shared libraries: libpopt.so.0. Can't open shared object files. No such file/directory It finnaly ends with the... (0 Replies)
Discussion started by: c00kie88
0 Replies

4. Programming

gdb - loading symbols of shared library

I am debugging in gdb a program that dynamically loads libodbcinst.so. I want to debug the code from libodbcinst - I can break in it, see the source and step through it, but whenever I try printing a variable, I get (e.g. for the variable ret): No symbol "ret" in current context. In my program... (0 Replies)
Discussion started by: rimon
0 Replies

5. Programming

Error while loading libstlport_gcc.so library

I am getting error while processing the below line : "DEPENDENCIES=$OMNIWORKS_PATH/tradewind/build/build_dg_c $(SET) "*.pcc" $(SET).pcctmp1 ".cc" h" ... --------------------------------------------- ! ---------------------------------------------------------------------------- ! Build rule... (0 Replies)
Discussion started by: shafi2all
0 Replies

6. Linux

Problem in loading library

I am trying to run seagull tool. But when i start it following error shown |E|Unable to open library file error |A|STOP log Please help me how i can recover from it. (1 Reply)
Discussion started by: mansoorulhaq
1 Replies

7. Shell Programming and Scripting

Loading values into a MYSQL database

Where to start? Ok, I need to pick up a Worldpay exchange rates file from a url such as: https://select.worldpay.com/wcc/info?op=rates&instId=12345&op=rates-today the http response returns a exchange rates file with content-type "text/plain" content as below: #Exchange rates for... (2 Replies)
Discussion started by: kshelluser
2 Replies

8. Programming

loading a dynamic library in linux

is there a way to load a dynamic library in linux? I know tht in AIX u can do it using the loadAndInit() function. Please guide me (2 Replies)
Discussion started by: jacques83
2 Replies
Login or Register to Ask a Question