From: "Lirui ZHU" Subject: FYI: Solved a dynamic linking loader issues with iptables,libiptc Date: Wed, 19 Sep 2007 17:51:51 +1000 Message-ID: <000501c7fa91$f09a1460$6500000a@lirui> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: netfilter-devel-bounces@lists.netfilter.org Errors-To: netfilter-devel-bounces@lists.netfilter.org List-Id: netfilter-devel.vger.kernel.org Hi, Jseper: I have a problem which you have solved.=20 Error:Couldn't load target 'standard': = /lib/iptc/iptables/libipt_standard.so:undefined symbol: = register_target.From:I use Java(JNI) to call iptables-standalone.c's = do_command with libiptc.I use following command to compile.gcc -Wall = -Wunused -rdynamic -DIPTABLES_VERSION=3D\"1.3.6\" iptc_MediatorImpl.c -o = libiptc_MediatorImpl.so -shared -I$JAVA_HOME/include = -I$JAVA_HOME/include/linux/usr/lib/iptables.o /usr/lib/libiptc.a = -ldlThanks a lot.lirui