[Oisf-users] Modifying the library path

James Moe jimoe at sohnen-moe.com
Fri May 8 17:09:21 UTC 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 05/07/2015 05:48 PM, robert.jamison at bt.com wrote:
> 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
> 
  This seems the most permanent solution.

> Or increase your unprivileged user's library namespace by: 
> [user at host ~]$ export
> LD_LIBRARY_PATH=/usr/local/lib64:$LD_LIBRARY_PATH"
> 
  I added that to the startup script for suricata as a temporary
workaround.

  My understanding of the linux filesystem was that /usr/* and
/usr/local/* were the default and would appear in the various PATHs by
default. Although that is true for my dev system, it is not for the
main server. The environment variable LD_LIBRARY_PATH is not defined
by default; there must be some other way that the library paths are
defined and searched, and some way to modify them without creating the
LD_LIBRARY_PATH variable.

- -- 
James Moe
moe dot james at sohnen-moe dot com
520.743.3936
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iEYEARECAAYFAlVM7cAACgkQzTcr8Prq0ZPUYwCeIaOyOHt5B5K+RBOuXX2KCD7s
oEUAn0BkCcYEc//bq2BUl84Xt13UMysh
=TK06
-----END PGP SIGNATURE-----



More information about the Oisf-users mailing list