Questions and Answers : Unix/Linux : *** Running 32bit CPDN from 64bit Linux - Discussion ***
Message board moderation
Previous · 1 . . . 16 · 17 · 18 · 19
Author | Message |
---|---|
Send message Joined: 13 Jun 24 Posts: 3 Credit: 44,804 RAC: 830 |
I've recently done a fresh install of Arch Linux, with the multilib repository enabled. I don't know which packages need to be installed to make 32-bit workunits run correctly on Arch. |
Send message Joined: 15 May 09 Posts: 4540 Credit: 19,039,635 RAC: 18,944 |
If you have the executables on another Linux machine, copy them over and run ldd on them. It will give you a list of dependencies and let you know which are unmet. Otherwise, when there is next 32bit work for Linux start downloading tasks, then suspend computation, then run ldd filenameon them, install the dependencies, then resume computation. Edit: I have never used arch linux so don't know the packaging system. |
Send message Joined: 12 Apr 21 Posts: 317 Credit: 14,931,288 RAC: 12,041 |
One could download the executables without having tasks but it seems like the name of the downloads page changed, probably during the recent changeovers. |
Send message Joined: 12 Apr 21 Posts: 317 Credit: 14,931,288 RAC: 12,041 |
I believe you need the following 2 packages to get all of the required libraries. Without the executables it's hard to be completely certain but it looks like those 2 packages provide all of the libraries missing from Ubuntu. I'm assuming Arch will have the same ones missing. I'd install them and wait for the work to show up. lib32-glibc lib32-gcc-libs |
Send message Joined: 13 Jun 24 Posts: 3 Credit: 44,804 RAC: 830 |
I've installed those two packages, now I'll wait for the next batch of Linux tasks. |
Send message Joined: 12 Apr 21 Posts: 317 Credit: 14,931,288 RAC: 12,041 |
I've installed those two packages, now I'll wait for the next batch of Linux tasks. Just to clarify, only the 3 types of Hadley models are 32-bit and need additional libraries. The various versions of OIFS are 64-bit so they don't need them. Glenn did mention recently that Hadley models are in the works and might be release in the next few months. If those packages end up being sufficient, they could be added to the other thread for other Arch Linux users to be able to look up. |
Send message Joined: 15 May 09 Posts: 4540 Credit: 19,039,635 RAC: 18,944 |
If those packages end up being sufficient, they could be added to the other thread for other Arch Linux users to be able to look up.Thanks for the reminder. I will try and remember to check once the next Hadley tasks for Linux are released. If asked to guess I would say they are likely to come before the OIFS tasks. |
Send message Joined: 13 Jun 24 Posts: 3 Credit: 44,804 RAC: 830 |
In case it helps: now that I have installed lib32-glibc lib32-gcc-libsonto my fresh Arch Linux installation, I have run ldd on three files, with the following output: $ ldd hadam4_8.52_i686-pc-linux-gnu linux-gate.so.1 (0xf3746000) libpthread.so.0 => /usr/lib32/libpthread.so.0 (0xf371a000) libdl.so.2 => /usr/lib32/libdl.so.2 (0xf3715000) libstdc++.so.6 => /usr/lib32/libstdc++.so.6 (0xf349d000) libm.so.6 => /usr/lib32/libm.so.6 (0xf33c5000) libgcc_s.so.1 => /usr/lib32/libgcc_s.so.1 (0xf3390000) libc.so.6 => /usr/lib32/libc.so.6 (0xf315b000) /lib/ld-linux.so.2 => /usr/lib/ld-linux.so.2 (0xf3748000) $ ldd hadam4_um_8.52_i686-pc-linux-gnu linux-gate.so.1 (0xf65d8000) libdl.so.2 => /usr/lib32/libdl.so.2 (0xf65ac000) libm.so.6 => /usr/lib32/libm.so.6 (0xf64d4000) libpthread.so.0 => /usr/lib32/libpthread.so.0 (0xf64cf000) libc.so.6 => /usr/lib32/libc.so.6 (0xf629a000) /lib/ld-linux.so.2 => /usr/lib/ld-linux.so.2 (0xf65da000) $ ldd hadam4_se_8.52_i686-pc-linux-gnu.so ldd: warning: you do not have execution permission for `./hadam4_se_8.52_i686-pc-linux-gnu.so' linux-gate.so.1 (0xec70b000) libnsl.so.1 => /usr/lib32/libnsl.so.1 (0xec5ab000) libstdc++.so.6 => /usr/lib32/libstdc++.so.6 (0xec333000) libm.so.6 => /usr/lib32/libm.so.6 (0xec25b000) libgcc_s.so.1 => /usr/lib32/libgcc_s.so.1 (0xec226000) libc.so.6 => /usr/lib32/libc.so.6 (0xebff1000) /usr/lib/ld-linux.so.2 (0xec70d000) I don't know how to interpret this output to know whether these executables will run correctly or not. |
Send message Joined: 29 Oct 17 Posts: 1049 Credit: 16,580,037 RAC: 14,757 |
I don't know how to interpret this output to know whether these executables will run correctly or not.Yes, they will run. All the dynamic libraries can be found according to the output of ldd (ignore the warning for the .so file). --- CPDN Visiting Scientist |
Send message Joined: 12 Apr 21 Posts: 317 Credit: 14,931,288 RAC: 12,041 |
$ ldd hadam4_8.52_i686-pc-linux-gnu linux-gate.so.1 (0xf3746000) libpthread.so.0 => /usr/lib32/libpthread.so.0 (0xf371a000) libdl.so.2 => /usr/lib32/libdl.so.2 (0xf3715000) libstdc++.so.6 => /usr/lib32/libstdc++.so.6 (0xf349d000) libm.so.6 => /usr/lib32/libm.so.6 (0xf33c5000) libgcc_s.so.1 => /usr/lib32/libgcc_s.so.1 (0xf3390000) libc.so.6 => /usr/lib32/libc.so.6 (0xf315b000) /lib/ld-linux.so.2 => /usr/lib/ld-linux.so.2 (0xf3748000) How you read it is, the name of the required library is on the left of the arrow sign (=>) and the location of it on your system is on the right. So if you have a location specified for all of the libraries for a given executable, than that executable will run. To see what it looks like if you're missing something, uninstall those packages and run ldd again. Don't forget to reinstall them afterwards. |
©2024 cpdn.org