Re: open_dll() with FreeBSD

new topic     » goto parent     » topic index » view thread      » older message » newer message

On Sun, Jan 12, 2003 at 09:22:34PM -0500, Robert Craig wrote:
> 
> C.K. Lester writes:
> > This ain't workin':
> 
> Try this:
> 
<snip>
> lib = open_dll("libc.so")
> if lib = 0 then
>     puts(1, "where is libc.so?\n")
> end if
<snip>
> 
> 
> Regards,
>    Rob Craig
>    Rapid Deployment Software
>    http://www.RapidEuphoria.com
> 

Interesting ... you used the string "libc.so" rather than just the empty "",
apparently FreeBSD's dl_open() doesnt default to all dynamicly-loaded/shared
libs as well as the executable itself as GNU under Linux does. Heh.

jbrown

> 
> 
> TOPICA - Start your own email discussion group. FREE!

-- 
 /"\  ASCII ribbon
 \ /  campain against
  X   HTML e-mail and
 /*\  news and unneeded MIME

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu