On Sat, Apr 26, 2014 at 4:03 PM, HomeLab Info <i...@homelab.it> wrote:
> Hi
> during the installation (fwknop-2.6.1.tar.gz) i have not received any
> error but i found this bug on CentOS 6.5 x86_64
>
> [root@apache02 fwknop-2.6.1]# fwknop -V
> fwknop: error while loading shared libraries: libfko.so.2: cannot open
> shared object file: No such file or directory
>
> [root@apache02 fwknop-2.6.1]# fwknopd -V
> fwknopd: error while loading shared libraries: libfko.so.2: cannot open
> shared object file: No such file or directory
>
> My Workaround:
>
> [root@apache02 root]# cd /usr/lib64
> [root@apache02 lib64]# ln -s /usr/lib/libfko.so libfko.so.2
> [root@apache02 lib64]# ls -la libfko.so.2
> lrwxrwxrwx 1 root root 18 26 apr 21:43 libfko.so.2 -> /usr/lib/libfko.so
>
>
Even though you had mentioned that you're installing with 'make install'
instead of from the RPM, here is how the RPM gets around this problem:
https://github.com/mrash/fwknop/blob/master/fwknop.spec#L5
..and then --libdir is used on the ./configure command line:
https://github.com/mrash/fwknop/blob/master/fwknop.spec#L84
Without using --libdir on the 'configure' command line, a default is used
as follows:
$ ./configure --help |grep libdir
--libdir=DIR object code libraries [EPREFIX/lib]
This would explain what you are seeing. I'm hesitant to try and alter the
'make install' step try to account for /lib64 vs. /lib when the default is
used. Rather, it is probably better to just use the --libdir arg to set
/lib64.
Thanks,
--Mike
> [root@apache02 lib64]# fwknopd -V
> fwknopd server 2.6.1
> [root@apache02 lib64]# fwknop -V
> [*] Creating initial rc file: /root/.fwknoprc.
> fwknop client 2.6.1, FKO protocol version 2.0.1
> [root@apache02 lib64]#
>
>
>
> os: CentOS 6.5 (Final) x86_64
> gcc: gcc-4.4.7-4.el6.x86_64
> kernel: kernel-2.6.32-431.11.2.el6.x86_64
>
>
> Claudio V.
> HomeLab IT Blog
> http://www.homelab.it
>
>
>
> ------------------------------------------------------------------------------
> Start Your Social Network Today - Download eXo Platform
> Build your Enterprise Intranet with eXo Platform Software
> Java Based Open Source Intranet - Social, Extensible, Cloud Ready
> Get Started Now And Turn Your Intranet Into A Collaboration Platform
> http://p.sf.net/sfu/ExoPlatform
> _______________________________________________
> Fwknop-discuss mailing list
> Fwknop-discuss@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/fwknop-discuss
>
--
Michael Rash | Founder
http://www.cipherdyne.org/
Key fingerprint = 53EA 13EA 472E 3771 894F AC69 95D8 5D6B A742 839F
------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos. Get
unparalleled scalability from the best Selenium testing platform available.
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Fwknop-discuss mailing list
Fwknop-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fwknop-discuss