Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.Hawaii.Edu!news.uoregon.edu!arclight.uoregon.edu!news.sprintlink.net!news-peer.sprintlink.net!howland.erols.net!sol.ctr.columbia.edu!sirius.ctr.columbia.edu!wpaul From: wpaul@ctr.columbia.edu (Bill Paul) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: Dynamic linking ? Date: 10 Nov 1996 18:08:47 GMT Organization: Columbia University Center for Telecommunications Research Lines: 53 Message-ID: <5655nf$7a6@sol.ctr.columbia.edu> References: <328622FA.70ED@fibronics.co.il> NNTP-Posting-Host: sirius.ctr.columbia.edu X-Newsreader: TIN [version 1.2 PL2] Daring to challenge the will of the almighty Leviam00se, Sergey Armishev (sergey@fibronics.co.il) had the courage to say: : Help ! : Our platform independed application has to read and interpretate : some user's scripts (in ASCII format). In the interpretation process : the application has call functions, defined by user in his DLL(MS : Windows) : or shared lybrary(UNIX). : The name of DLL and of function are to be described by user : in the script. : On MS Windows we successfully use with LoadLibrary / GetProcAddress : functions of MS Windows SDK. : On Sparc (SunOS) we successfully use with functions dlopen, dlsym etc. : from 'simple programmatic interface to the dynamic linker' - : "MISCELLANEOUS LIBRARY FUNCTIONS" (see header <dlfcn.h>) : On RISC-6000 (AIX 3.2) functions from dlopen-group we cannot find. : We use gcc-2.7.2 compiler. : Any help will be appreciated. Why are you asking questions about Windoze, SunOS and AIX on a FreeBSD newsgroup? Unless you plan to use FreeBSD for your application, you're not going to get much help. (FreeBSD does support runtime dynamic loading of shared objects, so maybe you should use it instead of AIX and save yourself some trouble. :) The reason you can't find dlopen() and friends on AIX 3 is that AIX 3 doesn't have them. There's supposedly a freely available implementation of these functions available on the net, but I don't remember where. Perhaps if you ask on comp.unix.aix you will find out. (Try to find the FAQ first. The answer to this question may be in there.) AIX 4 does support dlopen(), if I remember correctly. : Please reply to 'netman@netvision.net.il' to Alex Rozen. If you can't be bothered to read newsgroups, then don't post to them. -Bill -- ============================================================================= -Bill Paul (212) 854-6020 | System Manager, Master of Unix-Fu Work: wpaul@ctr.columbia.edu | Center for Telecommunications Research Home: wpaul@skynet.ctr.columbia.edu | Columbia University, New York City ============================================================================= "If you're ever in trouble, go to the CTR. Ask for Bill. He will help you." =============================================================================