in reply to Re: prob with DBD::mysql on Mac OS X
in thread prob with DBD::mysql on Mac OS X

Okay, I re-investigated the problem after it did also show up in one of my mailing lists... and after around 1h or searching on google and bash scripting, I arrived at the following solution.

it seems that perl can't access some library functions that it needs. Meaning: It doesn't have access to the mysql libraries and/or includes.

Hope this helps.

/oliver/

Update: Added <code> tags around the "two choices" code snippets.

Replies are listed 'Best First'.
Re: Re: Re: prob with DBD::mysql on Mac OS X
by Anonymous Monk on Jan 08, 2004 at 01:06 UTC
    Also look @ Net::MySql module for machines which don't have a mysql client installed....
Re: Re: Re: prob with DBD::mysql on Mac OS X
by Anonymous Monk on Jan 05, 2004 at 15:53 UTC
    thanks for your research! sounds reasonable to me. but, it does not work anyway...
    a few more questions you can easily answer me:
    - i do not have to restart the system do i?
    - my mysql is in /usr/local/mysql..../. i tried with the alias (which is /usr/local/mysql) and with the whole path. neither worked. maybe it helps to reinstall mysql to /usr/mysql?

    i tried both ways, the PATH and the export. keep on trying. thanks for your help & patience!
      sorry for the last anonymous post.
      the question for the restart is not considering my acutal prob. (it did not help anyway.) i'm new to *nix-systems and used to restart the system every time i did something special on it (from windows). so the question is more general: when do i have to restart my system? never?

        This is extremely off topic, but ok... You rarely need to reboot your *nix machine. Only in case of a kernel panic, a kernel update, or when you want to add new (non hot swapable) hardware.

        Update: ... or in case of really annoying zombie processes.

        --
        b10m