Solved

DLL's in Unix

Posted on 1998-11-10
3
432 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
3 Comments
 
LVL 51

Accepted Solution

by:
ahoffmann earned 100 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
 

Expert Comment

by:wpy
ID: 2007718
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

ScreenConnect 6.0 Free Trial

Explore all the enhancements in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI, app configurations and chat acknowledgement to improve customer engagement!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
ovirt 3.6 guest VM support oracle solaris 4 75
Solaris 10.  Nmap installation fails 2 59
mobaxterm not able to change directory 28 153
centos commands 6 54
This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
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…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

777 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