LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Closed Thread
 
LinkBack Search this Thread
Old 11-14-2005, 01:28 AM   #1
phani@tcs
LQ Newbie
 
Registered: Oct 2005
Posts: 7

Rep: Reputation: 0
problem with opening shared library using dlopen() in Red Hat Linux


Hi,

Right now I am porting an application from solaris to Linux.I am facing
a problem in opening a shared library with dlopen().The arguments
specified in solaris to this call are RTD_LAZY.It works fine in Solaris.

But in Linux dlopen() gives an error in loading the shared object saying that " undefined symbol:XXXXXX".

The linker options specified in solaris are " -u -G -dy -M mapfile" .
The linker options specified by me in Linux are "-u -symbolic -fPIC -shared --version-script mapfile"

Can you tell me in which case above dlopen() fails to load the shared object?

Are the options given to the linker sufficient to load a shared object or should I add somemore
options to the linker?


Can anyone help me out .


Regards
Phani
phanikumar.ankireddy@tcs.com
 
Old 01-10-2006, 03:49 PM   #2
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Lubuntu
Posts: 19,067
Blog Entries: 4

Rep: Reputation: 385Reputation: 385Reputation: 385Reputation: 385
Please do not post the same thread in more than one forum. Picking the most relevant forum and posting it once there makes it easier for other members to help you and keeps the discussion all in one place.

http://www.linuxquestions.org/rules.php
 
  


Closed Thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
opening a reserved port in red hat 9 Siriond Linux - Newbie 3 10-12-2005 09:07 AM
Opening port with gShield on Red Hat 7.2 Dark Merlin Linux - Security 1 04-03-2005 04:55 PM
Red Hat linux 9 installation with a cd/ floppy shared slot katrat87 Linux - Software 8 11-26-2004 02:28 PM
Re: Shared Linraries on Red Hat Linux 9.X amanulla Red Hat 0 02-24-2004 10:24 AM
Opening ports in RED HAT 8.0 linuxfans Linux - Security 3 01-24-2003 03:14 PM


All times are GMT -5. The time now is 11:44 PM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration