LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 02-24-2007, 06:04 PM   #1
Four
Member
 
Registered: Aug 2005
Posts: 298

Rep: Reputation: 30
reading manuals: finding out how to link


I was looking here
http://www.die.net/doc/linux/man/man3/dlopen.3.html

about the dlopen() function and I get undefined references. 2 things, what library do I link with so I may use dlopen and its related functions. and secondly is it posible to find these out from the manual page so I won't need to ask.

I didn't have good luck searching google.

Edit: I don't know why I didn't see this (maby because I already knew about how to use dlopen) But it shows right under the example that it provides how to compile

use the "-ldl" to compile just incase anyone else has similar issue.

Thanks

Last edited by Four; 02-24-2007 at 06:46 PM.
 
Old 02-26-2007, 02:49 AM   #2
bigearsbilly
Senior Member
 
Registered: Mar 2004
Location: england
Distribution: Mint, Armbian, NetBSD, Puppy, Raspbian
Posts: 3,515

Rep: Reputation: 239Reputation: 239Reputation: 239
on here its says -ldl

http://www.squarebox.co.uk/cgi-squar...man3/dlerror.3
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Documentation or Manuals flyingeagle Mandriva 6 06-17-2009 09:30 PM
Manuals vsurlan Debian 3 07-25-2006 07:52 AM
PPTP manuals - Where ? aurelio26 Linux - Newbie 4 10-04-2004 09:17 PM
linux manuals hq4ever Linux - Newbie 6 06-25-2004 01:29 AM
rpm manuals+++ how-to alaios Linux - General 6 04-19-2004 09:15 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration