Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Fabrice <fabricedeyber@agilemesh.com>
To: netfilter@vger.kernel.org
Subject: Re: how to install xtables extension to arbitrary path?
Date: Mon, 14 Feb 2011 16:19:21 +0000 (UTC)	[thread overview]
Message-ID: <loom.20110214T171359-758@post.gmane.org> (raw)
In-Reply-To: alpine.LNX.2.01.1102141642040.14613@obet.zrqbmnf.qr

> It won't. It will load then from the prefix. Otherwise, a helluva lot
> Linux distros would have run into the problem already, because they
> use DESTDIR when making their packages.

> 
./configure --host=arm-linux --prefix=/usr
make
make DESTDIR=/home/workdir/filesys

ok here what I get when I install to the NFS:

# iptables -t nat -A POSTROUTING -o ppp0 -j SNAT -s 10.1.1.25
iptables v1.4.10: Couldn't load target 
`SNAT':/home/test/workdir/filesys/libexec/xtable
s/libipt_SNAT.so: cannot open shared object file: No such file or directory

Try `iptables -h' or 'iptables --help' for more information.

It stills tries to load using the absolute path...
I also noticed it did not add /usr to the path either...


  reply	other threads:[~2011-02-14 16:19 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-14 14:25 how to install xtables extension to arbitrary path? Xing Qianqian
2010-10-14 15:40 ` Jan Engelhardt
2011-02-14 14:25 ` Fabrice
2011-02-14 14:43   ` Mr Dash Four
2011-02-14 14:50     ` Jan Engelhardt
2011-02-14 14:55       ` Mr Dash Four
2011-02-14 15:03       ` Fabrice
2011-02-14 15:20         ` Jan Engelhardt
2011-02-14 15:25           ` Fabrice
2011-02-14 15:43             ` Jan Engelhardt
2011-02-14 16:19               ` Fabrice [this message]
2011-02-14 17:43                 ` Fabrice
2011-02-14 22:53                   ` Jan Engelhardt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=loom.20110214T171359-758@post.gmane.org \
    --to=fabricedeyber@agilemesh.com \
    --cc=netfilter@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox