Thanks DukeNuke2 but the first option is not reallt working.
As for the second option describde in your link (3ed one is missing) - i can't use gcc on my server.
When i'm trying to run the gcc command it's says:
gcc: command not found.
provide a better link... this was the first which popped up in google and it wasn't reviewed.
criticize other people without better advice isn't helpfull at all...
# gcc change_hostid.c -o change_hostid
Undefined first referenced
symbol in file
sethostid /var/tmp//ccEX9dSj.o
ld: fatal: Symbol referencing errors. No output written to change_hostid
collect2: ld returned 1 exit status
As i mentioned i've quite new with the Solaris and really i'm not a code guy.
Any idea what can be the problem for this simple code not to compile ?
BTW, i've managed to compile this short code successfully on a RedHat Linux server.
Agreed, sorry for the unhelpful/rude comment. I guess I was in bad mood been stuck by snow ...
Anyway, gcc is part of the default Solaris installation if you select one of these software groups: Developer, Entire, Entire plus OEM. These choices are certainly the most frequent ones, compared to End User, Core or Core with reduced network. The fact is a large majority of people complaining about a missing gcc on Solaris 10 are just missing to add /usr/sfw/bin to their PATH.
There are several ways to workaround applications locked to a specific hostid. Not every solution works with each of them. What application are you using ? Why do you want to install it on another machine ?
We're working with a dedicated vendor which created a special application for us so i can't really expose the name of the application nor it will be familiar for anyone.
I need to install it on another machine since we need to test in on another environment while the real server is currently unavailable.
Can you specify the several ways of the workaround you are mentioning?
I didn't manage to find even one (at least working).
As I already wrote, you should try to fix the issue with the software vendor. Either he agrees to send you a temporary license for testing or he doesn't and you are asking how to crack a software protection.