Warning: Undefined variable $g_charset in /home/os4depot/public_html/index.php on line 9

Warning: Undefined array key "cookie_set_viewmode" in /home/os4depot/public_html/login.php on line 24

Warning: Undefined array key "viewmode" in /home/os4depot/public_html/login.php on line 42

Warning: Undefined array key "cookie_set_startpage" in /home/os4depot/public_html/login.php on line 48

Warning: Undefined array key "startpage" in /home/os4depot/public_html/login.php on line 68

Warning: Undefined array key "f_adm_out" in /home/os4depot/public_html/login.php on line 80

Warning: Undefined array key "f_adm_usr" in /home/os4depot/public_html/login.php on line 87

Warning: Undefined array key "f_adm_pwd" in /home/os4depot/public_html/login.php on line 88

Warning: Undefined variable $g_hasmypage in /home/os4depot/public_html/index.php on line 21

Warning: Undefined variable $g_hasmypage in /home/os4depot/public_html/head.php on line 6
OS4 Depot @ Orgin.biz - Your one stop for AmigaOS4 files
Warning: Undefined variable $g_charset in /home/os4depot/public_html/head.php on line 22

Warning: Undefined variable $g_hasmypage in /home/os4depot/public_html/head.php on line 23

Warning: Undefined variable $g_hasmypage in /home/os4depot/public_html/top.php on line 8
OS4 DepotLogo by Alkaron 
(anonymous IP: 10.3.64.202,0) 

Warning: Undefined variable $g_hasmypage in /home/os4depot/public_html/top.php on line 44

Warning: Undefined variable $function in /home/os4depot/public_html/menutop.php on line 8

Warning: Undefined variable $function in /home/os4depot/public_html/menutop.php on line 9

Warning: Undefined variable $function in /home/os4depot/public_html/menutop.php on line 11

Warning: Undefined variable $function in /home/os4depot/public_html/menutop.php on line 12

Warning: Undefined variable $function in /home/os4depot/public_html/menutop.php on line 20

Warning: Undefined variable $function in /home/os4depot/public_html/menutop.php on line 21

Warning: Undefined variable $function in /home/os4depot/public_html/menutop.php on line 22

Warning: Undefined variable $function in /home/os4depot/public_html/menutop.php on line 23

Warning: Undefined variable $function in /home/os4depot/public_html/menutop.php on line 28

Warning: Undefined variable $function in /home/os4depot/public_html/menutop.php on line 29
  Home Recent Stats Search Mirrors Contact Info Disclaimer Config Admin

Warning: Undefined variable $g_hasmypage in /home/os4depot/public_html/index.php on line 73
 Menu

 Features
   Crashlogs
   Bug tracker
   Locale browser
 

Warning: Undefined variable $g_charset in /home/os4depot/public_html/quicksearch.php on line 9


Warning: Undefined variable $function in /home/os4depot/public_html/menu.php on line 15

Warning: Undefined variable $function in /home/os4depot/public_html/menu.php on line 15

Warning: Undefined variable $function in /home/os4depot/public_html/menu.php on line 15

Warning: Undefined variable $function in /home/os4depot/public_html/menu.php on line 18

Warning: Undefined variable $function in /home/os4depot/public_html/menu.php on line 19

Warning: Undefined variable $cat in /home/os4depot/public_html/menu.php on line 26
 Categories

   o Audio (352)
   o Datatype (51)
   o Demo (214)
   o Development (629)
   o Document (24)
   o Driver (103)
   o Emulation (156)
   o Game (1063)
   o Graphics (516)
   o Library (123)
   o Network (243)
   o Office (69)
   o Utility (962)
   o Video (74)

Total files: 4579

Full index file
Recent index file

 Links

  Amigans.net
  OpenAmiga
  Aminet
  UtilityBase
  IntuitionBase
  AmigaBounty


Support the site



Warning: Undefined array key "fileinfo" in /home/os4depot/public_html/showfile.php on line 5

Warning: Undefined variable $g_hasmypage in /home/os4depot/public_html/showfile.php on line 12
 Readme for:  Development » Library » Misc » libdl.lha


Warning: Undefined variable $second in /home/os4depot/public_html/functions.php on line 594

Warning: Undefined variable $g_hasmypage in /home/os4depot/public_html/showfile.php on line 65

Warning: Undefined variable $g_hasmypage in /home/os4depot/public_html/showfile.php on line 106

Libdl

Description: dlopen() etc elf.lib wrapper for SObjs
Download: libdl.lha       (TIPS: Use the right click menu if your browser takes you back here all the time)
Size: 17kb
Version: 2.6.3in
Date:  05 Feb 09
Author: Chris Young
Submitter: Steven Solie
Email: ssolie/telus net
Requirements: SDK 53.13
Category:  development/library/misc
License: Other
Distribute: yes
Min OS Version: 4.0
FileID: 4490
 
Comments: 0
Snapshots: 0
Videos: 0
Downloads: 124  (Current version)
124  (Accumulated)

[Show comments] [Show snapshots] [Show videos] [Show content] [Show crashlogs] 
This is a native libdl for OS4 which implements the following
functions:

void *dlopen(const char *,int);
void *dlsym(void *,const char *);
int dlclose(void *);
char *dlerror(void);

These are compatible with the Linux versions, and implemented
via a wrapper to elf.library.


INSTALLATION
============

Copy libdl.a to SDK:local/newlib/lib/
Copy dlfcn.h to SDK:local/newlib/include/

NB: There is a libdl.so included with OS4, you can use this
instead by additionally executing the following command:
makelink sdk:local/newlib/lib/libdl.so sobjs:libdl.so soft

I've included my libdl.so for comparison, but it is not
necessarily a drop-in replacement.


USAGE
=====

In your code, include dlfcn.h:
#include <dlfcn.h>

When compiling, you must link with the following arguments:
-ldl -lauto -use-dynld

To build shared objects, compile with -fPIC and link with -shared

The dlopen_passV0.0.1 directory contains an example of how to use
the library (this is an open source example of which I have only
modified the makefile)


----
Please note the primary download location for my software is Aminet
(http://www.aminet.net).  If you obtained this archive from anywhere
else, please check Aminet for newer versions.

As usual, I can and will not accept responsibility for any damage,
loss of data etc incurred through use of this software.  This archive
is provided "as-is" without warranty of any kind and all use is at
your own risk.

Please check the PGP signature in the Aminet readme against the
archive to ensure it has not been tampered with.


-----BEGIN PGP MESSAGE-----
Version: 2.6.3in

iQB7AwUASXySz7O1+24s2ZO5AQE7BwMsCBYFC2ZRaDpDJybNdTHWpPhc6wZKI6Un
c0aqjDPcBgCLnIn4Ff+MDthU3a414+C7EyAKpqcT+o8hnzooWWdk6tQtFPWpitdb
hq4zB+sZ95opnXLRyccF+zuH7kIl3PPw+BpEFePB
=BZK9
-----END PGP MESSAGE-----



Copyright (c) 2004-2026 by Björn Hagström All Rights Reserved
Amiga OS and its logos are registered trademarks of Hyperion Entertainment