Do we need to re-compile the library for every os/kernel version and/or platform of linux and solaris? Or, is it one native library for linux and one for solaris?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
You should not need to recompile for every kernel version. We've used the linux wrapper on 2.2 and 2.4 kernels. We've only used the Solaris wrapper on Solaris 8, though.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
If you are trying to use the same actual binary that you were
using on linux, it won't work. You need to download the source
and compile on your Solaris box to get a realpath binary that
will run on solaris.
Ryan
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Do we need to re-compile the library for every os/kernel version and/or platform of linux and solaris? Or, is it one native library for linux and one for solaris?
You should not need to recompile for every kernel version. We've used the linux wrapper on 2.2 and 2.4 kernels. We've only used the Solaris wrapper on Solaris 8, though.
On Solaris 8 Sparc, I'm getting an error saying
./realpath: ^?ELF^A^A^A^B^C^A\300\204^D^H4P: not found
./realpath: syntax error at line 2: `(' unexpected
Can anyone give me some insight on how to fix this?
Could it be that I'm using a wrong realpath file? I'm using the same file for linux, and it work.
Tnx.
If you are trying to use the same actual binary that you were
using on linux, it won't work. You need to download the source
and compile on your Solaris box to get a realpath binary that
will run on solaris.
Ryan