sqlite database in HP-UX vs Linux

Hi everybody,
We have a cgi application which accesses sqlite database. It works fine in Linux environment but the same code doesn't enter data into the database when done in HP-UX environment. Should the codes vary depending on whether it is Linux or HP-UX.
Regards
Ruma

You don't give many details so neither can I. But in general, portable code will work on both systems. But non-portable code may not.

Here are a couple links that may help you:
Linux Porting Kit (LPK) version 2.0 for HP-UX
Linux Software Transition Kit -- Transitioning your applications from Linux to HP-UX 11i