Problem to use mysql

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Z. S.Ghand

    #1

    Problem to use mysql

    --0-1230766640-1061225344=:245 93
    Content-Type: text/plain; charset=us-ascii

    Hi All;
    I have written a small mysql program with c++ in linux. i compile it by
    g++ -L/usr/lib/mysql -I/usr/include/mysql -lsqlplus myprogram.cc

    it works properly. but when i want to execute it i receive this error:
    error while loading shared libraries: libsqlplus.so.1 : cannot open shared object file : no such file or directory.

    i have libsqlplus.so.1 in /usr/lib/mysql

    thanks in advance.





    ---------------------------------
    Do you Yahoo!?
    SBC Yahoo! DSL - Now only $29.95 per month!
    --0-1230766640-1061225344=:245 93--
Working...