OPNsense Forum

Archive => 19.1 Legacy Series => Topic started by: aaronouthier on March 15, 2019, 03:20:36 pm

Title: Trouble installing NeoRouter
Post by: aaronouthier on March 15, 2019, 03:20:36 pm
Hello,

I found an interesting VPN Product that I am trying out. They have a version for FreeBSD, which I have installed, but it won't run. Complains about missing dependency "libstdc++". I don't know how to install this dependency. I have tried "pkg install libstdc++", "pkg install libstdc", "pkg install stdc++", etc. I am unable to find any such package!

I am not so familiar with FreeBSD as I am with Linux distros.

What am I doing wrong??
Title: Re: Trouble installing NeoRouter
Post by: bringha on March 15, 2019, 05:21:29 pm
Hi,

I assume that your VPN application is written in C++. The default C++ standard Library on FreeBSD is libc++ and the default compiler is clang. libstdc++ is rather gcc related. gcc is afaik part of the OPNsense standard ports tree.

Br br
Title: Re: Trouble installing NeoRouter
Post by: aaronouthier on March 15, 2019, 08:09:56 pm
Hi,

I assume that your VPN application is written in C++. The default C++ standard Library on FreeBSD is libc++ and the default compiler is clang. libstdc++ is rather a gcc related. gcc is afaik not part of the OPNsense standard ports tree. gcc is indeed part of a standard FreeBSD ports tree.

Br br

I'm sorry, but I'm having trouble understanding your response. Is it possible to get NeoRouter going or not, and if so, how? If you need more info in order to help you help me, please let me know what you need.

If it helps, NeoRouter can be found at:
http://www.neorouter.com/products-nrfree
and is a product of ZebraNetworks.
Title: Re: Trouble installing NeoRouter
Post by: aaronouthier on March 15, 2019, 08:11:59 pm
Oh! I should probably mention that I am using NeoRouter Free, not Pro or Mesh.
Title: Re: Trouble installing NeoRouter
Post by: bringha on March 15, 2019, 09:04:40 pm
This means that your Neorouter has been compiled with gcc and not with clang. As on OPNsense there is no gcc by default, therefore there is also no libstdc++ (which belongs to the gcc related packages) and therefore the dependency is not found.

See eg https://unix.stackexchange.com/questions/130639/how-do-i-install-the-latest-gcc-on-freebsd (https://unix.stackexchange.com/questions/130639/how-do-i-install-the-latest-gcc-on-freebsd)

I need to make one correction: you could install gcc which is in /usr/ports/lang/gcc and then you should also have a libstdc++ sorry for that mistake, corrected it above
Title: Re: Trouble installing NeoRouter
Post by: aaronouthier on March 15, 2019, 10:38:40 pm
I need to make one correction: you could install gcc which is in /usr/ports/lang/gcc and then you should also have a libstdc++ sorry for that mistake, corrected it above

Ok, I think I understand all of that, except that I there is no "/ports" folder inside of "/usr".

I'm coming from a Linux background, but I have very little experience with FreeBSD. I am usually quite comfortable on a shell prompt, but I don't know the "BSD method" for some things. My apologies.

I'm reminding myself how Windows users feel wen I try to explain Linux concepts. ;)
Title: Re: Trouble installing NeoRouter
Post by: bringha on March 15, 2019, 10:43:40 pm
See basically here how to do:

https://forum.opnsense.org/index.php?topic=2004 (https://forum.opnsense.org/index.php?topic=2004)

You need to replace the old version 15.7 in paths with 19.1 accordingly to use the most recent version

and for the basics here:

https://en.wikipedia.org/wiki/FreeBSD_Ports (https://en.wikipedia.org/wiki/FreeBSD_Ports)
Title: Re: Trouble installing NeoRouter
Post by: aaronouthier on March 22, 2019, 02:53:57 am
Sorry, old-ish thread.
I think the more elegant solution is to just give guest access to my Emby server. It has built-in support for HDHomeRun devices. I just need to give the IP Address of my OPNSense router inside the main network and the port number of my Emby server. I already have the port forwarded in OPNSense, so not a big deal.
Title: Re: Trouble installing NeoRouter
Post by: aaronouthier on March 22, 2019, 04:11:09 am
Dag-nabbit!
I posted that last reply to the wrong topic. Sorry for the confusion.