From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <199702151645.KAA21059@atheist.tamu.edu> Date: Sat, 15 Feb 1997 10:45:35 -0600 (CST) From: Richard Henderson Subject: Re: resolving dynamic symbols In-Reply-To: <199702150419.UAA02511@icarus.icarus.com> > I have two shared objects. The first one references symbols only in the > wish program that loads it. It loads fine. The second object references > symbols in the first loaded object, and fails to load. You havn't given me quite enough information, but it doesn't sound like a bug, it sounds like intended behaviour. (1) In order for one dlopen'd object to see another, you must give the flag RTLD_GLOBAL to dlopen. (2) You could alternatively add the first object to the second object's link line so that it will automatically be loaded along with the second. This also adds the first object to the second object's symbol search path. Given that neither of these are the case, I have no idea why it would work on Intel or Sparc, and would seem to indicate a bug in ld.so on those systems. r~ -- To unsubscribe: send e-mail to axp-list-request@redhat.com with 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com