source install mysql questions

Ask questions about your setup or get help installing ZCS server (ZD section below).
exothermic
Posts: 20
Joined: Fri Sep 12, 2014 10:01 pm

source install mysql questions

Postby exothermic » Fri Nov 25, 2005 2:34 pm

could someone please explain the following out of the build_cvs install doc:
cd ../mysql

mkdir $(BUILD_PLATFORM) (RHEL4, FC3, FC4, MACOSX, SuSEES9, DEBIAN3.1)

cd $(BUILD_PLATFORM)

# download mysql 4.1.10a for your platform (binary) or 4.1.14(source) if MACOSX

# Also grab client libraries (unless MACOSX)
Does this mean I only have to download the rpms under a new distro dir? Do they need to be installed at all?
if then why is this:

add /opt/zimbra/mysql/lib to /etc/ld.so.conf

needed? If I follow this doc, this dir doesn't even exist at this point.
the other thing I'm wondering is this line:
export LD_LIBRARY_PATH=/opt/zimbra/mysql/lib:${LD_LIBRARY_PATH}
What is this ${LD_LIBRARY_PATH} variable, what do I replace this with?
Miles


marcmac
Elite member
Elite member
Posts: 2091
Joined: Fri Sep 12, 2014 9:53 pm

source install mysql questions

Postby marcmac » Fri Nov 25, 2005 2:49 pm

[quote user="exothermic"]could someone please explain the following out of the build_cvs install doc:
cd ../mysql

mkdir $(BUILD_PLATFORM) (RHEL4, FC3, FC4, MACOSX, SuSEES9, DEBIAN3.1)

cd $(BUILD_PLATFORM)

# download mysql 4.1.10a for your platform (binary) or 4.1.14(source) if MACOSX

# Also grab client libraries (unless MACOSX)
Does this mean I only have to download the rpms under a new distro dir? Do they need to be installed at all?
[/QUOTE]

Don't download rpms - download the binary tar file, which will be expanded by the makefile.

[quote user="exothermic"]
if then why is this:

add /opt/zimbra/mysql/lib to /etc/ld.so.conf

needed? If I follow this doc, this dir doesn't even exist at this point.

[/QUOTE]

No, it doesn't - but it will after you run make, and that way the subsequent builds will find the libraries they need.

[quote user="exothermic"]
the other thing I'm wondering is this line:
export LD_LIBRARY_PATH=/opt/zimbra/mysql/lib:${LD_LIBRARY_PATH}
What is this ${LD_LIBRARY_PATH} variable, what do I replace this with?
Miles[/QUOTE]
Don't replace it with anything - this prepends /opt/zimbra/mysql/lib to your existing LD_LIBRARY_PATH environment variable.

Return to “Installation and Upgrade”

Who is online

Users browsing this forum: No registered users and 7 guests