LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Installing 64 bit package on 32 bit debian (https://www.linuxquestions.org/questions/linux-server-73/installing-64-bit-package-on-32-bit-debian-4175425698/)

rollyah 09-05-2012 12:10 AM

Installing 64 bit package on 32 bit debian
 
i have 32 bit lenny running. ( i cannot upgrade)
i need to install mysql-server-5.1 amd64 on it.

This system is already running l 64 bit kernel.

i can't seem to find that package in any current repo so i'm thinking of force installing it using dpkg but i don't know how to solve dependencies (especially libraries)

Any advice?

evo2 09-05-2012 12:29 AM

Hi,

Why do you want to install a 64bit binary? If you really want mysql 5.1 and there are no packages for it, you can always install it from source.

Evo2.

PS. Obligatory warning... Don't run old unsupported, EOL OSs and software. Upgrade.. etc.

rollyah 09-05-2012 02:04 AM

it's a requirement to do so, i wish it weren't but it is.
and it's against policy to compile from source.

I know there's another way since other servers are setup exactly like this.

Any advice?

Quote:

Originally Posted by evo2 (Post 4772945)
Hi,

Why do you want to install a 64bit binary? If you really want mysql 5.1 and there are no packages for it, you can always install it from source.

Evo2.

PS. Obligatory warning... Don't run old unsupported, EOL OSs and software. Upgrade.. etc.


evo2 09-05-2012 02:18 AM

Hi,

what policy? Unless we know the "rules" we can't really help.

Eg.
You are not allowed to compile from source?
You are not allowed to compile on that machine?
You must use that exact binary?

Evo2.

rollyah 09-06-2012 01:10 AM

i manged to do my thing, i'll share what i did for others



apt-get install lib64stdc++6 lib64z1 lib64bz2-1.0 lib64expat1 lib64gcc1 lib64ncurses5 lib64objc2 lib64readline5 libc6-amd64 perl zlib1g-dev libdbd-mysql-perl
mv libwrap.so.0.7.6 /lib64
ln -s libwrap.so.0.7.6 libwrap.so.0
dpkg -i --force-all mysql-common_5.1.26rc-1_all.deb
dpkg -i --force-all libmysqlclient16_5.1.26rc-1_amd64.deb
dpkg -i --force-all libmysqlclient-dev_5.1.26rc-1_amd64.deb
dpkg -i --force-all libmysqlclient-dev_5.1.26rc-1_amd64.deb
dpkg -i --force-all libndbclient3_5.1.26rc-1_amd64.deb
dpkg -i --force-all libndbclient-dev_5.1.26rc-1_amd64.deb
dpkg -i --force-all mysql-client-5.1_5.1.26rc-1_amd64.deb
dpkg -i --force-all mysql-client-5.1_5.1.26rc-1_amd64.deb
dpkg -i --force-all libndbclient-dev_5.1.26rc-1_amd64.deb
dpkg -i --force-all mysql-server-5.1_5.1.26rc-1_amd64.deb



Quote:

Originally Posted by evo2 (Post 4773012)
Hi,

what policy? Unless we know the "rules" we can't really help.

Eg.
You are not allowed to compile from source?
You are not allowed to compile on that machine?
You must use that exact binary?

Evo2.



All times are GMT -5. The time now is 04:33 AM.