Ethereal-dev: Re: [Ethereal-dev] Ethereal 0.10.0a plugin details lists nothing -- HPUX 11.11

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Albert Chin <libtool@xxxxxxxxxxxxxxxxxx>
Date: Tue, 16 Dec 2003 20:07:44 -0600
On Tue, Dec 16, 2003 at 05:25:06PM -0800, Guy Harris wrote:
> 
> On Dec 16, 2003, at 5:03 PM, Albert Chin wrote:
> 
> >The problem is that your 11i system supports dlopen() and shl_load()
> >to load libraries. When you build glib, it select dlopen as the
> >preferred method to load libraries, and it equates the ".so" extension
> >with dlopen() libraries.
> 
> ...and presumably libtool builds for "shl_load()" rather than 
> "dlopen()", so plugins are built as ".sl"?
> 
> Sigh.  At one point we were using libtool's libltdl stuff, which 
> presumably wouldn't have this problem, rather than GLib's gmodule 
> stuff, to dynamically load code, but I forget why we abandoned that - I 
> think there were some problems with it.

libtool 1.5 will select shl_load on HP-UX even if dlopen() exists.

There is active development going on with libtool now so the 1.6
release should look good. However, as you're already using glib, I'd
just stick with it.

-- 
albert chin (china@xxxxxxxxxxxxxxxxxx)