mysql clientlibs?

Ask questions about your setup or get help installing ZCS server (ZD section below).
dijichi2
Elite member
Elite member
Posts: 1133
Joined: Fri Sep 12, 2014 10:00 pm

mysql clientlibs?

Postby dijichi2 » Thu Dec 01, 2005 9:36 am

building from cvs
install docs and makefiles refer to mysql-standard-4.1.15-clientlibs.tgz which i cant find any reference to.


14319KevinH
Ambassador
Ambassador
Posts: 4558
Joined: Fri Sep 12, 2014 9:52 pm

mysql clientlibs?

Postby 14319KevinH » Thu Dec 01, 2005 9:46 am

You can get MySQL from mysql.com
dijichi2
Elite member
Elite member
Posts: 1133
Joined: Fri Sep 12, 2014 10:00 pm

mysql clientlibs?

Postby dijichi2 » Thu Dec 01, 2005 9:53 am

gosh, thanks for the helpful response. i did search before posting.
i cant find any reference on mysql to .tgz clientlibs, only rpms. i made a slight typo, install docs refer to mysql-standard-4.1.10a-clientlibs.tgz not mysql-standard-4.1.15-clientlibs.tgz but still cant find either.
andreychek
Advanced member
Advanced member
Posts: 155
Joined: Fri Sep 12, 2014 9:58 pm

mysql clientlibs?

Postby andreychek » Thu Dec 01, 2005 10:03 am

[quote user="14319KevinH"]You can get MySQL from mysql.com[/QUOTE]

I think what he's referring to is the fact that the build wants both:
mysql-standard-4.1.10a-pc-linux-gnu-i686.tar.gz

mysql-standard-4.1.10a-clientlibs.tgz
But, on mysql.com, there is no package with "clientlibs". There is only the standard tar.gz binary, and the mysql source.
There *is* a clientlibs in the binary RPM's, but not standard tar.gz.
I hadn't gotten as far as handling that in the build script I'm working on, but my plan was to download the source and create the clientlibs tgz it's looking for.

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

mysql clientlibs?

Postby marcmac » Thu Dec 01, 2005 10:09 am

My bad - here's what's in the clientlibs.tgz:
[marcmac@depot RHEL4]$ tar tvzf mysql-standard-4.1.10a-clientlibs.tgz

lrwxrwxrwx root/root 0 2005-03-01 12:31:15 libmysqlclient.so -> libmysqlclient.so.14.0.0

lrwxrwxrwx root/root 0 2005-03-01 12:31:15 libmysqlclient.so.14 -> libmysqlclient.so.14.0.0

-rwxr-xr-x root/root 1133466 2005-02-14 02:06:07 libmysqlclient.so.14.0.0
dijichi2
Elite member
Elite member
Posts: 1133
Joined: Fri Sep 12, 2014 10:00 pm

mysql clientlibs?

Postby dijichi2 » Thu Dec 01, 2005 10:25 am

aha! that did the trick, thanks.
im building on debian, so installed libmysqlclient14 from apt, copied libmysqlclient.so.14.0.0 to temp directory, created the symlinks and then made the tarball. is there a more 'official' way of doing this? i've always wondered why mysql dont include shared libs in their tars
marcmac
Elite member
Elite member
Posts: 2091
Joined: Fri Sep 12, 2014 9:53 pm

mysql clientlibs?

Postby marcmac » Thu Dec 01, 2005 10:38 am

I'm not sure why they don't include them either - and, the don't offer a clientlib rpm for every system they offer a binary build for...
The way I build the thirdparty stuff is to generally do an install build into /opt/zimbra/whatever-version, and tar that up for insertion into the packages. THis is to save time during builds, since I don't upgrade the 3rd party stuff every time I do a build (I run about 20 builds a day, on various platforms).
jgao
Advanced member
Advanced member
Posts: 74
Joined: Fri Sep 12, 2014 10:02 pm

mysql clientlibs?

Postby jgao » Wed Jan 04, 2006 8:00 pm

On MySQL website, on the 4.1.10a download page, there's nothing about mysql-standard-4.1.10a-clientlibs.tar.gz.
What should I do so I can compile Zimbra on FC4?
Thanks.
marcmac
Elite member
Elite member
Posts: 2091
Joined: Fri Sep 12, 2014 9:53 pm

mysql clientlibs?

Postby marcmac » Wed Jan 04, 2006 8:10 pm

You can either:
download the source, and tar up the client libs into this package (just the .so files, tar cf blah.tgz .)
or
FInd the client lib RPM, install it, and tar them up from that.

Return to “Installation and Upgrade”

Who is online

Users browsing this forum: No registered users and 4 guests