[Oisf-users] Modifying the library path
robert.jamison at bt.com
robert.jamison at bt.com
Fri May 8 00:48:27 UTC 2015
Assuming:
(1) /usr/local/lib64/libhtp-0.5.17.so.1 not /usr/loca/lib64/libhtp-0.5.17.so.1;
(2) running binary as unprivileged user
You can probably just link it to /usr/lib like:
[user at host ~]$ sudo su - root
[root at host ~]# ln -s /usr/local/lib64/libhtp-0.5.17.so.1 /usr/lib/libhtp-0.5.17.so.1
[root at host ~]# ln -s /usr/local/lib64/libhtp-0.5.17.so.1 /usr/lib/libhtp-0.5.17.so
Or increase your unprivileged user's library namespace by:
[user at host ~]$ echo "export LD_LIBRARY_PATH=/usr/local/lib64:$LD_LIBRARY_PATH" >> ~/.bashrc
[user at host ~]$ source ~/.bashrc
Rob
-----Original Message-----
From: oisf-users-bounces at lists.openinfosecfoundation.org [mailto:oisf-users-bounces at lists.openinfosecfoundation.org] On Behalf Of James Moe
Sent: Thursday, May 07, 2015 7:44 PM
To: oisf-users at lists.openinfosecfoundation.org
Subject: [Oisf-users] Modifying the library path
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello,
suricata 2.0.7
linux 3.16.6-2-desktop x86_64
I am building suricata to run on our main server. The build went well enough.
Running, though, does not:
/usr/local/bin/suricata: error while loading shared libraries:
libhtp-0.5.17.so.1: cannot open shared object file: No such file or directory
libhtp is installed in /usr/loca/lib64/. My guess is that the library path needs updating. I have forgotten how to do that.
Would someone be so kind as to show how to update the library path?
- --
James Moe
moe dot james at sohnen-moe dot com
520.743.3936
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iEYEARECAAYFAlVL+KwACgkQzTcr8Prq0ZMcMwCgmgDc7yJGYAfjsZwuMaAmhMwm
YSkAn21gJrSpw4TiCfoHNWzcszfrrVhP
=PGlE
-----END PGP SIGNATURE-----
_______________________________________________
Suricata IDS Users mailing list: oisf-users at openinfosecfoundation.org
Site: http://suricata-ids.org | Support: http://suricata-ids.org/support/
List: https://lists.openinfosecfoundation.org/mailman/listinfo/oisf-users
Suricata User Conference November 4 & 5 in Barcelona: http://oisfevents.net
More information about the Oisf-users
mailing list