Shared libs versioning issues

From: Pablo J Royo (royop_at_tb-solutions.com)
Date: 12/23/03


Date: Tue, 23 Dec 2003 11:57:13 +0100

Hello:

I have compiled an application on a SunFire V240 Solaris 9 machine, and
when I try to execute it on a E250 Sparc Solaris 7 machine I get this error:

ld.so.1: ./my_app: fatal: libnsl.so.1: version `SUNW_1.7' not found
(required by file ./my_app)

I suppose I must link the program in some way in Solaris 9 so that the rigth
versioning info appears in it, and then Solaris 7 machine will "see" it
correctly, but I donīt know how to doit.
Any ideas? Is any option in "ld" linker to do this?

Thank you