znc -r
/usr/lib/libstdc++.so.6: version GLIBCXX_3.4.11 required by /usr/local/bin/znc not found
That's what I'm getting. I created a fresh jail on FreeNAS, performed the pkg updates, etc. and followed the instructions on the ZNC wiki to install but receive the above error when I try to do anything involving the znc binary. Any ideas?
znc -r
/usr/lib/libstdc++.so.6: version GLIBCXX_3.4.11 required by /usr/local/bin/znc not found
That's what I'm getting. I created a fresh jail on FreeNAS, performed the pkg updates, etc. and followed the instructions on the ZNC wiki to install but receive the above error when I try to do anything involving the znc binary. Any ideas?
<!-- github-sync-id:64889723 -->
I've tried so much at this point, it's hard to remember. But I believe I
used the pkg install irc/znc.
On Mon, Mar 30, 2015 at 1:20 PM, Thomas Ward notifications@github.com
wrote:
> Did you build from source or did you use a precompiled package for it?
> (I.E. how did you install it)
>
> —
> Reply to this email directly or view it on GitHub
> https://github.com/znc/znc/issues/931#issuecomment-87758086.
<!-- github-comment-id:87778856 -->
If it's a prepackaged-for-that-OS package, that's not really a ZNC upstream problem - likely indicates packaging problems in that specific distribution's built binaries...
If it's a prepackaged-for-that-OS package, that's not really a ZNC upstream problem - likely indicates packaging problems in that specific distribution's built binaries...
<!-- github-comment-id:88523979 -->
you can work around the issue by setting library paths or patching the executeable
patchelf --set-rpath /usr/local/lib/gcc48 /usr/local/bin/znc
in general it's an issue in the freebsd package not znc
you can work around the issue by setting library paths or patching the executeable
patchelf --set-rpath /usr/local/lib/gcc48 /usr/local/bin/znc
in general it's an issue in the freebsd package not znc
<!-- github-comment-id:90931232 -->
Another user shown similar error; they compiled ZNC manually on FreeBSD.
By default g++ is 4.6 there, so they used CXX=/usr/local/bin/g++48, but it complains about /usr/local/lib/gcc46/libstdc++.so.6: version GLIBCXX_3.4.18 required by /usr/local/bin/znc not found
Workaround for this: export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib/gcc48 (patchelf might work too)
Alternatively, just use CXX=clang++ instead.
So, FreeNAS package needs to be fixed to compile ZNC correctly.
Another user shown similar error; they compiled ZNC manually on FreeBSD.
By default g++ is 4.6 there, so they used `CXX=/usr/local/bin/g++48`, but it complains about `/usr/local/lib/gcc46/libstdc++.so.6: version GLIBCXX_3.4.18 required by /usr/local/bin/znc not found`
Workaround for this: `export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib/gcc48` (patchelf might work too)
Alternatively, just use `CXX=clang++` instead.
So, FreeNAS package needs to be fixed to compile ZNC correctly.
<!-- github-comment-id:94393835 -->
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
znc -r
/usr/lib/libstdc++.so.6: version GLIBCXX_3.4.11 required by /usr/local/bin/znc not found
That's what I'm getting. I created a fresh jail on FreeNAS, performed the pkg updates, etc. and followed the instructions on the ZNC wiki to install but receive the above error when I try to do anything involving the znc binary. Any ideas?
Did you build from source or did you use a precompiled package for it? (I.E. how did you install ZNC)
I've tried so much at this point, it's hard to remember. But I believe I
used the pkg install irc/znc.
On Mon, Mar 30, 2015 at 1:20 PM, Thomas Ward notifications@github.com
wrote:
If it's a prepackaged-for-that-OS package, that's not really a ZNC upstream problem - likely indicates packaging problems in that specific distribution's built binaries...
you can work around the issue by setting library paths or patching the executeable
patchelf --set-rpath /usr/local/lib/gcc48 /usr/local/bin/znc
in general it's an issue in the freebsd package not znc
Another user shown similar error; they compiled ZNC manually on FreeBSD.
By default g++ is 4.6 there, so they used
CXX=/usr/local/bin/g++48, but it complains about/usr/local/lib/gcc46/libstdc++.so.6: version GLIBCXX_3.4.18 required by /usr/local/bin/znc not foundWorkaround for this:
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib/gcc48(patchelf might work too)Alternatively, just use
CXX=clang++instead.So, FreeNAS package needs to be fixed to compile ZNC correctly.