Solved

DLL's in Unix

Posted on 1998-11-10
3
433 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

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

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…
FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
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.

839 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