Vadim Pestovnikov wrote:

> My system is Solaris 10 sparc and I compiled using SunStudio 11
> psycopg2 python binding for PostgreSQL 8.3.1.

Regardless of system or compiler, built all shared objects with
the -z defs option.  This will catch unresolved references.  Resolve
these references at link-edit time by adding the required -lX
options.  The final object will then be capable of being used
in any environment, as your object will define all the dependencies
it needs (providing the runtime environment you use also provides
the same dependencies :-).

Another check is to run "ldd -r" over your object.  There should be no
errors.

-- 

Rod.

Reply via email to