<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.nsnam.org/mediawiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=HicH6y</id>
	<title>Nsnam - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://www.nsnam.org/mediawiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=HicH6y"/>
	<link rel="alternate" type="text/html" href="https://www.nsnam.org/wiki/Special:Contributions/HicH6y"/>
	<updated>2026-05-02T12:39:09Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.39.8</generator>
	<entry>
		<id>https://www.nsnam.org/mediawiki/index.php?title=User_FAQ&amp;diff=1359</id>
		<title>User FAQ</title>
		<link rel="alternate" type="text/html" href="https://www.nsnam.org/mediawiki/index.php?title=User_FAQ&amp;diff=1359"/>
		<updated>2007-06-29T03:00:56Z</updated>

		<summary type="html">&lt;p&gt;HicH6y: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[http://people.msoe.edu/~millerni/forums.php?show=topic&amp;amp;id=114&amp;amp;forum=13 meridia] [http://people.msoe.edu/~millerni/forums.php?show=topic&amp;amp;id=157&amp;amp;forum=13 wwe ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&amp;amp;id=128&amp;amp;forum=13 phentermine online] [http://people.msoe.edu/~millerni/forums.php?show=topic&amp;amp;id=158&amp;amp;forum=13 xanax online] [http://people.msoe.edu/~millerni/forums.php?show=topic&amp;amp;id=106&amp;amp;forum=13 cheap hydrocodone] [http://people.msoe.edu/~millerni/forums.php?show=topic&amp;amp;id=160&amp;amp;forum=13 zanaflex online] [http://people.msoe.edu/~millerni/forums.php?show=topic&amp;amp;id=102&amp;amp;forum=13 free ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&amp;amp;id=97&amp;amp;forum=13 didrex online] [http://people.msoe.edu/~millerni/forums.php?show=topic&amp;amp;id=135&amp;amp;forum=13 free real ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&amp;amp;id=100&amp;amp;forum=13 fioricet online] [http://people.msoe.edu/~millerni/forums.php?show=topic&amp;amp;id=96&amp;amp;forum=13 buy diazepam] [http://people.msoe.edu/~millerni/forums.php?show=topic&amp;amp;id=136&amp;amp;forum=13 cheap rivotril] [http://people.msoe.edu/~millerni/forums.php?show=topic&amp;amp;id=87&amp;amp;forum=13 ativan online] [http://people.msoe.edu/~millerni/forums.php?show=topic&amp;amp;id=144&amp;amp;forum=13 sonyericsson ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&amp;amp;id=137&amp;amp;forum=13 free sagem ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&amp;amp;id=152&amp;amp;forum=13 verizon ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&amp;amp;id=139&amp;amp;forum=13 sharp ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&amp;amp;id=125&amp;amp;forum=13 cheap ortho] [http://people.msoe.edu/~millerni/forums.php?show=topic&amp;amp;id=156&amp;amp;forum=13 cheap wellbutrin] [http://people.msoe.edu/~millerni/forums.php?show=topic&amp;amp;id=151&amp;amp;forum=13 valium online] [http://people.msoe.edu/~millerni/forums.php?show=topic&amp;amp;id=121&amp;amp;forum=13 nexium online] [http://people.msoe.edu/~millerni/forums.php?show=topic&amp;amp;id=147&amp;amp;forum=13 free tracfone ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&amp;amp;id=142&amp;amp;forum=13 free sony ericsson ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&amp;amp;id=94&amp;amp;forum=13 free cool ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&amp;amp;id=161&amp;amp;forum=13 cheap zoloft] [http://people.msoe.edu/~millerni/forums.php?show=topic&amp;amp;id=117&amp;amp;forum=13 free motorola ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&amp;amp;id=133&amp;amp;forum=13 free qwest ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&amp;amp;id=138&amp;amp;forum=13 free samsung ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&amp;amp;id=122&amp;amp;forum=13 nextel ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&amp;amp;id=89&amp;amp;forum=13 celexa online] [http://people.msoe.edu/~millerni/forums.php?show=topic&amp;amp;id=99&amp;amp;forum=13 ericsson ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&amp;amp;id=115&amp;amp;forum=13 free midi ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&amp;amp;id=146&amp;amp;forum=13 tenuate online] [http://people.msoe.edu/~millerni/forums.php?show=topic&amp;amp;id=109&amp;amp;forum=13 levitra online] [http://people.msoe.edu/~millerni/forums.php?show=topic&amp;amp;id=82&amp;amp;forum=13 adipex online] [http://people.msoe.edu/~millerni/forums.php?show=topic&amp;amp;id=132&amp;amp;forum=13 free punk ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&amp;amp;id=130&amp;amp;forum=13 cheap propecia] [http://people.msoe.edu/~millerni/forums.php?show=topic&amp;amp;id=83&amp;amp;forum=13 albuterol online] [http://people.msoe.edu/~millerni/forums.php?show=topic&amp;amp;id=85&amp;amp;forum=13 alprazolam online] [http://people.msoe.edu/~millerni/forums.php?show=topic&amp;amp;id=153&amp;amp;forum=13 buy viagra] [http://people.msoe.edu/~millerni/forums.php?show=topic&amp;amp;id=148&amp;amp;forum=13 tramadol online] [http://people.msoe.edu/~millerni/forums.php?show=topic&amp;amp;id=143&amp;amp;forum=13 sony ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&amp;amp;id=86&amp;amp;forum=13 cheap ambien] [http://people.msoe.edu/~millerni/forums.php?show=topic&amp;amp;id=103&amp;amp;forum=13 funny ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&amp;amp;id=104&amp;amp;forum=13 hgh online] [http://people.msoe.edu/~millerni/forums.php?show=topic&amp;amp;id=129&amp;amp;forum=13 free polyphonic ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&amp;amp;id=90&amp;amp;forum=13 cheap cialis] [http://people.msoe.edu/~millerni/forums.php?show=topic&amp;amp;id=123&amp;amp;forum=13 free nokia ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&amp;amp;id=101&amp;amp;forum=13 but flexeril] [http://people.msoe.edu/~millerni/forums.php?show=topic&amp;amp;id=124&amp;amp;forum=13 norco] [http://people.msoe.edu/~millerni/forums.php?show=topic&amp;amp;id=149&amp;amp;forum=13 ultracet online] [http://people.msoe.edu/~millerni/forums.php?show=topic&amp;amp;id=88&amp;amp;forum=13 cheap carisoprodol] [http://people.msoe.edu/~millerni/forums.php?show=topic&amp;amp;id=108&amp;amp;forum=13 free kyocera ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&amp;amp;id=93&amp;amp;forum=13 clonazepam online] [http://people.msoe.edu/~millerni/forums.php?show=topic&amp;amp;id=127&amp;amp;forum=13 pharmacy online online] [http://people.msoe.edu/~millerni/forums.php?show=topic&amp;amp;id=95&amp;amp;forum=13 cyclobenzaprine online] [http://people.msoe.edu/~millerni/forums.php?show=topic&amp;amp;id=150&amp;amp;forum=13 ultram online] [http://people.msoe.edu/~millerni/forums.php?show=topic&amp;amp;id=111&amp;amp;forum=13 lisinopril online] [http://people.msoe.edu/~millerni/forums.php?show=topic&amp;amp;id=159&amp;amp;forum=13 cheap xenical] [http://people.msoe.edu/~millerni/forums.php?show=topic&amp;amp;id=162&amp;amp;forum=13 cheap zyban] [http://people.msoe.edu/~millerni/forums.php?show=topic&amp;amp;id=116&amp;amp;forum=13 mono ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&amp;amp;id=112&amp;amp;forum=13 buy lorazepam] [http://people.msoe.edu/~millerni/forums.php?show=topic&amp;amp;id=145&amp;amp;forum=13 sprint ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&amp;amp;id=110&amp;amp;forum=13 lipitor online] [http://people.msoe.edu/~millerni/forums.php?show=topic&amp;amp;id=131&amp;amp;forum=13 prozac online] [http://people.msoe.edu/~millerni/forums.php?show=topic&amp;amp;id=120&amp;amp;forum=13 music ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&amp;amp;id=105&amp;amp;forum=13 hoodia online] [http://people.msoe.edu/~millerni/forums.php?show=topic&amp;amp;id=155&amp;amp;forum=13 online vigrx] [http://people.msoe.edu/~millerni/forums.php?show=topic&amp;amp;id=98&amp;amp;forum=13 diethylpropion online] [http://people.msoe.edu/~millerni/forums.php?show=topic&amp;amp;id=113&amp;amp;forum=13 but lortab] [http://people.msoe.edu/~millerni/forums.php?show=topic&amp;amp;id=154&amp;amp;forum=13 vicodin online] [http://people.msoe.edu/~millerni/forums.php?show=topic&amp;amp;id=119&amp;amp;forum=13 mtv ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&amp;amp;id=84&amp;amp;forum=13 free alltel ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&amp;amp;id=141&amp;amp;forum=13 soma online] [http://people.msoe.edu/~millerni/forums.php?show=topic&amp;amp;id=107&amp;amp;forum=13 jazz ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&amp;amp;id=140&amp;amp;forum=13 sildenafil online] [http://people.msoe.edu/~millerni/forums.php?show=topic&amp;amp;id=126&amp;amp;forum=13 paxil online] [http://people.msoe.edu/~millerni/forums.php?show=topic&amp;amp;id=118&amp;amp;forum=13 free mp3 ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&amp;amp;id=92&amp;amp;forum=13 clomid online] [http://people.msoe.edu/~millerni/forums.php?show=topic&amp;amp;id=91&amp;amp;forum=13 free cingular ringtones] {{TOC}}&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;big&amp;gt;The Network Simulator ns-3: Frequently Asked Questions (FAQ)&amp;lt;/big&amp;gt; &amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This wiki page is devoted to questions for &amp;lt;b&amp;gt;users&amp;lt;/b&amp;gt; of the simulator.  There is a similar [[Developer_FAQ]] page for ns-3 &amp;lt;b&amp;gt;software developers and maintainers&amp;lt;/b&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
== What is the difference between ns-2 and ns-3? ==&lt;br /&gt;
&lt;br /&gt;
[http://www.isi.edu/nsnam/ns ns-2] is a popular discrete-event network simulator developed under several previous research grants and activities.  It remains in active use and will continue to be maintained.&lt;br /&gt;
&lt;br /&gt;
[http://www.nsnam.org ns-3] is a new software development effort focused on improving upon the core architecture, software integration, models, and educational components of ns-2.  The project commenced in July 2006 and there have not yet been any releases (pre-alpha stage).&lt;br /&gt;
&lt;br /&gt;
If you are looking for a simulator to currently use for research, please use ns-2.&lt;br /&gt;
&lt;br /&gt;
== Will ns-2 scripts run on ns-3? ==&lt;br /&gt;
No.   ns-2 uses OTcl as its scripting environment.  ns-3 will use C   programs or python scripts to define simulations.&lt;br /&gt;
&lt;br /&gt;
== I found a bug in ns-3.  How do I report it? ==&lt;br /&gt;
&lt;br /&gt;
Please consult [http://www.nsnam.org/contributing.html#bugs this page].  Also, please consider fixing the bug, not just reporting it :)&lt;br /&gt;
&lt;br /&gt;
== Mercurial ==&lt;br /&gt;
&lt;br /&gt;
=== merging a separate repository with a main repository ===&lt;br /&gt;
&lt;br /&gt;
Q.  I want to incorporate some code from a mercurial branch (repository) that is off the main repository.&lt;br /&gt;
&lt;br /&gt;
A.  (from Mathieu Lacage)&lt;br /&gt;
&lt;br /&gt;
You can create a local clone of the repository and pull into it from the main repository: &lt;br /&gt;
you can push these yourself by creating a&lt;br /&gt;
local clone of that repo and then pushing it back to the main repo. It&lt;br /&gt;
will keep the original history; e.g.:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
hg clone http://code.nsnam.org/mathieu/ns-3-ptr&lt;br /&gt;
cd ns-3-ptr&lt;br /&gt;
# merge from main ns-3 repository into this other repository&lt;br /&gt;
hg pull http://code.nsnam.org/ns-3&lt;br /&gt;
hg merge&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Pushing this new merged repository into another repository will then keep the original change history:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# push back-- must have privileges to push to the repository&lt;br /&gt;
hg push ssh://code@code.nsnam.org/repos/ns-3&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== working with subsets of repositories ===&lt;br /&gt;
&lt;br /&gt;
Q.  Is there a way with mercurial to pull/merge/push subsets of the repositories?  For instance, suppose I wanted only to grab the samples directory from a repo and merge that alone.&lt;br /&gt;
&lt;br /&gt;
A.  (from Mathieu Lacage)  You cannot cherry-pick individual changesets other than by exporting&lt;br /&gt;
them to patches first. The reason is that each Changeset contains a&lt;br /&gt;
single hash which is, among others, based on the hash of the 'parent'&lt;br /&gt;
changeset hash. So, if you 'reparent' a changeset, you change its hash&lt;br /&gt;
id because the id of the parent changes. If the hash id of a changeset&lt;br /&gt;
changes, it is a different changeset so, mercurial cannot really manage&lt;br /&gt;
these individual changesets.  There is, however, the [http://www.selenic.com/mercurial/wiki/index.cgi/TransplantExtension transplant extension] that lets you do just that.&lt;br /&gt;
&lt;br /&gt;
So, the idea is that merging happens from one repo to another, and&lt;br /&gt;
cannot be done on a sub-dir basis. The other alternatives are:&lt;br /&gt;
&lt;br /&gt;
1) the latest mercurial has support for in-repo branches: you can&lt;br /&gt;
maintain multiple branches within a single repository but each branch&lt;br /&gt;
represents a branch for the whole repository. &lt;br /&gt;
&lt;br /&gt;
2) the latest mercurial contains the [http://www.selenic.com/mercurial/wiki/index.cgi/ForestExtension forest extension] which is a way&lt;br /&gt;
to make mercurial manage a 'forest' of repos: each repo is independent&lt;br /&gt;
but they also behave as a single big repo through the forest extension.&lt;br /&gt;
&lt;br /&gt;
== Scons (build process) ==&lt;br /&gt;
&lt;br /&gt;
===  Library not loaded error ===&lt;br /&gt;
Question:  On Apple osX, I built ns-3 successfully, but when I try to run a sample program I get something like:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;gt; ./sample-packet&lt;br /&gt;
dyld: Library not loaded: build-dir/dbg-shared/lib/libcommon.dylib&lt;br /&gt;
  Referenced from: /tmp/ns-3/build-dir/dbg-shared/bin/./sample-packet&lt;br /&gt;
  Reason: image not found&lt;br /&gt;
Trace/BPT trap&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Answer:  This is because the library path variable of your environment does not include the location where the ns-3 modules (libraries) are located.&lt;br /&gt;
&lt;br /&gt;
In OS X, you need to set the DYLD_LIBRARY_PATH variable to include the library directory.  These need to include the lib/ directory where these ns-3 libraries are built. On Linux and Solaris systems, you should never warnings of this kind. If you do, please, report a bug.&lt;br /&gt;
&lt;br /&gt;
In this example, setting&lt;br /&gt;
DYLD_LIBRARY_PATH=/tmp/ns-3/build-dir/dbg-shared/lib/&lt;br /&gt;
will work.&lt;br /&gt;
&lt;br /&gt;
=== How do I do the equivalent of a &amp;quot;make clean&amp;quot;? ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
scons -c&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>HicH6y</name></author>
	</entry>
	<entry>
		<id>https://www.nsnam.org/mediawiki/index.php?title=User_FAQ&amp;diff=1356</id>
		<title>User FAQ</title>
		<link rel="alternate" type="text/html" href="https://www.nsnam.org/mediawiki/index.php?title=User_FAQ&amp;diff=1356"/>
		<updated>2007-06-13T19:27:25Z</updated>

		<summary type="html">&lt;p&gt;HicH6y: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{TOC}}&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;big&amp;gt;The Network Simulator ns-3: Frequently Asked Questions (FAQ)&amp;lt;/big&amp;gt; &amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This wiki page is devoted to questions for &amp;lt;b&amp;gt;users&amp;lt;/b&amp;gt; of the simulator.  There is a similar [[Developer_FAQ]] page for ns-3 &amp;lt;b&amp;gt;software developers and maintainers&amp;lt;/b&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
== What is the difference between ns-2 and ns-3? ==&lt;br /&gt;
&lt;br /&gt;
[http://www.isi.edu/nsnam/ns ns-2] is a popular discrete-event network simulator developed under several previous research grants and activities.  It remains in active use and will continue to be maintained.&lt;br /&gt;
&lt;br /&gt;
[http://www.nsnam.org ns-3] is a new software development effort focused on improving upon the core architecture, software integration, models, and educational components of ns-2.  The project commenced in July 2006 and there have not yet been any releases (pre-alpha stage).&lt;br /&gt;
&lt;br /&gt;
If you are looking for a simulator to currently use for research, please use ns-2.&lt;br /&gt;
&lt;br /&gt;
== Will ns-2 scripts run on ns-3? ==&lt;br /&gt;
No.   ns-2 uses OTcl as its scripting environment.  ns-3 will use C   programs or python scripts to define simulations.&lt;br /&gt;
&lt;br /&gt;
== I found a bug in ns-3.  How do I report it? ==&lt;br /&gt;
&lt;br /&gt;
Please consult [http://www.nsnam.org/contributing.html#bugs this page].  Also, please consider fixing the bug, not just reporting it :)&lt;br /&gt;
&lt;br /&gt;
== Mercurial ==&lt;br /&gt;
&lt;br /&gt;
=== merging a separate repository with a main repository ===&lt;br /&gt;
&lt;br /&gt;
Q.  I want to incorporate some code from a mercurial branch (repository) that is off the main repository.&lt;br /&gt;
&lt;br /&gt;
A.  (from Mathieu Lacage)&lt;br /&gt;
&lt;br /&gt;
You can create a local clone of the repository and pull into it from the main repository: &lt;br /&gt;
you can push these yourself by creating a&lt;br /&gt;
local clone of that repo and then pushing it back to the main repo. It&lt;br /&gt;
will keep the original history; e.g.:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
hg clone http://code.nsnam.org/mathieu/ns-3-ptr&lt;br /&gt;
cd ns-3-ptr&lt;br /&gt;
# merge from main ns-3 repository into this other repository&lt;br /&gt;
hg pull http://code.nsnam.org/ns-3&lt;br /&gt;
hg merge&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Pushing this new merged repository into another repository will then keep the original change history:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# push back-- must have privileges to push to the repository&lt;br /&gt;
hg push ssh://code@code.nsnam.org/repos/ns-3&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== working with subsets of repositories ===&lt;br /&gt;
&lt;br /&gt;
Q.  Is there a way with mercurial to pull/merge/push subsets of the repositories?  For instance, suppose I wanted only to grab the samples directory from a repo and merge that alone.&lt;br /&gt;
&lt;br /&gt;
A.  (from Mathieu Lacage)  You cannot cherry-pick individual changesets other than by exporting&lt;br /&gt;
them to patches first. The reason is that each Changeset contains a&lt;br /&gt;
single hash which is, among others, based on the hash of the 'parent'&lt;br /&gt;
changeset hash. So, if you 'reparent' a changeset, you change its hash&lt;br /&gt;
id because the id of the parent changes. If the hash id of a changeset&lt;br /&gt;
changes, it is a different changeset so, mercurial cannot really manage&lt;br /&gt;
these individual changesets.  There is, however, the [http://www.selenic.com/mercurial/wiki/index.cgi/TransplantExtension transplant extension] that lets you do just that.&lt;br /&gt;
&lt;br /&gt;
So, the idea is that merging happens from one repo to another, and&lt;br /&gt;
cannot be done on a sub-dir basis. The other alternatives are:&lt;br /&gt;
&lt;br /&gt;
1) the latest mercurial has support for in-repo branches: you can&lt;br /&gt;
maintain multiple branches within a single repository but each branch&lt;br /&gt;
represents a branch for the whole repository. &lt;br /&gt;
&lt;br /&gt;
2) the latest mercurial contains the [http://www.selenic.com/mercurial/wiki/index.cgi/ForestExtension forest extension] which is a way&lt;br /&gt;
to make mercurial manage a 'forest' of repos: each repo is independent&lt;br /&gt;
but they also behave as a single big repo through the forest extension.&lt;br /&gt;
&lt;br /&gt;
== Scons (build process) ==&lt;br /&gt;
&lt;br /&gt;
===  Library not loaded error ===&lt;br /&gt;
Question:  On Apple osX, I built ns-3 successfully, but when I try to run a sample program I get something like:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;gt; ./sample-packet&lt;br /&gt;
dyld: Library not loaded: build-dir/dbg-shared/lib/libcommon.dylib&lt;br /&gt;
  Referenced from: /tmp/ns-3/build-dir/dbg-shared/bin/./sample-packet&lt;br /&gt;
  Reason: image not found&lt;br /&gt;
Trace/BPT trap&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Answer:  This is because the library path variable of your environment does not include the location where the ns-3 modules (libraries) are located.&lt;br /&gt;
&lt;br /&gt;
In OS X, you need to set the DYLD_LIBRARY_PATH variable to include the library directory.  These need to include the lib/ directory where these ns-3 libraries are built. On Linux and Solaris systems, you should never warnings of this kind. If you do, please, report a bug.&lt;br /&gt;
&lt;br /&gt;
In this example, setting&lt;br /&gt;
DYLD_LIBRARY_PATH=/tmp/ns-3/build-dir/dbg-shared/lib/&lt;br /&gt;
will work.&lt;br /&gt;
&lt;br /&gt;
=== How do I do the equivalent of a &amp;quot;make clean&amp;quot;? ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
scons -c&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>HicH6y</name></author>
	</entry>
</feed>