Forums

Kevin Dika
Kevin Dika
Offline
Resolved
0 votes
Hi guys,
What rpm has this file in it.. or where can I look to find it?

libmysqlclient_r.so.10.0.0
Thursday, May 05 2011, 04:18 AM
Share this post:
Responses (6)
  • Accepted Answer

    Kevin Dika
    Kevin Dika
    Offline
    Thursday, May 05 2011, 02:39 PM - #Permalink
    Resolved
    0 votes
    What a good explanation and thank you.

    This just points out another reason why ClearOS community is so great and why I enjoy spending time with ClearOS, the people are always willing to teach new-bees (sounds better than noob) a bit of the basics.

    I guess I was confused regarding the file, because before I found the library file, I received a error in the log for " can't execute libsqlmy.so". So the error was just following the flow and couldn't load the library file, than couldn't look for the other library file. I guess it was just following the flow and couldn't run because it didn't have the library.
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, May 05 2011, 06:37 AM - #Permalink
    Resolved
    0 votes
    OK - unlike Windows, Nix will not run any executable in the current directory unless a full path is specified either in the path environment or expressly given at the command line

    . (one dot) is the current directory

    .. (two dots) is the next higher level directory

    thus ./run_me

    will run the program called "run_me" that is in the current directory where the command is given

    nothing to do with the user or super-user (root)

    xxxxxxxxx.so or xxxxxxxxx.so.xxx files are not to be directly run as an executable, but are libraries or a collection of routines are are not called from the command line, but mostly executed by other programs that require routines macros etc within the .so (in most cases). Occasionally they are called, but the calling routine should have set up the necessary environment for them to run...
    .so files are somewhat akin to Windows .dll files...
    The reply is currently minimized Show
  • Accepted Answer

    Kevin Dika
    Kevin Dika
    Offline
    Thursday, May 05 2011, 05:10 AM - #Permalink
    Resolved
    0 votes
    @Tony,
    Maybe you know this.

    If this command was in a ini file, what would you make of it?


    LibraryName=./libsqlmy.so
    [code]

    I'm assuming by the "dot / " indicates that it needs to run at root level, is that correct? hmmmm

    but when I try to run it ./libsqlmy.so i receive this;

    [code]
    Segmentation fault


    Which at first nearly gave me a heart attack, as I spend most of my weekend fighting exactly that.

    But, if I run the default script it works fine (with a few issues) and my own script will not run it. (well not my own script, my "tweeked" script.
    The reply is currently minimized Show
  • Accepted Answer

    Kevin Dika
    Kevin Dika
    Offline
    Thursday, May 05 2011, 04:59 AM - #Permalink
    Resolved
    0 votes
    P.S.... wasn't there a How-To to upgrade MySQL to the newer version?
    The reply is currently minimized Show
  • Accepted Answer

    Kevin Dika
    Kevin Dika
    Offline
    Thursday, May 05 2011, 04:58 AM - #Permalink
    Resolved
    0 votes
    hahaha :-) Thats why I love you guys!

    I did try that, and I'm assuming that .10 is in a different rpm...

    FUNNY thing I have tried the .15 with TeamSpeak 2 but it will not work. only 10... not sure why, I'm assuming some type of hardwired thing.

    by the way thanks for the info.
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, May 05 2011, 04:34 AM - #Permalink
    Resolved
    0 votes
    Maybe opportunity to learn some basic CLI commands?

    Anyway - I have a different version - but this should get you going (note the back tick [often on same key as ~ ])
    Make sure you have run "updatedb" first (can take a few minutes)


    [root@danda ~]# locate libmysqlclient_r
    /usr/lib/mysql/libmysqlclient_r.so.15
    /usr/lib/mysql/libmysqlclient_r.so.15.0.0
    [root@danda ~]# rpm -q --whatprovides `locate libmysqlclient_r`
    mysql-5.0.77-4.el5_5.5
    mysql-5.0.77-4.el5_5.5
    [root@danda ~]#

    Note my system is fully up to date...
    The reply is currently minimized Show
Your Reply