<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
Hi,</div>
<div style="font-family: Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<br>
<div><br>
</div>
<div>After my previous email, I continued installing NFD, Chronosync and PSync. Then, I had the same problem while installing NLSR: NLSR's linker could not find libPSync.so. So I tried the two suggestions provided by Alex (configuring /etc/ld.so.conf.d/local
 and using ldconfig, and modifying the LD_LIBRARY_PATH variable). However, neither of these methods solved the problem.</div>
<div><br>
</div>
<div>So down I went to the rabbit hole, and I found that the origin of the problem is that when "./waf configure" looks for PSync, it runs the pkg-config program, which for Fedora 33, does not return the correct path for libPSync.so. The following is the section
 where config.log records the results of its search for PSync:</div>
<div><br>
</div>
<div>----------------------------------------</div>
<div>Checking for 'PSync'</div>
<div>['/usr/bin/pkg-config', '--cflags', '--libs', 'PSync']</div>
<div>out: -lPSync </div>
<div><br>
</div>
<div>yes</div>
<div>----------------------------------------</div>
<div><br>
</div>
<div>And the following is the same record, but for Fedora 30:</div>
<div><br>
</div>
<div>----------------------------------------</div>
<div>Checking for 'PSync'</div>
<div>['/usr/bin/pkg-config', '--cflags', '--libs', 'PSync']</div>
<div>out: -I/usr/local/include -L/usr/local/lib64 -lPSync </div>
<div><br>
</div>
<div>yes</div>
<div>----------------------------------------</div>
<div><br>
</div>
<div>Since this is a Fedora issue, I opened a ticket to see if they could fix this problem. The ticket may be found here: https://bugzilla.redhat.com/show_bug.cgi?id=1953348</div>
<div><br>
</div>
<div>Unfortunately, they said that this may be considered "normal" behavior, since the correct output may be obtained through a similar command, pkgconf. They also said that they will not change pkg-config, unless more people complain.</div>
<div><br>
</div>
<div>I guess this is as far as I can go. I just wanted to let the NDN community know the end of this story.</div>
<div><br>
</div>
<div>Regards,</div>
<div><br>
</div>
<div>David</div>
<br>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Ndn-interest <ndn-interest-bounces@lists.cs.ucla.edu> on behalf of ndn-interest-request@lists.cs.ucla.edu <ndn-interest-request@lists.cs.ucla.edu><br>
<b>Sent:</b> Wednesday, April 21, 2021 2:00 PM<br>
<b>To:</b> ndn-interest@lists.cs.ucla.edu <ndn-interest@lists.cs.ucla.edu><br>
<b>Subject:</b> Ndn-interest Digest, Vol 84, Issue 5</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">Send Ndn-interest mailing list submissions to<br>
        ndn-interest@lists.cs.ucla.edu<br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="http://www.lists.cs.ucla.edu/mailman/listinfo/ndn-interest">http://www.lists.cs.ucla.edu/mailman/listinfo/ndn-interest</a><br>
or, via email, send a message with subject or body 'help' to<br>
        ndn-interest-request@lists.cs.ucla.edu<br>
<br>
You can reach the person managing the list at<br>
        ndn-interest-owner@lists.cs.ucla.edu<br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of Ndn-interest digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
   1. Issues installing NFD in Fedora 33 (PEDRO DAVID ARJONA VILLICA?A)<br>
   2. Re: Issues installing NFD in Fedora 33 (Alex Afanasyev)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Wed, 21 Apr 2021 16:02:12 +0000<br>
From: PEDRO DAVID ARJONA VILLICA?A <david.arjona@uaslp.mx><br>
To: "ndn-interest@lists.cs.ucla.edu" <ndn-interest@lists.cs.ucla.edu><br>
Subject: [Ndn-interest] Issues installing NFD in Fedora 33<br>
Message-ID:<br>
        <SN1PR16MB2384F3B5CE9297E1DE226E0DF3479@SN1PR16MB2384.namprd16.prod.outlook.com><br>
        <br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
Hi,<br>
<br>
<br>
I have found the following problem while installing NFD in Fedora 33: Following the same procedure described at the "A beginners guide to installing and testing NLSR on Fedora<<a href="https://named-data.net/doc/NLSR/current/beginners-guide.html">https://named-data.net/doc/NLSR/current/beginners-guide.html</a>>",
 when I try to compile NFD using the ./waf command, there is an error saying "/usr/bin/ld.gold: error: cannot find -lndn-cxx". Initially I thought that I have not installed ndn-cxx correctly, so I checked my configuration and everything seemed to be as it should.
 So I tried copying the ndn-cxx files from "/usr/local/lib64" to "/usr/lib" (libndn-cxx.so.0.7.1, libndn-cxx.so and pkgconfig). Then I ran the waf commands again and everything worked fine.<br>
<br>
I have installed NFD many times before in Fedora and I have not found this problem before. Is this an issue that needs to be reported as a bug? Or maybe there is another configuration step that needs to be added for Fedora 33. My previous NFD installation was
 in Fedora 31.<br>
<br>
Regards,<br>
<br>
David Arjona<br>
<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://www.lists.cs.ucla.edu/pipermail/ndn-interest/attachments/20210421/dad98e02/attachment-0001.html">http://www.lists.cs.ucla.edu/pipermail/ndn-interest/attachments/20210421/dad98e02/attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Wed, 21 Apr 2021 13:10:23 -0400<br>
From: Alex Afanasyev <aa@cs.fiu.edu><br>
To: PEDRO DAVID ARJONA VILLICA?A <david.arjona@uaslp.mx><br>
Cc: "ndn-interest@lists.cs.ucla.edu" <ndn-interest@lists.cs.ucla.edu><br>
Subject: Re: [Ndn-interest] Issues installing NFD in Fedora 33<br>
Message-ID: <63D3E08E-1D5B-42BE-A27E-E82B7EFE76E8@cs.fiu.edu><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Fedora by default doesn't look for shared libraries under /usr/local. Not sure why, but this was the config for a long time (could be security related issue). Copying into /usr/lib works, but I would say it is not the best way.<br>
<br>
A better way is to update your dynamic linker config to include /usr/local/lib64 (and anything else you need). This can be as simple as adding a new file in /etc/ld.so.conf.d/local  with just /usr/local/lib64 line in it; running `sudo ldconfig` afterwards.<br>
<br>
If you don't want to modify, you can also set some environment variable, but don't immediately remember which one.<br>
<br>
-<br>
Alex<br>
<br>
> On Apr 21, 2021, at 12:02 PM, PEDRO DAVID ARJONA VILLICA?A via Ndn-interest <ndn-interest@lists.cs.ucla.edu> wrote:<br>
> <br>
> Hi,<br>
> <br>
> <br>
> I have found the following problem while installing NFD in Fedora 33: Following the same procedure described at the "A beginners guide to installing and testing NLSR on Fedora <<a href="https://named-data.net/doc/NLSR/current/beginners-guide.html">https://named-data.net/doc/NLSR/current/beginners-guide.html</a>>",
 when I try to compile NFD using the ./waf command, there is an error saying "/usr/bin/ld.gold: error: cannot find -lndn-cxx". Initially I thought that I have not installed ndn-cxx correctly, so I checked my configuration and everything seemed to be as it should.
 So I tried copying the ndn-cxx files from "/usr/local/lib64" to "/usr/lib" (libndn-cxx.so.0.7.1, libndn-cxx.so and pkgconfig). Then I ran the waf commands again and everything worked fine.<br>
> <br>
> I have installed NFD many times before in Fedora and I have not found this problem before. Is this an issue that needs to be reported as a bug? Or maybe there is another configuration step that needs to be added for Fedora 33. My previous NFD installation
 was in Fedora 31.<br>
> <br>
> Regards,<br>
> <br>
> David Arjona<br>
> <br>
> _______________________________________________<br>
> Ndn-interest mailing list<br>
> Ndn-interest@lists.cs.ucla.edu <<a href="mailto:Ndn-interest@lists.cs.ucla.edu">mailto:Ndn-interest@lists.cs.ucla.edu</a>><br>
> <a href="http://www.lists.cs.ucla.edu/mailman/listinfo/ndn-interest">http://www.lists.cs.ucla.edu/mailman/listinfo/ndn-interest</a> <<a href="http://www.lists.cs.ucla.edu/mailman/listinfo/ndn-interest">http://www.lists.cs.ucla.edu/mailman/listinfo/ndn-interest</a>><br>
______________<br>
Alex Afanasyev<br>
Assistant Professor, SCIS, Florida International University<br>
11200 SW 8th Street, PG6 Room 140D, Miami, FL 33199<br>
phone: +1.305.348.4960 (office); email: aa@cs.fiu.edu<br>
web: <a href="https://users.cs.fiu.edu/~afanasyev/">https://users.cs.fiu.edu/~afanasyev/</a><br>
<br>
<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://www.lists.cs.ucla.edu/pipermail/ndn-interest/attachments/20210421/a4f4358a/attachment-0001.html">http://www.lists.cs.ucla.edu/pipermail/ndn-interest/attachments/20210421/a4f4358a/attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
Subject: Digest Footer<br>
<br>
_______________________________________________<br>
Ndn-interest mailing list<br>
Ndn-interest@lists.cs.ucla.edu<br>
<a href="http://www.lists.cs.ucla.edu/mailman/listinfo/ndn-interest">http://www.lists.cs.ucla.edu/mailman/listinfo/ndn-interest</a><br>
<br>
<br>
------------------------------<br>
<br>
End of Ndn-interest Digest, Vol 84, Issue 5<br>
*******************************************<br>
</div>
</span></font></div>
</body>
</html>