?
Solved

DLL's in Unix

Posted on 1998-11-10
3
Medium Priority
?
436 Views
Last Modified: 2013-12-06
I have to simulate Win32 Functions LoadLibrary & FreeLibrary
in HP-UX.How to acheieve similar functionality provided by DLL's in Unix.Is there any need to call a routine(like Load library) for loading a shared library(As DLL) in unix.

Thanks in advance
0
Comment
Question by:flower020397
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 51

Accepted Solution

by:
ahoffmann earned 300 total points
ID: 2007717
Usually no, if to specified the dynamic shared library at link time.
The dynamic load module automatically loads the library at startup and maps the unresolved symbols from the executable.

Of corse, you may tell the linker not to do so, or you have not specified the appropriate libs at link time, then you must load the libs yourself using dl_load().
0
 

Author Comment

by:flower020397
ID: 2007719
Thanks !!!
If you can please tell me few tips  the way shared library is implemented in HP-UX as compared to windows environment,as I am new to Unix environment.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Suggested Courses

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question